Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 1999 00:11:13 +0200 (CEST)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        freebsd-isdn@freebsd.org (FreeBSD isdn mailing list)
Subject:   I want isp0 *down* after a reboot.. <sigh>
Message-ID:  <199905062211.AAA00496@yedi.iaf.nl>

next in thread | raw e-mail | index | archive | help
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.

On 2.2.8. I used to do this in /etc/rc.local but I decided that it was time
to put it into the rc.* framework of 3.1-stable. (The 3.1 rc.* is mixed blessing 
in my humble opinion but that aside :/ Gimme SysV style for rc* anytime).

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 

As you can see I try to ifconfig isp0 with DOWN. Which fails. But why?

Every stupid reboot now costs me NLG 0.10 because that is what Dutch PTT
insists I should pay for a call setup. Annoying..

What am I missing here? 

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?199905062211.AAA00496>