You are not logged in.
The connection works, but I since the latest update from this morning I get the following message when connecting to the wireless
network:
nl80211: 'nl80211' generic netlink not found
This is my connection profile:
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='Orac'
KEY='xxxxxxxxxx'
IP='static' # Any other CONNECTION='ethernet' options may be used.
ADDR='192.168.1.3'
GATEWAY='192.168.1.1'
DNS=('192.168.1.1')
What is nl80211 and what would I need it for ?
Offline
I don't have an answer, but I'm starting to see the same thing after updating yesterday. My wireless works (using ndiswrapper) but it throws up that error message every time i start the net-profiles daemon.
Offline
I'm getting this error, also. I'm using this driver, and my wireless card is this:
$ lspci -vnn | grep 14e4
08:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
Last edited by Austin25 (2011-06-04 16:43:57)
Huh, that actually worked. Neat-o.
Offline
I too am getting this error. I'm also using the broadcom-wl driver from AUR.
I get this in every wireless network profile I have, WEP and WPA.
Wireless card:
$ lspci -vnn |grep Network
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Offline
Not sure if this fits, but after the last update....
I had to unblacklist ath5k and ath9k for my wireless device to work, even though prior, these
were blacklisted in modprobe.conf -- my device is using ath5k now, instead of the USE-TO
ath_pci
Offline
Netlink is the new (it's actually not really new, it's been around for a long time) way to configure all things wireless. Netcfg has been changed to use it by default, and fall back to wireless extensions if netlink doesn't work. That's why you're getting the message and why things work anyway - you're using drivers which don't support netlink, so setting that up fails, but then setting things up with wireless extensions succeeds. If it really bothers you, there's a line somewhere in the netcfg scripts which contains "-Dnl80211,wext'. Remove the nl80211 part, so you just have "-Dwext"
Offline
Hi everybody,
Well I had the same problem today, just after update my system, like vladthedog said. After some test and reboots to my system, I solved the problem downgrading the kernel from the 'kernel26-2.6.38.8-1' to 'kernel26-2.6.38.7-1'.
You have to be careful with the upgrading of udev, because after the update of that package we have to change the 'rc.conf' for the new 'rc.conf.pacnew'
I don't know if this is helpful for you guys, but that was my experience!
Take care!
Offline
To avoid this error open /usr/lib/network/8021x and replace this line in wpa_start() funciton
wpa_supplicant -B -P "/var/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE" -D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS
with this one
wpa_supplicant -B -P "/var/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE" -D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS 2> /dev/null
Offline
To avoid this error open /usr/lib/network/8021x and replace this line in wpa_start() funciton
wpa_supplicant -B -P "/var/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE" -D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS
with this one
wpa_supplicant -B -P "/var/run/wpa_supplicant_${INTERFACE}.pid" -i "$INTERFACE" -D "$WPA_DRIVER" -c "$WPA_CONF" $WPA_OPTS 2> /dev/null
That's not a good solution. Because, what if there's actual errors? Your method will hide them, leaving you in the dark.
Offline
Gusar's answer is correct, you can remove this error (temporary solution) and marginally speed up connecting to wireless by running this patch:
Copy text to file /usr/lib/network/disable_netlink.patch
diff -aur network.old/connections/wireless network.new/connections/wireless
--- network.old/connections/wireless 2011-05-22 21:07:29.000000000 +0100
+++ network.new/connections/wireless 2011-06-24 21:56:29.501668832 +0100
@@ -109,7 +109,7 @@
if [[ ${SECURITY:(-4)} != "-old" ]]; then
report_debug wireless_up "Configuration generated at $WPA_CONF"
- [[ -z "$WPA_DRIVER" ]] && WPA_DRIVER="nl80211,wext"
+ [[ -z "$WPA_DRIVER" ]] && WPA_DRIVER="wext"
report_debug wireless_up start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_DRIVER" "$WPA_OPTS"
if ! start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_DRIVER" "$WPA_OPTS"; then
report_fail "wpa_supplicant did not start, possible configuration error"
diff -aur network.old/wireless network.new/wireless
--- network.old/wireless 2011-06-24 21:47:19.902060061 +0100
+++ network.new/wireless 2011-06-24 21:56:01.534349979 +0100
@@ -86,7 +86,7 @@
[[ -z "$INTERFACE" ]] && return 1
essids=$(mktemp --tmpdir essid.XXXXXXXX)
- wpa_supplicant -B -i"$INTERFACE" -Dnl80211,wext -C/var/run/wpa_supplicant -P/var/run/wpa_supplicant.pid || return 1
+ wpa_supplicant -B -i"$INTERFACE" -Dwext -C/var/run/wpa_supplicant -P/var/run/wpa_supplicant.pid || return 1
wpa_cli -i "$INTERFACE" scan &> /dev/null
sleep 2.5
wpa_cli -i "$INTERFACE" scan_results |
Run as root in /usr/lib/network:
patch -p1 < disable_netlink.patch
Last edited by meganox (2011-06-24 21:28:27)
Offline
Gusar's answer is correct, you can remove this error (temporary solution) and marginally speed up connecting to wireless by running this patch:
Copy text to file /usr/lib/network/disable_netlink.patch
diff -aur network.old/connections/wireless network.new/connections/wireless --- network.old/connections/wireless 2011-05-22 21:07:29.000000000 +0100 +++ network.new/connections/wireless 2011-06-24 21:56:29.501668832 +0100 @@ -109,7 +109,7 @@ if [[ ${SECURITY:(-4)} != "-old" ]]; then report_debug wireless_up "Configuration generated at $WPA_CONF" - [[ -z "$WPA_DRIVER" ]] && WPA_DRIVER="nl80211,wext" + [[ -z "$WPA_DRIVER" ]] && WPA_DRIVER="wext" report_debug wireless_up start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_DRIVER" "$WPA_OPTS" if ! start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_DRIVER" "$WPA_OPTS"; then report_fail "wpa_supplicant did not start, possible configuration error" diff -aur network.old/wireless network.new/wireless --- network.old/wireless 2011-06-24 21:47:19.902060061 +0100 +++ network.new/wireless 2011-06-24 21:56:01.534349979 +0100 @@ -86,7 +86,7 @@ [[ -z "$INTERFACE" ]] && return 1 essids=$(mktemp --tmpdir essid.XXXXXXXX) - wpa_supplicant -B -i"$INTERFACE" -Dnl80211,wext -C/var/run/wpa_supplicant -P/var/run/wpa_supplicant.pid || return 1 + wpa_supplicant -B -i"$INTERFACE" -Dwext -C/var/run/wpa_supplicant -P/var/run/wpa_supplicant.pid || return 1 wpa_cli -i "$INTERFACE" scan &> /dev/null sleep 2.5 wpa_cli -i "$INTERFACE" scan_results |
Run as root in /usr/lib/network:
patch -p1 < disable_netlink.patch
This worked for me. Thanks!
Offline
Hey Guys,
today I've had my first contact to Arch with the same problem and this post brought me to success ;-) I've a hint for all of you using the patch 2 posts above me. Just set WPA_DRIVER='wext' in the network configuration script (the one under /etd/network.d/) and it will work, too, but you don't need to "hack" the code ;-)
Best regards,
Sebastian
Offline
Hey Guys,
today I've had my first contact to Arch with the same problem and this post brought me to success ;-) I've a hint for all of you using the patch 2 posts above me. Just set WPA_DRIVER='wext' in the network configuration script (the one under /etd/network.d/) and it will work, too, but you don't need to "hack" the code ;-)
Best regards,
Sebastian
I was having the same issue with the rt2860sta module, and this worked perfect. Thanks!
Offline
Just set WPA_DRIVER='wext' in the network configuration script (the one under /etd/network.d/) and it will work, too, but you don't need to "hack" the code ;-)
It's better to put it under /etc/network.d/interfaces/<INTERFACE> (e.g. /etc/network.d/interfaces/wlan0) as it will then take effect for all wireless profiles that use that interface, instead of having to add it to every profile.
Last edited by Xyem (2011-07-28 08:36:18)
Offline
Hey Guys,
today I've had my first contact to Arch with the same problem and this post brought me to success ;-) I've a hint for all of you using the patch 2 posts above me. Just set WPA_DRIVER='wext' in the network configuration script (the one under /etd/network.d/) and it will work, too, but you don't need to "hack" the code ;-)
Best regards,
Sebastian
I would like to ask where can I found this network configuration script (the one under /etc/network.d/) as there's no files except my wireless-wep file that I just created.
I you meant the file that I created, I added the line WPA_DRIVER='wext' in it and executed:
[ehab@myhost ~]$ sudo netcfg 17
:: 17 up [BUSY]
> WPA Authentication/Association Failed
without that line:
[ehab@myhost ~]$ sudo netcfg 17
:: 17 up [BUSY]
nl80211: 'nl80211' generic netlink not found
nl80211: 'nl80211' generic netlink not found
Offline
The "netlink not found" message is not an error. If you get a connection, everything is fine. If you can't get a connection, the problem is somewhere else and this message is irrelevant to it.
Try as root (not with sudo):
NETCFG_DEBUG=yes netcfg 17
If that won't show anything useful, check what dmesg has to say.
Offline