Shouldn't

/sbin/route add default ppp0

do the that?

Or even better. Put the word
defaultroute
into his pppd string.
This will set the default route to that interface regardless of it being
ppp0 ppp1 ..... or whatever.

Regards
Bernhard


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bob Gustafson
Sent: Wednesday, 2 February 2000 17:03
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Help! Cannot still connect to the NET


After you get ppp0 up, try the following router command

    /sbin/route add -net 0.0.0.0 gw x.x.x.x

Where x.x.x.x is the IP addr of the remote end of your ppp link

Check things by checking routes with netstat:

    netstat -rn

If you cannot get to the Net then paste a copy of the results of netstat
-rn and we can probably give you some more suggestions.

Good Luck

BobG

>Hi,
>
>   I am a linux newbie (in my second week). I have linux 5.2 (redhat)
>running.
>I followed the steps given in the Redhat 5.2 site tips on how to connect to
>the
>internet but I can't seem to connect.
>
>Basically, I am using netcfg and have added an interface ppp0 as indicated
>in the tip. I also have the correct DNS IPs in my resolv.conf. Next, to
>test
>the connection I used minicom and it successfully dialed and connected to
>my ISP.
>
>The problem is I cannot acces Net. When I try to ping the DNS, my linux box
>just send packets but never recieves them. It results in packets loss.
>When I try to connect to a site, it tries to resolve the url and take ages
>and then
>fails.
>
>Any help  on this matter will be appreciated. I cannot locate the problem.
>
>thanks,
>mmp.
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to