From owner-freebsd-isdn Fri May 7 20: 3:30 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from foobar.franken.de (foobar.franken.de [194.94.249.81]) by hub.freebsd.org (Postfix) with ESMTP id 77FA4153C0 for ; Fri, 7 May 1999 20:03:25 -0700 (PDT) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id FAA02526; Sat, 8 May 1999 05:02:42 +0200 (CEST) Message-ID: <19990508050241.A2520@foobar.franken.de> Date: Sat, 8 May 1999 05:02:41 +0200 From: Harold Gutch To: Wilko Bulte Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: I want isp0 *down* after a reboot.. References: <19990507013659.A26066@foobar.franken.de> <199905071916.VAA90366@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199905071916.VAA90366@yedi.iaf.nl>; from Wilko Bulte on Fri, May 07, 1999 at 09:16:34PM +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 07, 1999 at 09:16:34PM +0200, Wilko Bulte wrote: > As Harold Gutch wrote ... > > On Fri, May 07, 1999 at 12:11:13AM +0200, Wilko Bulte wrote: > > > Hi there, > > > > > > I must be too dim for this. What I want (on 3.1-stable) is that after > > > a reboot everything (spppcontrol, ifconfig of isp0) is setup ready to go, > > > but leaving isp0 DOWN until I explicitely UP it. > > > > > > I've instrumented /etc/rc.network a bit and I get: > > > > > > + eval ifconfig_args=$ifconfig_isp0 > > > + ifconfig_args=inet 0.0.0.0 0.0.0.1 link1 down > > > + [ -n inet 0.0.0.0 0.0.0.1 link1 down ] > > > + ifconfig isp0 inet 0.0.0.0 0.0.0.1 link1 down > > > ifconfig: ioctl (SIOCAIFADDR): File exists > > > + alias=0 > > > + : > > > + eval ifconfig_args=$ifconfig_isp0_alias0 > > > + ifconfig_args= > > > + [ -n ] > > > + break > > > + eval ifconfig_args=$ifconfig_isp0_ipx > > > + ifconfig_args= > > > + [ -n ] > > > + ifconfig isp0 > > > isp0: flags=a011 mtu 1500 > > > inet 0.0.0.0 --> 0.0.0.1 netmask 0xff000000 > > > > > From my /etc/start_if.isp0: > > > > ifconfig isp0 0.0.0.0 0.0.0.1 link1 up > > ifconfig isp0 down > > Which still gives the system enough time to initiate a dialout (and costs > me this &^%& fl 0.10 ;-). > Which it does not under FreeBSD. > I still don't understand why ifconfig isp0 down does not result > in a DOWNed interface. > > A response from a NetBSD user indicated it works for him as expected. > So does my FreeBSD log. bye, Harold -- Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message