From owner-freebsd-isdn Mon Feb 15 05:41:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05084 for freebsd-isdn-outgoing; Mon, 15 Feb 1999 05:41:17 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from hcsext.hcs.de (hcsext.hcs.de [194.123.40.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA05074 for ; Mon, 15 Feb 1999 05:41:12 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (2278 bytes) by hcsext.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 15 Feb 1999 14:40:57 +0100 (CET) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m10COGf-0000CQC; Mon, 15 Feb 99 14:40 MET Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: -current, dial-on-demand, hang up the phone? In-Reply-To: from "Kai.Grossjohann@CS.Uni-Dortmund.DE" at "Feb 15, 99 01:40:21 pm" To: Kai.Grossjohann@CS.Uni-Dortmund.DE Date: Mon, 15 Feb 1999 14:40:56 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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