Re: nm 1.8.2 problem bring up wifi interface



On Sun, Nov 26, 2017 at 09:28:11PM +0100, Belisko Marek wrote:
Hi,

I'm trying to use for my project networkmanager. I've build image
using yocto with nm v1.8.2. On my HW I'm using SDIO wifi chip
(esp8089) which I can operate with wpa_supplicant and simple config
file. When try to use it with networkmanager nmclo device show wlan0
as unavailable. When checked logs it seems that wpa_supplicant cannot
bring interface up because somebody else is trying to do the same.
I've added process name to kernel driver code (can be seen in kernel
messages like: esp_op_add_interface interface 2 requested by -
NetworkManager - 231). When looking through log it seems that nm is
trying to add wireless interface but also wpa_supplicant which then
driver refuse as max interfaces is 2 (also not sure what it means).
Anything else I can check or how to workaround this probem? (when
using raspbian wifi with nm works fine).

Hi,

it seems the driver gets confused by the MAC address change: 

  kernel: [    9.476452] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  kernel: [    9.482897] esp_op_add_interface interface 0 requested by - NetworkManager - 231
  kernel: [    9.490304] esp_op_add_interface STA
  kernel: [    9.495224] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  NetworkManager[231]: <info> [1511649658.0166] device (wlan0): set-hw-addr: set MAC address to 
26:2F:1A:C7:05:F4 (scanning)
  kernel: [    9.504764] esp_op_add_interface interface 2 requested by - NetworkManager - 231


Perhaps you can try disabling the randomization of MAC address during
scans; add the following to /etc/NetworkManager/NetworkManager.conf
and restart the service.

[device]
wifi.scan-rand-mac-address=no

Beniamino

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]