Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A few days ago I upgraded to 10.10 and since then I've been unable to connect to my wireless router. NetworkManager tries to connect to the router - the animated "connecting" symbol stays for a few seconds - but then the connection breaks off.

I did the usual: Restarted the router, deleted and recreated the wireless connection, tried to connect manually by the command line, checked that the connection works with other PCs, etc. without any success.

While the connection is attempted, the router lists my computer as connected - right until the moment it breaks off again. I can only guess that some of the drivers changed.

Any ideas? I will be happy to provide additional information if required.

I'm using an Intel Corporation PRO/Wireless 3945ABG. lsmod names the drivers as:

iwl3945                83391  0 
iwl_legacy             83487  1 iwl3945
mac80211              310872  2 iwl3945,iwl_legacy
cfg80211              199587  3 iwl3945,iwl_legacy,mac80211

and every connection attempt creates the following messages in dmesg

[ 2763.948180] wlan0: authenticate with 00:1a:2b:50:e4:be (try 1)
[ 2763.950114] wlan0: authenticated
[ 2763.950646] wlan0: associate with 00:1a:2b:50:e4:be (try 1)
[ 2763.952919] wlan0: RX ReassocResp from 00:1a:2b:50:e4:be (capab=0x11 status=0 aid=3)
[ 2763.952928] wlan0: associated
[ 2774.616071] wlan0: no IPv6 routers present
[ 2784.207748] wlan0: deauthenticating from 00:1a:2b:50:e4:be by local choice (reason=3)
[ 2784.221101] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 2784.221115] cfg80211: Restoring regulatory settings
[ 2784.221125] cfg80211: Calling CRDA to update world regulatory domain
[ 2784.230918] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain 
[ 2784.230928] cfg80211: World regulatory domain updated:
[ 2784.230932] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2784.230941] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 2784.230949] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 2784.230956] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 2784.230963] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 2784.230970] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

UPDATE: Following Marius Gedminas advice, I took a look at /var/log/syslog. Here the most interesting of the generated lines:

Oct 25 22:16:15 loli dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
Oct 25 22:16:22 loli NetworkManager[813]: <info> (wlan0): IP6 addrconf timed out or failed.
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Timeout) scheduled...
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Timeout) started...
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) failed (no IP configuration found)
Oct 25 22:16:22 loli NetworkManager[813]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Oct 25 22:16:22 loli NetworkManager[813]: <warn> Activation (wlan0) failed for access point (JAZZTEL_1B)
Oct 25 22:16:22 loli NetworkManager[813]: <info> Marking connection 'JAZZTEL_1B' invalid.
Oct 25 22:16:22 loli NetworkManager[813]: <warn> Activation (wlan0) failed.
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
Oct 25 22:16:22 loli NetworkManager[813]: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Timeout) complete.
Oct 25 22:16:22 loli NetworkManager[813]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 25 22:16:22 loli NetworkManager[813]: <info> (wlan0): deactivating device (reason 'none') [0]
Oct 25 22:16:22 loli NetworkManager[813]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1996
Oct 25 22:16:22 loli kernel: [  420.207436] wlan0: deauthenticating from 00:1a:2b:50:e4:be by local choice (reason=3)

The problem seems to be the IPv4 configuration. In my wireless settings for the access point, the "IPv4 configuration required" box is ticked. Subsequently I tried to connect with a static IP - which worked fine. That way I can connect to the network, only that I can´t access the internet nor the router. Can it be, that the problem resides somewhere with the DHCP discover and not with the wireless drivers?

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 16:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
"deauthenticating from 00:1a:2b:50:e4:be by local choice (reason=3)" is the important bit. Reason=3 in 802.11 networking means "station has left the basic service area or extended service area and is deauthenticated". Huh, not as illuminating as I'd hoped. –  Marius Gedminas Oct 25 '11 at 19:21
    
NetworkManager logs lots of stuff into /var/log/daemon.log in 10.10 (and /var/log/syslog in newer Ubuntu versions). You may check those files to see if there's any more information, in particular about DHCP. –  Marius Gedminas Oct 25 '11 at 19:24
    
For the record, I've the Intel 3945 wifi card in my laptop, and I've used NetworkManager with it in all Ubuntu versions from 9.10 to 11.10. I won't say it always worked flawlessly, but it worked fine most of the time. –  Marius Gedminas Oct 25 '11 at 19:25