'/etc/init.d/net.ath0 start' produces the following output: * Starting ath0 * Running preup function * Configuring wireless network for ath0 * Scanning for access points * Found "skylab" at 00:06:25:FF:7A:F6 (WEP required) * WEP key is not set for "skylab" - not connecting * Couldn't associate with any access points on ath0 * Failed to configure wireless for ath0 My network does not use WEP, I prefer the more secure WPA. It seems that the script is not aware of WPA and stops before bringing the interface up. Note that my net.ath0 is a symbolic link to net.eth0. Reproducible: Always Steps to Reproduce: 1./etc/init.d/net.ath0 start Actual Results: The network does not work, see error message above. Expected Results: The script should not deal with access keys. In my case this is completely handled by the wpa_supplicant package/scripts. I found a workaround commenting out these line in /etc/init.d/net.eth0: for mod in ${MODULES[@]}; do if [[ $( type -t ${mod}_pre_start ) == function ]]; then ${mod}_pre_start ${IFACE} || return 1 fi done But this is dissatisfactory of course.
As far as I know UberLord's scripts in baselayout do not support WPA yet so you'll have to wait and use WEP for now or use wpa_supplicant on your own for now.
Sure, I use wpa_supplicant. But since 'emerge -uD world' pulled baselayout 1.11.4 in, the net.ath0 start script fails.
*** Bug 69438 has been marked as a duplicate of this bug. ***
*** Bug 69484 has been marked as a duplicate of this bug. ***
Just as a purely design decision, I'm not sure why an init script is handling the management of wireless connections. This seems rather silly, since over the last 6 months, a trend has started to not do that due to projects like: - wpa_supplicant - NetworkManager - netapplet The network init script should simply bring the device to an "up" state,
Just as a purely design decision, I'm not sure why an init script is handling the management of wireless connections. This seems rather silly, since over the last 6 months, a trend has started to not do that due to projects like: - wpa_supplicant - NetworkManager - netapplet The network init script should simply bring the device to an "up" state, à la "ifconfig ethX up". Some wireless drivers cannot scan if the device is not up. Wireless/wired connections should be handled by another program in userspace, unless an explicit config is provided. Besides that, when I use my laptop, I rarely end up in the same access point I started on. It doesn't make sense to have to restart the init script whenever I see a new base station.
This should be fixed in baselayout-1.11.5 You can put the following into /etc/conf.d/net to disable wireless configuration module=( "!wireless" ) Not all wireless cards can work with wpa_supplicant or xsupplicant, so need to provide something.
baselayout-1.11.5 and module=( "!wireless" ) works for me. Well done and thanks a lot!
The correct (plural) syntax is: modules=( "!wireless" ) Took me ten minutes to figure that one out! :)
Sorry, yes should be modules=