From owner-freebsd-isdn Sat Oct 13 9:24:14 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gnu.in-berlin.de (gnu.in-berlin.de [192.109.42.4]) by hub.freebsd.org (Postfix) with ESMTP id 8CAA837B417 for ; Sat, 13 Oct 2001 09:20:08 -0700 (PDT) Received: from hirsch.in-berlin.de (root@hirsch.colt.in-berlin.de [213.61.118.6]) by gnu.in-berlin.de (8.10.1/8.10.1) with ESMTP id f9DGK4R29247; Sat, 13 Oct 2001 18:20:04 +0200 (CEST) (envelope-from ripley@server.nostromo.in-berlin.de) Received: (from uucp@localhost) by hirsch.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with UUCP id f9DGK3k03819; Sat, 13 Oct 2001 18:20:03 +0200 X-Envelope-From: ripley@server.nostromo.in-berlin.de X-Envelope-To: scoles@tripos.com Received: (from ripley@localhost) by server.nostromo.in-berlin.de (8.9.3/8.9.3) id MAA80733; Sat, 13 Oct 2001 12:45:07 +0200 (CEST) (envelope-from ripley) Date: Sat, 13 Oct 2001 12:45:07 +0200 From: "H. Eckert" To: freebsd-isdn@freebsd.org Cc: Steve Coles Subject: Re: Configuring isdnd, isppp/isp0 and "surftime" Message-ID: <20011013124507.A80441@server.nostromo.in-berlin.de> References: <159e01c152fc$2cadabe0$9e9814ac@tripos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: <159e01c152fc$2cadabe0$9e9814ac@tripos.com>; from scoles@tripos.com on Fri, Oct 12, 2001 at 09:59:13AM +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Quoting Steve Coles (scoles@tripos.com): > Q. Do I just need to schedule an "ifconfig isp0 down" and "ifconfig > isp0 up" ? That's what I do to allow my server to have a 2 hour window for automatic dialin to fetch mail and news. I have to admit though, that I'm still running 3.5.x an therefore not the most current i4b. For ease of use I wrote some simple scripts to invoke that even take care to use the connection I want to open by checking the default route. So I could have cron entries that reset the default route and don't have to care about that when I run "isdn+" manually to enable the connection. ====8<==== isdn+ #!/bin/sh PATH=/usr/bin:/bin interface=`netstat -rn | grep default| awk '{print $NF;}'` /usr/local/bin/sudo /sbin/ifconfig $interface up ====8<==== > Q. Does isdnd like the isp0 going up and down when it is running ? I have no problem at all with that. Greetings, Ripley -- H. Eckert, 12051 Berlin ISO 8859-1: Ä=Ae, Ö=Oe, Ü=Ue, ä=ae, ö=oe, ü=ue, ß=sz. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message