Unable to connect to WLAN

Unable to connect to WLAN

Postby TheCandyMan666 » Jun 4th, '11, 20:38

Hi,
just did a fresh clean install for Mageia 1 Final and mostly everything seems to be fine so far.
Still, I am (mostly) unable to connect to my WLAN. After install it told me to install the "iwlwifi-agn-ucode" package, which I did and then I was able to configure my wlan.

My notebook has the "Intel Wireless N-1000" inside. Worked great on Mandriva 2010.2 and earlier, also sometimes worked with mageia, but with extreme slow download speed (currently i don't get it to work at all, and I am unaware of any changes i made).

When I try to connect through mcc network config, syslog is giving me the following:

Code: Select all
Jun  4 20:10:47 localhost draknetcenter[27527]: modified file /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:10:47 localhost draknetcenter[27527]: modified file /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:10:47 localhost draknetcenter[27527]: changed mode of /etc/sysconfig/network-scripts/ifcfg-wlan0 to 700
Jun  4 20:10:47 localhost draknetcenter[27527]: written wlan0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:10:47 localhost draknetcenter[27527]: created file /etc/wpa_supplicant.conf
Jun  4 20:10:47 localhost draknetcenter[27527]: running: /usr/sbin/wpa_cli reconfigure
Jun  4 20:10:47 localhost draknetcenter[27527]: running: /sbin/ifdown wlan0 daemon
Jun  4 20:10:47 localhost ifplugd(wlan0)[27844]: Killing child.
Jun  4 20:10:48 localhost dhclient: No DHCPOFFERS received.
Jun  4 20:10:48 localhost dhclient: Trying recorded lease 192.168.0.100
Jun  4 20:10:48 localhost avahi-daemon[4017]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.100.
Jun  4 20:10:48 localhost avahi-daemon[4017]: New relevant interface wlan0.IPv4 for mDNS.
Jun  4 20:10:48 localhost avahi-daemon[4017]: Registering new address record for 192.168.0.100 on wlan0.IPv4.
Jun  4 20:10:48 localhost kernel: wlan0: deauthenticating from 5c:d9:98:e3:bb:14 by local choice (reason=3)
Jun  4 20:10:48 localhost kernel: wlan0: authenticate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:48 localhost kernel: wlan0: authenticated
Jun  4 20:10:48 localhost kernel: wlan0: associate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:48 localhost kernel: wlan0: RX AssocResp from 5c:d9:98:e3:bb:14 (capab=0xc31 status=0 aid=1)
Jun  4 20:10:48 localhost kernel: wlan0: associated
Jun  4 20:10:51 localhost ifplugd(wlan0)[27844]: client: Determining IP information for wlan0...PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
Jun  4 20:10:51 localhost ifplugd(wlan0)[27844]: client: --- 192.168.0.1 ping statistics ---
Jun  4 20:10:51 localhost ifplugd(wlan0)[27844]: client: 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
Jun  4 20:10:51 localhost avahi-daemon[4017]: Withdrawing address record for 192.168.0.100 on wlan0.
Jun  4 20:10:51 localhost avahi-daemon[4017]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.100.
Jun  4 20:10:51 localhost avahi-daemon[4017]: Interface wlan0.IPv4 no longer relevant for mDNS.
Jun  4 20:10:51 localhost ifplugd(wlan0)[27844]: Program execution failed, return value is 0.


Then it goes into an endless loop broadcsting this:

Code: Select all
Jun  4 20:10:51 localhost kernel: wlan0: deauthenticated from 5c:d9:98:e3:bb:14 (Reason: 2)
Jun  4 20:10:51 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun  4 20:10:51 localhost kernel: cfg80211: World regulatory domain updated:
Jun  4 20:10:51 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:51 localhost kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211: Calling CRDA for country: DE
Jun  4 20:10:51 localhost kernel: cfg80211: Regulatory domain changed to country: DE
Jun  4 20:10:51 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:51 localhost kernel: cfg80211:     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
Jun  4 20:10:51 localhost kernel: wlan0: authenticate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:51 localhost kernel: wlan0: authenticated
Jun  4 20:10:51 localhost kernel: wlan0: associate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:51 localhost kernel: wlan0: RX AssocResp from 5c:d9:98:e3:bb:14 (capab=0xc31 status=0 aid=1)
Jun  4 20:10:51 localhost kernel: wlan0: associated
Jun  4 20:10:51 localhost kernel: cfg80211: Calling CRDA for country: GB
Jun  4 20:10:51 localhost kernel: cfg80211: Regulatory domain changed to country: GB
Jun  4 20:10:51 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:51 localhost kernel: cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:51 localhost kernel: cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jun  4 20:10:53 localhost kernel: wlan0: deauthenticating from 5c:d9:98:e3:bb:14 by local choice (reason=3)
Jun  4 20:10:53 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun  4 20:10:53 localhost kernel: cfg80211: World regulatory domain updated:
Jun  4 20:10:53 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:53 localhost kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211: Calling CRDA for country: DE
Jun  4 20:10:53 localhost kernel: cfg80211: Regulatory domain changed to country: DE
Jun  4 20:10:53 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:53 localhost kernel: cfg80211:     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
Jun  4 20:10:53 localhost vnstatd[2548]: SIGHUP received, flushing data to disk and reloading config.
Jun  4 20:10:53 localhost draknetcenter[27527]: running: /sbin/ifup wlan0 daemon
Jun  4 20:10:53 localhost ifplugd(wlan0)[27844]: Link beat lost.
Jun  4 20:10:53 localhost ifplugd(wlan0)[27844]: SIGUSR1: Daemon suspended (#1)
Jun  4 20:10:53 localhost ifplugd(wlan0)[27844]: SIGUSR2: Daemon resumed (#1)
Jun  4 20:10:53 localhost kernel: wlan0: authenticate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:53 localhost kernel: wlan0: authenticated
Jun  4 20:10:53 localhost kernel: wlan0: associate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:53 localhost kernel: wlan0: RX AssocResp from 5c:d9:98:e3:bb:14 (capab=0xc31 status=0 aid=1)
Jun  4 20:10:53 localhost kernel: wlan0: associated
Jun  4 20:10:53 localhost draknetcenter[27527]: running: /usr/sbin/wpa_cli select_network 0
Jun  4 20:10:53 localhost kernel: cfg80211: Calling CRDA for country: GB
Jun  4 20:10:53 localhost kernel: cfg80211: Regulatory domain changed to country: GB
Jun  4 20:10:53 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:53 localhost kernel: cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:53 localhost kernel: cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jun  4 20:10:54 localhost kernel: wlan0: deauthenticating from 5c:d9:98:e3:bb:14 by local choice (reason=3)
Jun  4 20:10:54 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun  4 20:10:54 localhost kernel: cfg80211: World regulatory domain updated:
Jun  4 20:10:54 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:54 localhost kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211: Calling CRDA for country: DE
Jun  4 20:10:54 localhost kernel: wlan0: authenticate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:54 localhost kernel: cfg80211: Regulatory domain changed to country: DE
Jun  4 20:10:54 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:54 localhost kernel: cfg80211:     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
Jun  4 20:10:54 localhost kernel: wlan0: authenticated
Jun  4 20:10:54 localhost kernel: wlan0: associate with 5c:d9:98:e3:bb:14 (try 1)
Jun  4 20:10:54 localhost kernel: wlan0: RX AssocResp from 5c:d9:98:e3:bb:14 (capab=0xc31 status=0 aid=1)
Jun  4 20:10:54 localhost kernel: wlan0: associated
Jun  4 20:10:54 localhost kernel: cfg80211: Calling CRDA for country: GB
Jun  4 20:10:54 localhost kernel: cfg80211: Regulatory domain changed to country: GB
Jun  4 20:10:54 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:54 localhost kernel: cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:54 localhost kernel: cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jun  4 20:10:54 localhost ifplugd(wlan0)[27844]: Link beat detected.
Jun  4 20:10:57 localhost kernel: wlan0: deauthenticated from 5c:d9:98:e3:bb:14 (Reason: 2)
Jun  4 20:10:57 localhost kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun  4 20:10:57 localhost kernel: cfg80211: World regulatory domain updated:
Jun  4 20:10:57 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:57 localhost kernel: cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211: Calling CRDA for country: DE
Jun  4 20:10:57 localhost kernel: cfg80211: Regulatory domain changed to country: DE
Jun  4 20:10:57 localhost kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun  4 20:10:57 localhost kernel: cfg80211:     (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jun  4 20:10:57 localhost kernel: cfg80211:     (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
Jun  4 20:10:57 localhost ifplugd(wlan0)[27844]: Link beat lost.


I think some other tool may be also writing the config, because sometimes it also seems to ignore some changes or setting back some i did.
E.g. currently it is on WEP, but before I set it to WPA (and it had it also after reloading the config).

This is the syslog when i tried to change to WPA but it got ignored:

Code: Select all
Jun  4 20:29:07 localhost draknetcenter[29685]: running: /bin/rpm -q --qf %{name}#012 dhcp-client
Jun  4 20:29:07 localhost draknetcenter[29685]: modified file /etc/sysconfig/network-scripts/wireless.d/dlink gs
Jun  4 20:29:07 localhost draknetcenter[29685]: modified file /etc/sysconfig/network-scripts/wireless.d/dlink gs
Jun  4 20:29:07 localhost draknetcenter[29685]: changed mode of /etc/sysconfig/network-scripts/wireless.d/dlink gs to 700
Jun  4 20:29:07 localhost draknetcenter[29685]: written  interface configuration in /etc/sysconfig/network-scripts/wireless.d/dlink gs
Jun  4 20:29:07 localhost draknetcenter[29685]: created file /etc/wpa_supplicant.conf
Jun  4 20:29:07 localhost draknetcenter[29685]: running: /usr/sbin/wpa_cli reconfigure
Jun  4 20:29:07 localhost draknetcenter[29685]: modified file /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:29:07 localhost draknetcenter[29685]: modified file /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:29:07 localhost draknetcenter[29685]: changed mode of /etc/sysconfig/network-scripts/ifcfg-wlan0 to 700
Jun  4 20:29:07 localhost draknetcenter[29685]: written wlan0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 20:29:07 localhost draknetcenter[29685]: writing host information to /etc/hosts
Jun  4 20:29:07 localhost draknetcenter[29685]: created file /etc/hosts
Jun  4 20:29:08 localhost draknetcenter[29685]: writing host information to /etc/hosts
Jun  4 20:29:08 localhost draknetcenter[29685]: created file /etc/hosts
Jun  4 20:29:08 localhost draknetcenter[29685]: set sethostname to localhost.localdomain
Jun  4 20:29:08 localhost draknetcenter[29685]: running: /usr/bin/run-parts --arg localhost.localdomain /etc/sysconfig/network-scripts/hostname.d
Jun  4 20:29:08 localhost draknetcenter[29685]: modified file /etc/sysconfig/network
Jun  4 20:29:08 localhost draknetcenter[29685]: modified file /etc/modprobe.conf
Jun  4 20:29:10 localhost draknetcenter[29685]: to put in /etc/modprobe.preload nvram, sdhci_pci, evdev, evdev
Jun  4 20:29:10 localhost draknetcenter[29685]: modified file /etc/modprobe.preload



Thanks in advance.

Enrico
TheCandyMan666
 
Posts: 3
Joined: Apr 1st, '11, 12:42

Re: Unable to connect to WLAN

Postby TheCandyMan666 » Jun 4th, '11, 20:47

Sorry for double post, didn't find an edit button, is there really none or am I just stupid? ^^

Found already a bug report:
https://bugs.mageia.org/show_bug.cgi?id=1015

Still there is nothing mentioned of not being able to connect.
TheCandyMan666
 
Posts: 3
Joined: Apr 1st, '11, 12:42

Re: Unable to connect to WLAN

Postby apkerr » Jun 13th, '11, 22:27

I'm having a similar issue. It seems to be related to WPA/WPA2, at least in my case. I can connect to my neighbour's unsecured AP with no difficulties, but my parent's AP uses WPA2 and it doesn't consistently connect. I was noticing this issue with Ubuntu before as well. My Linksys AP in my apartment works fine but the one at my parent's house won't connect, the neighbour's Linksys works as well. Could it be an issue with the AP itself. Granted, this is a statistically small sample but both AP's I can connect to are Linksys (one with WPA2, one unsecured), and the one I can't connect to is d-link.

I've had several similar error messages to yours. I also seem to be experiencing the overwriting of the config file. Using the graphical interface through the Control Center a lot of the options I've been trying to change for testing purposes don't seem to stick. And occasionally I've seen the authentication mode get changed back to Open somehow.

I tried using Wireshark to watch the process. I can see the association messages but I can't see any authentication requests going through. That's why I'm wondering if it's the AP itself that isn't working properly.

I have only successfully connected to the AP twice out of probably 20 or so attempts. The two times it did work didn't seem to be any different to me. For example, when I finally connected I decided to close the lid on the laptop to see if the connection would come back when I opened it again. Nope. It refused to connect after that.

I'm going to fiddle with it a bit more tonight.

Andrew
apkerr
 
Posts: 8
Joined: Jun 11th, '11, 20:26

Re: Unable to connect to WLAN

Postby doktor5000 » Jun 14th, '11, 20:49

I have a fresh install of Mageia 1, and Intel IWL5100 feshly setup after installation.
Wireless Regulatory Domain seems set correctly:

Code: Select all
$ sudo grep CRDA /var/log/messages
Jun 13 15:47:20 mageia1 kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 13 15:47:25 mageia1 kernel: cfg80211: Calling CRDA for country: DE
Jun 13 22:36:07 mageia1 kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 13 22:36:12 mageia1 kernel: cfg80211: Calling CRDA for country: DE
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to connect to WLAN

Postby apkerr » Jun 17th, '11, 02:43

In case anyone is following this, I may have, hopefully, possibly, maybe solved my particular issue.
I was having plenty of issues getting connected with my wireless card (Intel 5100 AGN).

This sort of thing:
Code: Select all
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: CA
cfg80211: Regulatory domain changed to country: CA
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: CA
cfg80211: Regulatory domain changed to country: CA
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)


When the Control Center interface wasn't helping I tried NetworkManager, wicd, and various manual settings, with no luck. Using Wireshark I could see DHCP DISCOVER packets going out but no OFFERs coming back. The weird thing was, once in a while it would actually connect. It continued to connect to my neighbor's unsecured access point with no difficulty.

Eventually I went in to the Control Center and removed my wireless interface. Then I went and erased the access point's profile from /etc/sysconfig/network-scripts/wireless.d/
I also had three instances of wpa_supplicant running, presumably started by the various network managing software I was trying. So I killed all those and deleted /var/run/wpa_supplicant/wlan0. I stopped NetworkManager and wicd.

I went back into Control Center and configured my wireless card as if it was a new device, setting my access point's parameters from scratch (didn't choose the detected profile).
Suddenly, I was connected. I'm not sure what exactly fixed it, but I'm leaning toward multiple wpa_supplicants competing for attention.

I've closed and opened the lid (guaranteed to kill the connection on other attempts) and the connection came back. Then I rebooted. At first it sat there attempting to connect so on a whim I started wicd and it immediately connected, which could possibly be a coincidence. Now it says "wicd dead but pid exists." I'm connected, however, so I'm not complaining.

Andrew
apkerr
 
Posts: 8
Joined: Jun 11th, '11, 20:26

Re: Unable to connect to WLAN

Postby TheCandyMan666 » Jun 21st, '11, 09:16

@apkerr
Yes I'm still following this ;)
Just didn't have much time the last few weeks, so didn't have time to go deeper into the issue or try anything yet.
Will check it out at the weekend, thanks for all the replies so far.
TheCandyMan666
 
Posts: 3
Joined: Apr 1st, '11, 12:42

Re: Unable to connect to WLAN

Postby apkerr » Jun 22nd, '11, 02:52

It appears as though I was a bit hasty in declaring victory. After a reboot, I can no longer connect to my wpa2 protected wireless router. No problem connecting to an unsecured access point.

Here is my wireless card info:
Code: Select all
[root@andrew-laptop andrewkerr]# dmesg |grep iwl
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
iwlagn: Copyright(c) 2003-2010 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
iwlagn 0000:03:00.0: device EEPROM VER=0x11e, CALIB=0x4
iwlagn 0000:03:00.0: Device SKU: 0Xb
iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:03:00.0: irq 50 for MSI/MSI-X
iwlagn 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692
ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'


dmesg mostly contains repeating loops of this:
Code: Select all
[root@andrew-laptop andrewkerr]# dmesg |tail -n 50
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: CA
cfg80211: Regulatory domain changed to country: CA
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=0 aid=2)
wlan0: associated
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: Calling CRDA for country: CA
cfg80211: Regulatory domain changed to country: CA
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)


with occasional bursts of this depending on what I happen to be fiddling with at the time:
Code: Select all
[root@andrew-laptop andrewkerr]# dmesg |tail -n 30
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=10 aid=0)
wlan0: 00:17:9a:50:2a:f1 denied association (code=10)
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=10 aid=0)
wlan0: 00:17:9a:50:2a:f1 denied association (code=10)
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=10 aid=0)
wlan0: 00:17:9a:50:2a:f1 denied association (code=10)
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=10 aid=0)
wlan0: 00:17:9a:50:2a:f1 denied association (code=10)
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)
wlan0: authenticate with 00:17:9a:50:2a:f1 (try 1)
wlan0: authenticated
wlan0: associate with 00:17:9a:50:2a:f1 (try 1)
wlan0: RX AssocResp from 00:17:9a:50:2a:f1 (capab=0x431 status=10 aid=0)
wlan0: 00:17:9a:50:2a:f1 denied association (code=10)
wlan0: deauthenticating from 00:17:9a:50:2a:f1 by local choice (reason=3)


Simply trying to do an ifup gives the wonderfully helpful:
Code: Select all
[root@andrew-laptop andrewkerr]# ifup wlan0
Wireless device wlan0 is configured with a roaming daemon but isn't associated

Determining IP information for wlan0... failed; no link present.  Check cable?


If it's useful, this is the profile that won't work. Located at /etc/sysconfig/network-scripts/wireless.d/kerr
Code: Select all
BOOTPROTO=dhcp
METRIC=35
USERCTL=yes
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=kerr
WIRELESS_ENC_KEY=s:correctkey
WIRELESS_WPA_DRIVER=wext
WIRELESS_WPA_REASSOCIATE=no
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
NM_CONTROLLED=yes
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=no
PEERNTPD=no


If anyone has suggestions I'd be ever so grateful.
My laptop is a Lenovo T400.

Andrew
apkerr
 
Posts: 8
Joined: Jun 11th, '11, 20:26

Re: Unable to connect to WLAN

Postby apkerr » Jun 25th, '11, 17:04

Well, I replaced our old D-Link router with a Linksys E2000 and it connected immediately with WPA2.

So, I guess the moral of my story is that occasionally you just have to replace that old hardware. :-)

Andrew
apkerr
 
Posts: 8
Joined: Jun 11th, '11, 20:26

Re: Unable to connect to WLAN

Postby Joste » Sep 7th, '13, 12:29

I came across this thread since I had a similar issue when I installed Mageia on a friends laptop It wouldn't connect to my D-Link router and dmesg had similar entries to those above, I no longer have that laptop here and so cannot confirm but I think I found the cause of the problem. In the advanced wireless settings my router was set to N only and the adapter in that laptop was only G class, I partially confirmed it as the cause by attempting to connect my Nokia N900 to the network in N only mode and it failed but connected instantly in B/G/N mode.

Andrew, does your T400 have a G or N class adapter? I had a look and it seems some models had N and others only G, so wondering if this could have been the cause.

Hope this helps with anyone else having the same problem.
Joste
 
Posts: 9
Joined: Sep 7th, '13, 12:18


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest