Subject: Re: Has anyone attempted to control their PPP connection?
To: Todd Gruhn <tgruhn2@mail.com>
From: =?iso-8859-2?Q?Micha=B3?= Pasternak <michal@pasternak.w.lub.pl>
List: netbsd-help
Date: 07/20/2003 02:13:54
Todd Gruhn [Sun, Jul 20, 2003 at 04:21:18AM +0800]:
> I have often drawn away from my computer for extended
> periods of time, of which I forgot to disconnect my ppp
> connection to the ISP.
> Has anyone had this problem, and have you tried writing
> a daemon (preferably in PERL) which would watch the ppp
> port and disconnect it after activity dropped to, or below
> a certain level for an extended period of time?
> Has anyone had success with this problem?
$ man pppd
[...]
idle n Specifies that pppd should disconnect if the link
is idle for n seconds. The link is idle when no
[...]
--
Micha³ Pasternak :: http://pasternak.w.lub.pl
Linux, SCO, what's the difference?