View Full Version : Best way to hang up remotely?
Joe Bramblett, KD5NRH
07-25-2004, 01:37 AM
OK, it's almost 4:30 AM, and I'm probably just not awake enough to spot the
obvious answer: (or maybe it's something about spending 3yrs not seriously
using linux...it keeps changing, and it seems that the only things I can
remember are the ones that don't work the same anymore)
Debian box has the good modem, and my XP box pretty much always has
Cygwin/X going and logged into it, so I don't have any problems getting
on/off the internet at will. Soon, however, I'll be adding my girlfirend's
98 box to the network here, and I'm sure she'll want something a little
easier to use for hanging up when she's done using the net. (idle timeout
is set, but of course, sometimes you want the phone now, not after the
timeout) I guess what I'm looking for is the easiest way to set her up
with something that will call poff -a without her having to do more than
double-click.
On Fri, 02 Jul 2004 09:34:02 +0000, Joe Bramblett, KD5NRH wrote:
> OK, it's almost 4:30 AM, and I'm probably just not awake enough to spot the
> obvious answer: (or maybe it's something about spending 3yrs not seriously
> using linux...it keeps changing, and it seems that the only things I can
> remember are the ones that don't work the same anymore)
>
> Debian box has the good modem, and my XP box pretty much always has
> Cygwin/X going and logged into it, so I don't have any problems getting
> on/off the internet at will. Soon, however, I'll be adding my girlfirend's
> 98 box to the network here, and I'm sure she'll want something a little
> easier to use for hanging up when she's done using the net. (idle timeout
> is set, but of course, sometimes you want the phone now, not after the
> timeout) I guess what I'm looking for is the easiest way to set her up
> with something that will call poff -a without her having to do more than
> double-click.
Maybe putty can send a command via ssh to the box to hang up. Or you
could probably pull the cable out of the wall for a sec and cut the line ;)
Ed.
Michael C.
07-25-2004, 01:37 AM
On 02 Jul 2004 09:34:02 GMT,
Joe Bramblett, KD5NRH <kd5nrh@yahoo.spam.com> wrote:
> OK, it's almost 4:30 AM, and I'm probably just not awake enough to spot the
> obvious answer: (or maybe it's something about spending 3yrs not seriously
> using linux...it keeps changing, and it seems that the only things I can
> remember are the ones that don't work the same anymore)
>
> Debian box has the good modem, and my XP box pretty much always has
> Cygwin/X going and logged into it, so I don't have any problems getting
> on/off the internet at will. Soon, however, I'll be adding my girlfirend's
> 98 box to the network here, and I'm sure she'll want something a little
> easier to use for hanging up when she's done using the net. (idle timeout
> is set, but of course, sometimes you want the phone now, not after the
> timeout) I guess what I'm looking for is the easiest way to set her up
> with something that will call poff -a without her having to do more than
> double-click.
I ran kppp on a vncserver, I'm any of the other dialers would work. I
think the Gnome Dialer allows you to set a command, or possibly Modem
Lights.
You could also create a user who has a log in shell that is a script
allowing the user to hang up and/or dial out if demand dialing doesn't
work for you. I'd think Win98 can handle a DOS box with telnet running
in the background, it won't get much traffic. (I'm guessing there
shouldn't be any security problems with using telnet on a LAN with a
script that will log you out if it crashes, any comments?) Of course if
she acually logs into the Linux box and uses it, you'd have a ssh client
on the windows machine anyway.
HTH,
Michael C.
--
mcsuper5@usol.com http://mcsuper5.freeshell.org/
Windows95 (noun): 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company, that can't stand 1 bit of
competition.
Raqueeb Hassan
07-25-2004, 01:37 AM
What if you setup demand dialing for that. I think pppd can deal with
this idle time-out feature. Please check with your
/etc/ppp/option.server file.
or else you might try this fine article here at
http://ca.geocities.com/mydumbsite/coyote/index.html
hth
raqueeb hassan
Doug McKinnon
07-25-2004, 01:37 AM
If it's external, just turn it off with the power button. Yes, it's not
elegant, but....
"Joe Bramblett, KD5NRH" <kd5nrh@yahoo.spam.com> wrote in message
news:Xns951A2E7716F9Akd5nrhyahoocom@38.144.126.105...
> OK, it's almost 4:30 AM, and I'm probably just not awake enough to spot
the
> obvious answer: (or maybe it's something about spending 3yrs not seriously
> using linux...it keeps changing, and it seems that the only things I can
> remember are the ones that don't work the same anymore)
>
> Debian box has the good modem, and my XP box pretty much always has
> Cygwin/X going and logged into it, so I don't have any problems getting
> on/off the internet at will. Soon, however, I'll be adding my
girlfirend's
> 98 box to the network here, and I'm sure she'll want something a little
> easier to use for hanging up when she's done using the net. (idle timeout
> is set, but of course, sometimes you want the phone now, not after the
> timeout) I guess what I'm looking for is the easiest way to set her up
> with something that will call poff -a without her having to do more than
> double-click.
>
Robert E A Harvey
07-25-2004, 01:37 AM
"Joe Bramblett, KD5NRH" <kd5nrh@yahoo.spam.com> wrote
> I guess what I'm looking for is the easiest way to set her up
> with something that will call poff -a without her having to do more than
> double-click.
hmm.
how about running rsh linux_box -l fred poff -a ?
you could put it under a desktop icon.
vBulletin v3.0.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.