[regression] Adding new wifi networks (with long passwords) never connect at all in OTA-11 and OTA-12

Bug #1588126 reported by Daniel van Vugt on 2016-06-02
96
This bug affects 27 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Critical
John McAleely
indicator-network (Ubuntu)
High
Pete Woods
network-manager (Ubuntu)
High
Unassigned
network-manager (Ubuntu RTM)
High
Tony Espy

Bug Description

I've just flashed clean images of OTA-11 from the stable channel onto a BQ Aquaris E4.5 (krillin) and a Nexus 4 (mako). In both cases the phones can see the wifi networks but can't connect to any of them any more.

The wifi networks continue to work for non-Ubuntu devices.

Also, forcefully flashing a device with OTA-10 fixes the problem. The regression began in OTA-11.

Explanation:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1593686/comments/11

John McAleely (john.mcaleely) wrote :

What is the config of the wifi networks you can't access (ie, if security is enabled, what sort, etc)

kevin gunn (kgunn72) wrote :

also, when you say flashed clean, was it wiping all user data?

so far others have tried flashing and found no issue so far.

Daniel van Vugt (vanvugt) wrote :

Yep, ubuntu-device-flash touch --wipe --bootstrap ... I can't tell you the network config now as I'm not near it.

Same failure on two unrelated devices while the rest of the wifi network kept working. The same devices were previously happy on OTA-10.1

Pat McGowan (pat-mcgowan) wrote :

@daniel are the passphrases on those devices particularly long?

Changed in canonical-devices-system-image:
status: New → Confirmed
assignee: nobody → John McAleely (john.mcaleely)
Changed in network-manager (Ubuntu):
assignee: nobody → Tony Espy (awe)
Daniel van Vugt (vanvugt) wrote :

Pat:

Yes the wifi password is 19 characters with lots of different character types but nothing you won't find on a US keyboard.

I just got back from a month away, flashed OTA-11 on mako and have the same problem. Ubuntu Touch, and only Ubuntu Touch can't connect to wifi anymore.

Changed in indicator-network (Ubuntu):
importance: Undecided → High
Changed in network-manager (Ubuntu):
importance: Undecided → High
Daniel van Vugt (vanvugt) wrote :

Workaround:
Flash the OTA-10 image first and set up wifi in OTA-10 which works. Then when you upgrade to OTA-11 over the air for real, the wifi config will continue working in OTA-11.

So the problem is just that a raw phone shipped with OTA-11 can't connect to wifi when configured in the wizard or network indicator.

summary: - [OTA-11] Wifi never connects since installing OTA-11
+ [OTA-11] Wifi never connects since installing OTA-11 (unless you install
+ OTA-10 first)
summary: - [OTA-11] Wifi never connects since installing OTA-11 (unless you install
- OTA-10 first)
+ [OTA-11] Wifi never connects since flashing OTA-11 (unless you flash
+ OTA-10 first then upgrade)
tags: added: regression
summary: - [OTA-11] Wifi never connects since flashing OTA-11 (unless you flash
- OTA-10 first then upgrade)
+ [regression] [OTA-11] Wifi never connects since flashing OTA-11 (unless
+ you flash OTA-10 first then upgrade)

Confirmed the same behaviour on two devices; both mako and krillin now:

OTA-10 WORKS
OTA-11 FAILS

The workaround is to install OTA-10 first and configure wifi under OTA-10. Then you can upgrade to OTA-11 and it will keep working.

If I had to guess, it looks like OTA-11's regression is that it's mis/interpreting the punctuation characters in my wifi password when I enter it. Whereas OTA-10 correctly treated it as a raw string, and then once stored to disk remains correct during future upgrades.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-network (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
status: New → Confirmed
Daniel van Vugt (vanvugt) wrote :

Actually duplicate bug 1589489 seems to explain it.

description: updated
summary: - [regression] [OTA-11] Wifi never connects since flashing OTA-11 (unless
- you flash OTA-10 first then upgrade)
+ [regression] [OTA-11] Adding new wifi networks (with long passwords)
+ never connect at all since OTA-11
description: updated
kevin gunn (kgunn72) on 2016-07-18
Changed in canonical-devices-system-image:
importance: Undecided → Critical
milestone: none → 13
Tony Espy (awe) on 2016-07-28
Changed in network-manager (Ubuntu):
status: Confirmed → In Progress
Changed in indicator-network (Ubuntu):
status: Confirmed → Invalid

The fix is currently in silo 005, and was just marked 'Lander Approved'.

The version containing the fix will be 1.2.2-0ubuntu1~xenial3, and should hopefully land in the next few days.

Changed in network-manager (Ubuntu):
status: In Progress → Fix Committed
summary: - [regression] [OTA-11] Adding new wifi networks (with long passwords)
- never connect at all since OTA-11
+ [regression] Adding new wifi networks (with long passwords) never
+ connect at all in OTA-11 and OTA-12
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Tony Espy (awe) wrote :

Added an 'Ubuntu RTM' task for network-manager to be clearer about where the fix lands ( ie. in the overlay PPA, not the archive ).

Changed in network-manager (Ubuntu RTM):
status: New → Fix Committed
Changed in network-manager (Ubuntu):
status: Fix Committed → Confirmed
Changed in network-manager (Ubuntu RTM):
importance: Undecided → High
assignee: nobody → Tony Espy (awe)
Changed in network-manager (Ubuntu):
assignee: Tony Espy (awe) → nobody
Pete Woods (pete-woods) on 2016-08-11
Changed in indicator-network (Ubuntu):
assignee: nobody → Pete Woods (pete-woods)
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Aron Xu (happyaron) on 2016-12-20
tags: added: nm-touch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers