You are not logged in.

#1 2011-05-29 08:41:01

Leviathan1
Member
Registered: 2010-11-24
Posts: 19

Error message on wireless connect after latest netcfg update

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

#2 2011-05-29 13:35:26

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: Error message on wireless connect after latest netcfg update

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

#3 2011-06-04 16:41:15

Austin25
Member
Registered: 2011-04-28
Posts: 35

Re: Error message on wireless connect after latest netcfg update

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

#4 2011-06-08 14:56:32

vitoreiji
Member
Registered: 2009-09-04
Posts: 67

Re: Error message on wireless connect after latest netcfg update

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

#5 2011-06-08 23:08:46

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: Error message on wireless connect after latest netcfg update

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

#6 2011-06-08 23:28:20

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Error message on wireless connect after latest netcfg update

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

#7 2011-06-09 02:52:34

geonunez
Member
From: Caracas, Venezuela
Registered: 2010-05-20
Posts: 8

Re: Error message on wireless connect after latest netcfg update

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

#8 2011-06-11 09:43:12

furibondox
Member
Registered: 2011-06-11
Posts: 1

Re: Error message on wireless connect after latest netcfg update

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

#9 2011-06-11 10:02:18

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Error message on wireless connect after latest netcfg update

furibondox wrote:

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

#10 2011-06-24 21:26:12

meganox
Member
Registered: 2009-12-04
Posts: 4

Re: Error message on wireless connect after latest netcfg update

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

#11 2011-06-25 12:42:53

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: Error message on wireless connect after latest netcfg update

meganox wrote:

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

#12 2011-07-04 14:30:31

sbechtel
Member
Registered: 2011-07-04
Posts: 1

Re: Error message on wireless connect after latest netcfg update

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

#13 2011-07-12 11:46:41

mrstegeman
Member
Registered: 2011-05-09
Posts: 21

Re: Error message on wireless connect after latest netcfg update

sbechtel wrote:

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

#14 2011-07-28 08:35:51

Xyem
Member
Registered: 2010-08-14
Posts: 20

Re: Error message on wireless connect after latest netcfg update

sbechtel wrote:

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

#15 2011-08-20 22:14:34

ehabreda
Member
From: Qatar
Registered: 2011-07-22
Posts: 52
Website

Re: Error message on wireless connect after latest netcfg update

sbechtel wrote:

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

#16 2011-08-20 22:33:50

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Error message on wireless connect after latest netcfg update

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

Board footer

Powered by FluxBB