Date: Sat, 13 Oct 2001 12:45:07 +0200 From: "H. Eckert" <ripley@nostromo.in-berlin.de> To: freebsd-isdn@freebsd.org Cc: Steve Coles <scoles@tripos.com> Subject: Re: Configuring isdnd, isppp/isp0 and "surftime" Message-ID: <20011013124507.A80441@server.nostromo.in-berlin.de> In-Reply-To: <159e01c152fc$2cadabe0$9e9814ac@tripos.com>; from scoles@tripos.com on Fri, Oct 12, 2001 at 09:59:13AM %2B0100 References: <159e01c152fc$2cadabe0$9e9814ac@tripos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011013124507.A80441>