[plug] Access to the internet problem
Simon Collins
src at iinet.net.au
Sun Jun 3 16:12:12 WST 2001
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
On Saturday 02 June 2001 14:15, Phillip Steege wrote:
> On Saturday 02 June 2001 04:01 pm, Jason Nicholls wrote:
> > G'day Phil,
> >
> > On Sat, Jun 02, 2001 at 03:45:17PM +1000, Phillip Steege wrote:
> > > 0.0.0.0 192.168.1.254 0.0.0.0 UG 40 0
> > > 0 eth0
> >
> > As Christian said, you need to make sure pppd is getting the
> > "defaultroute" option. Also, because you already have a default route
> > (relevant line left above) pppd may be failing.
> >
> >
> > Later,
> >
> > Jason Nicholls
> > --------------------------------------------------------------------
> > Jason Nicholls icq: 11745841 email: <jason at mindsocket.com.au>
> > Proprietor mobile: 0417 410 811
> > Mind Socket [web services] http://www.mindsocket.com.au/
> > --------------------------------------------------------------------
>
> I found a link with sample kppprc files which should help me sort it out.
> http://www.kppp-archive.freeserve.co.uk/kppp.html
>
> I see what you mean about the defaultroute. My eth0 is taking it.
> I am using this on a laptop and I don't have access to a network, so maybe
> I should remove the eth0 device and try setting it up again.
> Thanks for the help.
> Phil
More information about the plug
mailing list