On Sunday 04 Apr 2004 5:02 am, robin wrote:
> > On Saturday 03 April 2004 13:28, Keith Powell wrote:
> > I have been looking to see if it is possible to get KPPP to
> > automatically disconnect a dial-up Internet connection after a
> > certain amount of time (say, 3 minutes) of inactivity. Having
> > searched all through the various Internet configuration files, I
> > can't find a way of doing it. Disconnection appears to only to be
> > able to be done manually.
> >
> I think the app you're all looking for is wvdial. You can set it to log
> you in automatically (even with ISPs that use terminal-based
> authentication), reconnect automatically, disconnect if idle for a
> specified period of time and a whole load of other stuff. It's not on
> the 10.0 CDs, but is on the mirrors. Just download it and edit
> /etc/wvdial.conf to your needs. No GUI required.
>
> The only glitch is that it normally only runs as root. There are three
> ways round this (other than doing "su" of course):
>
> 1. Make it suid (never tried this);
> 2. Change permissions of wvdial, wvdial.conf and /dev/modem (or
> whichever device your system works);
> 3. Have it started automatically on boot (this used to work fine on 9.2,
> but is rather flaky on 10.0 - sometimes it works, mostly it doesn't).
>
> Obviously you don't want to try option 3 if you're on a pay-per-minute
> connection! It's probably not advisable for situations where security is
> a major issue, such as a server, but then how many people run servers
> via a modem?
>
> Sir Robin

Thanks for your help, Robin.

I have installed wvdial, and it's working as I want. At the moment, it is only 
usable when running it as root, but I will experiment with permissions to 
make it run as a user (me!). It isn't on my Download Edition CDs (I've found 
before that there are some packages missing from them, which should be on 
them), So I had to get it from the Internet.

There has been another suggestion of adding an idle time in /etc/ppp/options. 
That works as well, so I now have the choice.

Cheers

Keith


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to