From owner-freebsd-isdn Fri May 7 13:36:10 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id F341B14CB9 for ; Fri, 7 May 1999 13:36:02 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: (from uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id WAA09118; Fri, 7 May 1999 22:18:19 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.6.12) id VAA90366; Fri, 7 May 1999 21:16:34 +0200 (CEST) From: Wilko Bulte Message-Id: <199905071916.VAA90366@yedi.iaf.nl> Subject: Re: I want isp0 *down* after a reboot.. In-Reply-To: <19990507013659.A26066@foobar.franken.de> from Harold Gutch at "May 7, 1999 1:36:59 am" To: logix@foobar.franken.de (Harold Gutch) Date: Fri, 7 May 1999 21:16:34 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (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 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 ;-). 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. 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