When running net.wlan0 start, the wireless key never gets set. The problem appears to be in /lib/rcscripts/net.modules.d/iwconfig on line 162. This line is: [[ -z ${key} ]] && eval key=\"\${key_${ESSIDVAR}\}\" Changing the last part to ${ESSID} fixes the problem. I'm unsure if this is the correct fix, but after making only this change net.wlan0 start sets the encryption key to the value specified in /etc/conf.d/wireless Reproducible: Always Steps to Reproduce: 1.Configure a key in /etc/conf.d/wireless 2.Run /etc/init.d/net.wlan0 start Actual Results: WEP is not enabled Expected Results: WEP should be enabled with the key in the config file. The problem appears to be in /lib/rcscripts/net.modules.d/iwconfig on line 162. This line is: [[ -z ${key} ]] && eval key=\"\${key_${ESSIDVAR}\}\" Changing the last part to ${ESSID} fixes the problem. I'm unsure if this is the correct fix, but after making only this change net.wlan0 start sets the encryption key to the value specified in /etc/conf.d/wireless
Created attachment 46264 [details, diff] fixes key for ad-hoc/master modes If you're connecting in ad-hoc or master mode, here is a patch to fix it. Could you test and report back please?
The patch fixes the problem for me
Fixed in CVS - will be in baselayout-1.11.9
Fixed by baselayout-1.11.9