Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 05:02:41 +0200
From:      Harold Gutch <logix@foobar.franken.de>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: I want isp0 *down* after a reboot.. <sigh>
Message-ID:  <19990508050241.A2520@foobar.franken.de>
In-Reply-To: <199905071916.VAA90366@yedi.iaf.nl>; from Wilko Bulte on Fri, May 07, 1999 at 09:16:34PM %2B0200
References:  <19990507013659.A26066@foobar.franken.de> <199905071916.VAA90366@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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<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 ;-).
> 
Which it does not under FreeBSD.

> 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.
> 
So does my FreeBSD log.

bye,
  Harold

-- 
<Shabby> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990508050241.A2520>