[pkg-wpa-devel] Bug#833507: Bug#833507: Bug#833507: wpasupplicant: workaround wifi.scan-rand-mac-address=no

Andrew Shadura andrew at shadura.me
Tue Dec 5 08:49:46 UTC 2017


On 05/12/17 09:31, Noël Köthe wrote:
> Hello Andrew,
> 
> Am Dienstag, den 05.12.2017, 08:57 +0100 schrieb Andrew Shadura:
> 
>>> I remember a workaround for this problem from the past to add
>>> into /etc/NetworkManager/NetworkManager.conf the following:
>>>
>>> [device]
>>> wifi.scan-rand-mac-address=no
>>>
>>> which fixed it again for me.
> 
>> Just to be sure, are you absolutely sure it doesn't work with the
>> latest wpasupplicant without the NM snippet? 
> 
> Yes. Wifi worked until Tue or Wed last week and with my daily sid
> update I didn't get it working again. Module unloading and loading or
> network-manager restarts or complete reboots didn't helped.
> Until yesterday when I added the NM lines again.

Thanks.

>> I have put a similar one
>> into the wpasupplicant package, but a driver-specific one.
> 
> OK.
> 
>> Could you please let me know what driver are you using?
> 
> wl module/driver with the broadcom-sta-dkms 6.30.223.271-7
> 
> 03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless
> Network Adapter (rev 03) on a MacBook Pro
> 03:00.0 0280: 14e4:43a0 (rev 03)
> 
>> You should be able to find out by running:
>>
>> nmcli -f GENERAL.DRIVER,GENERAL.DRIVER-VERSION device show
> 
> # nmcli -f GENERAL.DRIVER,GENERAL.DRIVER-VERSION device show
> GENERAL.DRIVER:                         tg3
> GENERAL.DRIVER-VERSION:                 3.137
> 
> GENERAL.DRIVER:                         wl
> GENERAL.DRIVER-VERSION:                 6.30.223.271 (r587334)

Right, so it is wl indeed.

> GENERAL.DRIVER:                         bridge
> GENERAL.DRIVER-VERSION:                 2.3
> 
> GENERAL.DRIVER:                         unknown
> GENERAL.DRIVER-VERSION:                 --
> 
> GENERAL.DRIVER:                         tun
> GENERAL.DRIVER-VERSION:                 1.6
> 
>> Please bear in mind the file I'm shipping doesn't work with old NM,
>> what version are you using?
> 
> network-manager 1.10.0-1

This should be recent enough.

> It is a sid system with no package on hold.
> 
> If I can help you with more information just tell me.

Thanks. Please have a look at
/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf.

There should be a line:

match-device=driver:rtl8723bs,…

Please add driver:wl to this comma-separated list, remove your previos
NetworkManager.conf addition, restart NM and try again. If this helps,
we can close the bug. If it doesn't, please check whether the config is
being parsed at all by runnin /usr/sbin/NetworkManager --print-config.

Thanks!

-- 
Cheers,
  Andrew



More information about the Pkg-wpa-devel mailing list