This defect is present since 6.1 at least. The parameter ONBOOT that can be set in /etc/sysconfig/network-scripts/ifcfg-eth0 is ignored for PCMCIA network cards. This is because the initialisation is done via the /etc/pcmcia/network script which does not differentiate a normal boot (where ONBOOT should be obeyed) from an other event (like card insertion). We use a here a quick hack to make it work, maybe you'll have a better solution... --- /etc/pcmcia/network.old Mon Sep 27 16:13:35 1999 +++ /etc/pcmcia/network Fri Sep 15 11:14:23 2000 @@ -13,7 +13,8 @@ case "${action:?}" in 'start') - /etc/sysconfig/network-scripts/ifup ifcfg-${device} + /sbin/pidof -x /etc/rc.d/rc >/dev/null 2>&1 && extra=boot + /etc/sysconfig/network-scripts/ifup ifcfg-${device} $extra ;; 'stop') /etc/sysconfig/network-scripts/ifdown ifcfg-${device}
I'm glad you submitted that bug. That one REALLY annoys me as I move from dial-up to office frequently and it means that I have to stop eth0 when I boot at home. I had never bothered to track it down though...
Currently you can set 'ONHOTPLUG=no' for pluggable interfaces.