[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
96
This bug affects 27 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
John McAleely
indicator-network (Ubuntu)
Invalid
High
Pete Woods
network-manager (Ubuntu)
Confirmed
High
Unassigned
network-manager (Ubuntu RTM)
Fix Committed
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

Revision history for this message
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)

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
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)
Revision history for this message
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
Revision history for this message
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)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [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.

Revision history for this message
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
Revision history for this message
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)
Changed in canonical-devices-system-image:
importance: Undecided → Critical
milestone: none → 13
Tony Espy (awe)
Changed in network-manager (Ubuntu):
status: Confirmed → In Progress
Changed in indicator-network (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
tags: added: desktop-trello-import
tags: removed: desktop-trello-import
Revision history for this message
Tony Espy (awe) wrote : Re: [regression] [OTA-11] Adding new wifi networks (with long passwords) never connect at all since OTA-11

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
Revision history for this message
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)
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)
tags: added: nm-touch
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.