[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Non-interactive modem hangup



On Sat, 7 Jun 1997 branden@apocalypse.sequitur.org wrote:

> Does anyone know a simple command or tool to hang up the modem? Just
> hang it up, not stay connected to the tty and await more commands.
> 
> What I'm after is something simple I can put into a script for sudo
> to kill the ppp daemon and also hang up the line, freeing /dev/ttyS1
> immediately (rather than waiting for the ISP to idle out the line and
> hang up on me).

It might or might not suit you, but the _diald_ package is EXCELLENT!  It
automatically monitors the network traffic, and when it will log out
automagically for you when you are done, say, surfing the web.  :)  You
can also force it to stay up or block connection by using the _dctrl_
utility (which runs under X).  You can also write some small scripts to
send signals to _diald_, accomplishing the same things.  :)  When you tell
diald to go down, it will hang up for you.  :)  I *love* it!  :)

Anthony

-- 
Anthony Fok Tung-Ling            foka@gpu.srv.ualberta.ca
Civil Engineering                http://www.ualberta.ca/~foka/
University of Alberta, Canada    Keep smiling!  *^_^*


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: