On Thu, 21 Nov 2002 20:24, John McQuillen wrote:
> On Thu, 2002-11-21 at 17:50, Michael Adams wrote:
> > First off GATEWAYDEV=xxx did not exist. So i removed the line stating
> > GATEWAY=xxx.xxx.xxx.xxx, this made it worse. kppp on-screen log showed as
> > an ATZ once the dialup had completed on the same line as the
> > ATDTOxxxxxxxx. then it cycled and redialed. So i added GATEWAYDEV=ppp0
> > and this took me back to the original problem.
> >
> > Most recent /var/log/syslog entries after above changes are as follows.
> >
> > Nov 21 07:48:42 localhost kernel: CSLIP: code copyright 1989 Regents of
> > the University of California
> > Nov 21 07:48:42 localhost kernel: PPP generic driver version 2.4.2
> > Nov 21 07:48:42 localhost pppd[7776]: pppd 2.4.1 started by gaeil, uid
> > 1001 Nov 21 07:48:42 localhost pppd[7776]: Using interface ppp0
> > Nov 21 07:48:42 localhost pppd[7776]: Connect: ppp0 <--> /dev/ham
> > Nov 21 07:48:43 localhost /etc/hotplug/net.agent: assuming ppp0 is
> > already up Nov 21 07:48:46 localhost kernel: PPP BSD Compression module
> > registered Nov 21 07:48:46 localhost kernel: PPP Deflate Compression
> > module registered Nov 21 07:48:46 localhost pppd[7776]: not replacing
> > existing default route to eth0 [192.168.0.1]
>
> You still have a default route set via eth0, hence the above message.
> /etc/ppp/options has an option 'defaultroute', you appear to have this
> option set, as pppd is attempting to add a default route via ppp0.
>
> So, try this:
>
> remove the GATEWAYDEV line altogether from /etc/sysconfig/network
>
> make sure you don't have a file /etc/default-route (you probably don't)
>
> as root do 'service network restart'
>
> also as root 'route -n' will show you a routing table which should not
> include a line beginning with '0.0.0.0' (default route).
>
> Now when you connect to the Internet, pppd should give you a default
> route via ppp0.
>
> btw, I have GATEWAYDEV=ppp0 in my /etc/sysconfig/network, and it works
> OK. Perhaps you didn't restart the network?
>
> Hope this works for you.
>
> Regards,
>
> John...

I hadn't restarted the network. Egg on face.

When i got the computer back with the floppy replaced it worked fine as the 
network was restarted by the fresh boot. Thanks for your help John.

To recap for those following this thread...
The computer on 56k MoDem connected ok to the net but web pages were not 
fetching. I guess this was because the IP request was not sending the correct 
IP address for my computer but was sending a default address (0.0.0.0). 
(Correct me if this is wrong John).

Konq hummed for a minute then reported "unknown host www.xxx.com" 
(irrespective of which site i was attemping to fetch from).
The error in /var/log/syslog read
"Nov 21 07:48:46 localhost pppd[7776]: not replacing existing default
        route to eth0 [192.168.0.1]"

The fix was to add the line 
        GATEWAYDEV=ppp0
remove the line
        GATEWAY=xxx.xxx.xxx.xxx
both in "/etc/sysconfig/network".
Then to do a "service network restart" as root.

-- 
Michael

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to