[plug] Access to the internet problem

Phillip Steege psteege at tpg.com.au
Sun Jun 3 05:33:40 WST 2001


On Sunday 03 June 2001 06:12 pm, Simon Collins wrote:
> The eth0 defaulteroute is probably being set-up in the configuration file
> /etc/rc.d/rc.inet1  (this is on Slackware Linux but it is fairly similar on
> other distributions).  Remove the line
>
> /sbin/route add default gw 192.168.1.254 netmask 0.0.0.0
>
> Or in the case of my Slackware make sure that in /etc/rc.d/rc.inet1 that
>
> GATEWAY=""  (not GATEWAY="192.168.1.254")
>
> When the GATEWAY has the null string value the default gateway is not
> set-up.
>
>
> I am guessing that there is nothing wrong with the ppp set-up.  It is
> trying to set-up a defaultroute but cannot because there is already one in
> place.
>
> I hope this helps.
>
> Simon Collins

Simon

That was it.  I used netcfg to change my default route to 0.0.0.0 on 
/dev/ppp0 and when I logged into the ISP, my new route table now looks like 
this and is working fine.

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
203.12.164.26   0.0.0.0         255.255.255.255 UH       40 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         203.12.164.26   0.0.0.0         UG       40 0          0 ppp0

Thanks to all the Plug members who helped me.
Phil



More information about the plug mailing list