wifi not connecting network on Nexus 4 image #28

Bug #1321650 reported by ybon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
Medium
Mathieu Trudel-Lapierre

Bug Description

Since some images, none of both of my Nexus 4 can't connect to Internet over the wifi.
As it seems I'm the only one to have this issue, it may be linked to the network I'm using.
It's a shared network from an iMac, using a WEP key at 128bits.
It used to work for a long (and I'm using it right now from my Ubuntu 14.04 laptop).
Attached is the dmesg of one of the devices.

Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :

For Yohan's device:

ybon@edoardo:~$ adb shell nmcli d
DEVICE TYPE STATE
/ril_0 gsm connected
wlan0 802-11-wireless disconnected

For Anne's device:

ybon@edoardo:~$ adb shell nmcli d
DEVICE TYPE STATE
wlan0 802-11-wireless disconnected
/ril_0 gsm disconnected

Revision history for this message
ybon (yohanboniface) wrote :

Please note that attachments have "Anne" or "Yohan" in the file name to distinguish the device.

Revision history for this message
Oliver Grawert (ogra) wrote :

this snippet looks most interesting in teh syslog ...

May 21 08:20:23 ubuntu-phablet wpa_supplicant[2458]: wlan0: Trying to associate with SSID 'darline'
May 21 08:20:23 ubuntu-phablet kernel: [ 1247.147016] wlan: [1284:E :PE ] limProcessAuthFrame: 1302: received Auth frame from peer with failure code 13 90:84:0d:f3:74:15
May 21 08:20:23 ubuntu-phablet kernel: [ 1247.147230] wlan: [1284:E :PE ] limProcessMlmAuthCnf: 622: Auth Failure occurred.
May 21 08:20:23 ubuntu-phablet kernel: [ 1247.147352] wlan: [1284:E :PE ] limDeactivateAndChangeTimer: 1438: Deactivated probe after hb timer
May 21 08:20:23 ubuntu-phablet NetworkManager[1262]: <info> (wlan0): supplicant interface state: disconnected -> associating
May 21 08:20:23 ubuntu-phablet wpa_supplicant[2458]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=90:84:0d:f3:74:15 status_code=1
May 21 08:20:23 ubuntu-phablet kernel: [ 1247.157637] wlan: connection failed with 90:84:0d:f3:74:15 reason:1 and Status:9
May 21 08:20:23 ubuntu-phablet NetworkManager[1262]: <info> (wlan0): supplicant interface state: associating -> disconnected

Changed in network-manager (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

All this means is that the authentication was rejected by the AP.

What I see even more interesting is this:

May 21 08:05:08 ubuntu-phablet kernel: [ 332.441294] wlan: [1284:E :SME] csrNeighborRoamPrepareScanProfileFilter: 1197: Filtering for SSID darline from scan results,length of SSID = 7
May 21 08:05:08 ubuntu-phablet kernel: [ 332.442270] wlan: [1284:E :SME] csrNeighborRoamProcessScanComplete: 1867: No candidate found after scanning in state 3..

Are there any updates that were done on this device? What is the current image version, and when did this trouble start?

The failure code 13 that we see in the errors means:
"Responding STA does not support the specified authentication algorithm"

This makes it even more important to know when this started, so that we can find out what changed.

One thing to try would be to connect to the device via ADB and edit the file:
/etc/NetworkManager/system-connections/darline

Remove the line "wep-tx-keyidx=0" if it's there, and add a line:
wep-key-type=2

In the same section, if it isn't already in place. All this should be under the 802-11-wireless-security section.

I've created a file locally to test (attached). Do note that you will need to do a few steps to transfer a file like that on your device (and you will need to set the right passphrase in wep-key0) :

adb push darline /etc/NetworkManager/system-connections/darline
adb shell chmod 600 /etc/NetworkManager/system-connections/darline
adb shell touch /etc/NetworkManager/system-connections/darline

You may also need to reboot the phone to be sure the new file is used.

Changed in network-manager (Ubuntu):
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
ybon (yohanboniface) wrote :

Thanks for you answer, Mathieu! :)

1. When it has begun?
Sadly I don't have noted the precise date. In my memory it's somewhere in Aprile. I'm sorry I don't have more accurate info on this :(

2. No change made on the device itself, I'm just upgrading every time I see a promoted image. So now I'm on #44, still with the issue though.

3. Just to make it clear, I've been able to connect to another wifi today, so it's just this wifi that doesn't work (but it has worked before AND I'm using it right now with my Ubuntu laptop)

4. "wep-tx-keyidx=0" was not in my connection settings file, I've added the line "wep-key-type=2", and restarted, but still not luck to get to Internet; I've also see that in your example file you have added the line "auth-alg=open", which was not in my file, so I've added it, restarted, but nothing better.

5. I'm gonna attach the syslog, iwconfig again now that I've changed the darline config file.

Thanks again!

Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
Revision history for this message
ybon (yohanboniface) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.