"About this phone" shows wrong MAC for WiFi

Bug #1399723 reported by Paweł Stołowski
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
John McAleely
ubuntu-system-settings (Ubuntu)
Fix Released
Critical
Jonas G. Drange
ubuntu-system-settings (Ubuntu RTM)
Fix Released
Critical
Jonas G. Drange

Bug Description

Wifi-address shown on "About this phone" page is the address of 'ifb0' network device. I've network MAC filtering enabled on my router and this MAC doesn't seem to be the one visible to the network. I had to manually obtain the MAC of wlan0 network device to get wifi networking working on my phone with MAC filtering. So, it seems to me like a wrong MAC is presented to the user.

Related branches

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

on mako its getting address for rmnet1

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Jonas G. Drange (jonas-drange)
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Opinion
status: Opinion → In Progress
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Confirming to land as the feature is totally useless without the fix

Changed in canonical-devices-system-image:
importance: Undecided → High
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+15.04.20150107-0ubuntu1

---------------
ubuntu-system-settings (0.3+15.04.20150107-0ubuntu1) vivid; urgency=low

  [ CI Train Bot ]
  * Resync trunk

  [ jonas-drange ]
  * [about] use networkinfo to pull the wifi device MAC (LP: #1399723)
 -- Ubuntu daily release <email address hidden> Wed, 07 Jan 2015 12:05:12 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
milestone: none → ww03-2015
Changed in ubuntu-system-settings (Ubuntu RTM):
importance: Undecided → Critical
Changed in ubuntu-system-settings (Ubuntu RTM):
status: New → Confirmed
assignee: nobody → Jonas G. Drange (jonas-drange)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+15.04.20150109~rtm-0ubuntu1

---------------
ubuntu-system-settings (0.3+15.04.20150109~rtm-0ubuntu1) 14.09; urgency=low

  [ jonas-drange ]
  * [about] use networkinfo to pull the wifi device MAC (LP: #1399723)
 -- Ubuntu daily release <email address hidden> Fri, 09 Jan 2015 14:45:20 +0000

Changed in ubuntu-system-settings (Ubuntu RTM):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Revision history for this message
John McAleely (john.mcaleely) wrote :

will chase which image this is in.

Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
Revision history for this message
Noemí (noemi-gallego) wrote :

Hi.
There has been some kind of problem with the new version (R16) and now the wifi mac address is not shown in "About this phone" settings.
Please, could you check this as soon as posible?

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I confirmed that on krillin with WiFi disabled no address is displayed but with WiFi enabled it is
On mako the address is displayed whether or not wifi is enabled

Revision history for this message
John McAleely (john.mcaleely) wrote :

@Noemi, I see them on two handsets running #16, in about this phone, as I would expect. What happens on the handset with the issue if you flash an earlier release?

Revision history for this message
Ken VanDine (ken-vandine) wrote :

I've confirmed this is a krillin specific bug, the about panel uses QtSystemsInfo to get the device information. Visibily is set based on:

visible: network.networkMacAddresses.length > 0

So QtSystemsInfo thinks there are no networkMacAddresses. Perhaps something at the driver level and they way we disable/enable the wifi device.

Revision history for this message
Ken VanDine (ken-vandine) wrote :
Revision history for this message
John McAleely (john.mcaleely) wrote :

I've raised bug #1417222 "Wifi MAC address only shown when wifi enabled" to track this.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The device is removed rather than merely made unavailable

krillin:
Feb 2 17:53:31 ubuntu-phablet NetworkManager[1448]: <info> (wlan0): device state change: activated -> unmanaged (reason 'removed') [100 10 36]

mako:
Feb 2 13:49:08 ubuntu-phablet NetworkManager[1385]: <info> (wlan0): device state change: activated -> unavailable (reason 'none') [100 20 0]

so I would conclude there is nothing to be done at our level

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

When wifi is disabled, it calls the Android wifi HAL, which then disables it for real. On krillin, that basically removes the interface on the kernel side, which can be verified with a simple ifconfig.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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