Description of Problem: /etc/hotplug/net.agent defines $ADDRESS as "*,*,*,$HWADDR" before calling /etc/pcmcia/wireless. However, /etc/pcmcia/wireless.opts expects $ADDRESS to be of the form "$SCHEME,$SOCKET,$INSTANCE,$HWADDR", not just "*,*,*,$HWADDR". How Reproducible: 100% Steps to Reproduce: 1. Make a scheme-specific setting in /etc/pcmcia/wireless.opts, such as home,*,*,*) ESSID="HomeNet" # more stuff... ;; *,*,*,00:02:2D:*) ESSID="DefaultNet" # fallback... 2. /sbin/cardctl scheme home 3. Insert wireless card. Results: Get default settings instead of home settings.
Created attachment 20945 [details] Outline for fix
I've applied the fix to hotplug-2001_04_24-2 - reassigning for the rest of it.
Applied the parts to kernel-pcmcia-cs started build to rawhide