[Gllug] networking problem
Mark Preston
mark at markpreston.co.uk
Sun Dec 15 20:40:52 UTC 2002
Hi Bruce,
Re:-
>What does the routing table look like on the 1.1 box? What are the
>options set up for ppp? And which distro is this?
There were no options set for /etc/ppp/options.
I am using Mandrake 9.0
Your pointers have helped me solve the problem Bruce, although like many
things to do with Linux I'm still not quite sure how! Anyway, for those
who might be interested below is a brief outline of what I did. I'm sure
there's room for improvements.
As a result of your enquiries I did the following (logged in as root):-
Output from /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
#cotents of /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=z.l.p
DOMAINNAME=l.p
GATEWAY=192.168.1.1
After changing the cotents of /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=z.l.p
DOMAINNAME=l.p
DEVGATEWAY=ppp0
and using kppp to connect I now get output from /sbin/route -n
once I have connected.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
213.121.147.12 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 213.121.147.12 0.0.0.0 UG 0 0 0 ppp0
I can now happily surf the internet using this connection.
Thanks once again,
Regards,
Mark
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list