Hello-
Is this the command that i need to get access the network:
route add default gw <gateway ip of isp>

These are the results of ifconfig and route commands after being dialing up
to my isp:

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
<ip address 1>  *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth1

ppp0      Link encap:Point-to-Point Protocol
          inet addr:<ip given from isp at work>  P-t-P:<ip address 1>
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0

thanks,

brian

p.s. thanks for the help so far Tony


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17-May-2002/09:05 -0500, "Henning, Brian" <[EMAIL PROTECTED]>
wrote:
>hello-
>I have a cable connection at home so i am using eth0 to connect to the
>internet. I have the gateway, dns, etc configured properly for that
>and i am able to connect to the internet just fine. I want to dial into
work
>because that is the only way I can access my work files from home.
>I am using wvdial to do that. I setup my /etc/wvdial.conf file and it dials
>in my work isp just fine. The problem is I can't ping any machines
>(using the ip addess of those machines) and i can't access any of the
>machines (can't resolve hostname). I am pretty sure i need to add gateway
>and or
>dns info to my ppp0. Can someone give me some advice? Thanks.

Try adding "usepeerdns" to the /etc/ppp/options file. You will also need
to setup a route for this connection. You can either find out the subnet
and add the appropriate route command to /etc/ppp/ip-up.local or add
"defaultroute" option to the ppp options file. 

If you choose the latter, then you will need to reset the default route to
use eth0 after the ppp connection is dropped. One way to do that is to add
a route command to /etc/ppp/ip-down.local.

man pppd
man route

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE85R+/pCpg3WyUI50RAo7YAKDgycmHH6uDbRVbGofTA6MT3HtddACgmf0z
BWJsZUmTJg6djKyXLdlP/n0=
=6CbG
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to