console-conf crashes with a WiFi which does not support SIOCGIWESSID

Bug #1627031 reported by Simon Fels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

console-cofn crashes with "PermissionError: [Errno 1] Operation not permitted" when I have my TP-LINK TL-WN725N V2 plugged via USB in the device. If the device is unplugged console-conf does not crash anymore.

See attached log file for more details.

Revision history for this message
Simon Fels (morphis) wrote :
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Sounds plausible. I hate everything.

Changed in subiquity (Ubuntu):
status: New → Triaged
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1627031] [NEW] console-conf crashes with a WiFi which does not support SIOCGIWESSID

https://github.com/CanonicalLtd/probert/pull/27 has the simplest possible
fix, what do you think?

On 24 September 2016 at 01:46, Simon Fels <email address hidden> wrote:

> Public bug reported:
>
> console-cofn crashes with "PermissionError: [Errno 1] Operation not
> permitted" when I have my TP-LINK TL-WN725N V2 plugged via USB in the
> device. If the device is unplugged console-conf does not crash anymore.
>
> See attached log file for more details.
>
> ** Affects: subiquity (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Attachment added: "subiquity-debug.log"
> https://bugs.launchpad.net/bugs/1627031/+attachment/
> 4747067/+files/subiquity-debug.log
>
> --
> You received this bug notification because you are subscribed to
> subiquity in Ubuntu.
> https://bugs.launchpad.net/bugs/1627031
>
> Title:
> console-conf crashes with a WiFi which does not support SIOCGIWESSID
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/
> 1627031/+subscriptions
>

Revision history for this message
Simon Fels (morphis) wrote :

@Michael: That sounds like a first attempt to fix this but I guess we will then miss the ESSID in the UI for those dongles. The problem seems to be more that the driver does not support the necessary WEXT command SIOCGIWESSID anymore and just gives you access with nl80211. So we have two real options to fix this:

1. Force all kernels to have CONFIG_CFG80211_WEXT enabled. As this is the official pi2 kernel we should definitely open a bug there and get it included in the kernel config.

2. When the WEXT ioctl fails fallback to nl80211 or use nl80211 directly and fallback to the WEXT ioctl

Changed in subiquity (Ubuntu):
status: Triaged → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subiquity - 0.0.24

---------------
subiquity (0.0.24) zesty; urgency=medium

  * Rework network model and UI significantly, using rtnetlink nl80211 events
    to provide a live view of the state of the network as it changes.
    (LP: #1627031, #1624322, #1637153)
  * Show friendly message instead of getty when only ssh login is possible.
    (LP: #1639543)
  * Hide keypresses while in the "press enter to configure" screen.
    (LP: #1639917)
  * Give a hint on how to create a store account. (LP: #1639799)

 -- Michael Hudson-Doyle <email address hidden> Mon, 07 Nov 2016 16:43:06 +1300

Changed in subiquity (Ubuntu):
status: In Progress → Fix Released
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.