Date: Fri, 7 May 1999 21:16:34 +0200 (CEST) From: Wilko Bulte <wilko@yedi.iaf.nl> To: logix@foobar.franken.de (Harold Gutch) Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: I want isp0 *down* after a reboot.. <sigh> Message-ID: <199905071916.VAA90366@yedi.iaf.nl> In-Reply-To: <19990507013659.A26066@foobar.franken.de> from Harold Gutch at "May 7, 1999 1:36:59 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,LINK1,MULTICAST> 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 ;-). I still don't understand why ifconfig isp0 <bla> down does not result in a DOWNed interface. A response from a NetBSD user indicated it works for him as expected. Groeten / Cheers, | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org 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?199905071916.VAA90366>