Re: Non-interactive modem hangup

1997-06-10 Thread Anthony Fok
On Sat, 7 Jun 1997 [EMAIL PROTECTED] 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

Re: Non-interactive modem hangup

1997-06-09 Thread branden
On Sun, 8 Jun 1997, Rick Jones wrote: > On Sun, 8 Jun 1997 [EMAIL PROTECTED] wrote: > > > On 7 Jun 1997, John Goerzen wrote: > > > > > Just killing pppd will do it unless your modem isn't set up properly. > > > > Then my modem isn't set up properly. I got a private email mentioning > > somethi

Re: Non-interactive modem hangup

1997-06-09 Thread Rick Jones
at&c1&d2 fixes these problems which isn't the factory default. The &d2 tells it to hangup, with autoanswer inhibited, when DTR is droped. On Sun, 8 Jun 1997 [EMAIL PROTECTED] wrote: > On 7 Jun 1997, John Goerzen wrote: > > > Just killing pppd will do it unless your modem isn't set up properly.

Re: Non-interactive modem hangup

1997-06-08 Thread John Goerzen
Look for an option something like: * Drop carrier on DTR low * Disconnect on DTR low If I remember correctly, it is an AT&Dx command, but I'm not completely sure. <[EMAIL PROTECTED]> writes: > On 7 Jun 1997, John Goerzen wrote: > > > Just killing pppd will do it unless your modem isn't set up

Re: Non-interactive modem hangup

1997-06-08 Thread branden
On 7 Jun 1997, John Goerzen wrote: > Just killing pppd will do it unless your modem isn't set up properly. Then my modem isn't set up properly. I got a private email mentioning something about how the modem should automatically hangup once DTR is dropped, which happens if "modem" is given as an

Re: Non-interactive modem hangup

1997-06-08 Thread John Goerzen
Just killing pppd will do it unless your modem isn't set up properly. <[EMAIL PROTECTED]> writes: > 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

Re: Non-interactive modem hangup

1997-06-08 Thread Carey Evans
<[EMAIL PROTECTED]> writes: [snip] > 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). > > The first part I've got fi

Re: Non-interactive modem hangup

1997-06-07 Thread gvl
How about a trick I use in M$DOS frequently to test modem response: ECHO ATH0>/dev/modem (or COMx: in DOS) Toss that in right after the pppd kill in your script. On 7 Jun 97, debian-user@lists.debian.org wrote regarding: __ Non-interactive modem hangup __ > Does anyone know a simple command