[plug] Keep losing my route to ISP

Kai vk6ksj at siwa.com.au
Sat Jun 16 00:02:11 WST 2001


Hi Phil,

So, the machine you're using to dial-up isn't the machine you're using 
as a workstation? why not use this in command line on the server:
/sbin/if-up ppp0 &
to activate your internet connection remotely ? sure it require you su 
to root for 30 seconds to run the command but it also ensures nothing's 
going to accidentally auto dial.

You can also use programs like DialD (howto is here: 
http://www.linux.org.au/LDP/HOWTO/Diald-HOWTO.html) to dial at specific 
times during the day if you have a semi-permanent connection and re-dial 
after ## minutes after being d/c.

This howto: http://www.linux.org.au/LDP/HOWTO/ISP-Hookup-HOWTO.html 
gives an example of how to automated the dialling procedure for Linux.

I hope that's useful for you.
Cheers

/Kai

----- Original Message -----
From: "Phil Steege" <psteege at tpg.com.au>
To: <plug at plug.linux.org.au>
Sent: Friday, June 15, 2001 11:24 PM
Subject: Re: [plug] Keep losing my route to ISP


 > Thanks for all the help from everyone.
 > The problem turned out to be that I had a default route allready set.
 > All I had to do was remove the default route and add a line which said
 > "defaultroute", to my /etc/ppp/options file, and all works fine now.
 >
 > This box is my RH7.1 firewall/gateway, so my next challenge is to get 
"dial
 > on demand" working, so I don't have to go to this box and start kppp 
each
 > time I want web access from another machine on my network.
 >
 > Regards,
 > Phil
 >
 > On Saturday 16 June 2001 12:05 am, Simon Collins wrote:
 > > Phil
 > >
 > > In your ppp script you should have the command:
 > >
 > > defaultroute
 > >
 > > This should then automatically set up ppp0 as the default route for IP
 > > addresses.  You then should not need to add this line.... I think 
that is
 > > right anyway?  I am sure that there is a setting somewhere in kppp 
that you
 > > can change.
 > >
 > >
 > > Simon
 > >
 > > On Friday 15 June 2001 20:43, Phil Steege wrote:
 > > > When I login to the ISP I am still having to manually add the route:
 > > >
 > > > /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 dev ppp0
 > > >
 > > > to get the network to talk to the ISP.
 > > > Where does this route command belong for it to automatically 
establish
 > > > the route each time I connect to my ISP with kppp ?
 > > >
 > > > Phil




More information about the plug mailing list