Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 1999 14:40:56 +0100 (MET)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        Kai.Grossjohann@CS.Uni-Dortmund.DE
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: -current, dial-on-demand, hang up the phone?
Message-ID:  <m10COGf-0000CQC@hcswork.hcs.de>
In-Reply-To: <vaf7ltj3kne.fsf@ramses.cs.uni-dortmund.de> from "Kai.Grossjohann@CS.Uni-Dortmund.DE" at "Feb 15, 99 01:40:21 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
>From the keyboard of Kai.Grossjohann@CS.Uni-Dortmund.DE:

> I start Emacs at work and let it (X11) display on my home machine.
> I have a dynamic ip address.  Thus, when the ISDN thingy hangs up on
> me, the Emacs session is disrupted rather rudely.
> 
> Thus, I want the connection to stay open (even if it costs money)
> while I stare at a program started interactively, but I also want the
> ability to hang up the phone when I feel like it.

What you need are two things:

1) a commandline utility, where you can say "hang up the line now"

2) a dial filter, which prevents further dial tries.

Then what you do with it is write two scripts, lets name them "on" and
"off" where on contains something like:

	isdnconnectcontrol hangup
	isdndialfilter -installfilter telnet

to close the connection and prevent further dial retries and where on
contains something like:

	isdndialfilter -deinstallfilter telnet

Neither isdnconnectcontrol nor isdndialfilter are existent, but a similar
effect should be gained by issuing "ifconfig ispX down" and "ifconfig ispX up".

hellmuth
-- 
Hellmuth Michaelis                                    Tel   +49 40 559747-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 559747-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
22457 Hamburg                                         WWW   http://www.hcs.de

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m10COGf-0000CQC>