On Fri, 2006-09-01 at 21:14 +0100, Philip Creevy wrote:
> On Fri, 2006-09-01 at 19:35 +0100, Philip Creevy wrote:
> > Hi
> > I have a modem on FC5 to connect to the internet
> > but I want it to hangup after a period of not
> > been used. The standard setting for time out
> > does not appear to work, as if
> > there is still sum activity in the background.
> > So I was thinking of putting a 'at' command
> > in the connect script but am not sure which one
> > it is. The commands ifup and ifdown seen to be
> > used.
> > Any ideas welcome.
> > Philip
> >
> >
> Having read the man on pppd the option I need is
> maxconnect n,
> so I modified the file Eircom in the /etc/ppp/peers/
> directory to read thus,
>> connect "/usr/bin/wvdial --remotename Eircom --chat 'Eircom'"
> maxconnect 60
>> Does this look correct.
> I only used 60 seconds to test but can't do so
> at this time.
> Philip
>I had a route around in the front end for network
settings and found a place to add pppd options
I put in maxconnect 60 and this seems to work,
I will try a longer time and see how it goes.
I could not find what file this option has been
added to.
Philip
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!