Summary: | sys-apps/baselayout-1.12.13 doesn't start wpa_supplicant | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Herrmann <matthias.mh.herrmann> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED OBSOLETE | ||
Severity: | major | CC: | esigra, jeremy.william.murphy, openhs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthias Herrmann
2010-09-05 12:50:37 UTC
/etc/conf.d/net: modules=( "ifconfig" "dhcpcd" ) modules_wlan0=("wpa_supplicant") wpa_supplicant_wlan0="-Dwext" config_eth0=("172.22.5.100/16") routes_eth0=( "default via 172.22.0.1" ) dns_servers_eth0="172.22.0.1 194.25.2.129 194.25.2.130 194.25.2.131 94.25.2.132 194.25.2.133 194.25.2.134" config_wlan0=("dhcp") fallback_wlan0=("dhcp") /etc/wpa_supplicant/wpa_supplicant.conf is not needed here because when I ran it manually it successfully connects to AP.. When you need more information please ask. Thx in advance Exactly same behaviour here. Workaround: baselayout's wpa_supplicant module needs CONFIG_WIRELESS_EXT_SYSFS kernel option to be turned on otherwise function wpa_supplicant_exists() does no pass and wpa_supplicant is not started. As wpa_supplicant itself works fine even without mentioned kernel option it should be fixed (or at least documented). /lib/rcscripts/net/wpa_supplicant.sh should check for phy80211 instead of, or in addition to, wiphy (line 50) Apparently this will not be fixed in baselayout: See bug #307191 If you want wireless to work while your kernel recompiles with the DEPRECATED option CONFIG_WIRELESS_EXT_SYSFS, just patch /lib/rcscripts/net/wpa_supplicant.sh line 50 to say: [[ -L /sys/class/net/$1/phy80211 || -d /sys/class/net/$1/wireless ]] (phy80211 instead of wiphy) Matthias, could you please test the solutions suggested in comments #2-4 and if they work, close this bug as a duplicate of #307191. Thanks. I can confirm that the fix detailed in #4 works. openrc is stable now |