PCMCIA network interfaces are not shutdown correctly. This is particularly true in the case of dhcp controlled interfaces. See bug #1318 for problems with dhcp. I have fixes that I will attach shortly
Created attachment 435 [details] /etc/pcmcia/network This version /etc/pcmcia/network, combined with the net.eth0 attached to bug #1318 fixes the dhcp release problem as well as properly shutting down pcmcia interfaces.
The possible fix for bug 1318 is included in baselayout-1.7.5, fyi.
Yeah. This was my bug in the init script. Just a brain-fart. I think I have already corrected it and committed to CVS.
There is still a problem with PCMCIA, at least, 3.1.33. The network script does not call net.eth0 stop, it just does an ifconfig eth0 down. This means that if you try to use pcmcia to start the network interface again, you get an 'net.eth0 is already started' error, and it wont start it. Theres no reason to just ifconfig eth0 down instead of net.eth0 stop, so, we should probably change the behavior of what happens when /etc/pcmcia/network stop eth0 is recieved to be properly reciprocal with /etc/pcmcia/network start eth0.
I will assume that Preston's comments are based on the broken /etc/pcmcia/network script, which has been fixed. Closing