[SOLVED] [RPI] Netwok-manager WiFi issue

This forum is for discussion about general software issues.

[SOLVED] [RPI] Netwok-manager WiFi issue

Postby Inglebard » Sun Nov 13, 2016 8:45 pm

Hi,

I tried to install archlinuxarm to my RPI1 and I have an issue with Network manager.
I am not able to configure wifi properly with Network manager. nmcli or other Network manager commands reached timeout.
I have no issue with netctl.
I use a wifi dongle EW-7811UN : http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/in/wireless_adapters_n150/ew-7811un/

I tried to disable MAC Randomization, but the result is still the same.
Code: Select all
[device]
wifi.scan-rand-mac-address=no


Do you already encounter this issue ?

Here is some logs.

Code: Select all
journalctl -u NetworkManager --file system.journal  --no-pager | head -n 300

nov. 11 22:25:40 alarmpi systemd[1]: Starting Network Manager...
nov. 11 22:25:40 alarmpi NetworkManager[393]: <info>  [1478899540.9841] NetworkManager (version 1.4.2) is starting...
nov. 11 22:25:40 alarmpi NetworkManager[393]: <info>  [1478899540.9900] Read config: /etc/NetworkManager/NetworkManager.conf
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.0793] manager[0x4fb828]: monitoring kernel firmware directory '/usr/lib/firmware'.
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.1160] dns-mgr[0x50a418]: init: dns=default, rc-manager=resolvconf
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.1412] rfkill1: found WiFi radio killswitch (at /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/ieee80211/phy0/rfkill1) (driver rtl8192cu)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.1472] manager[0x4fb828]: WiFi hardware radio set enabled
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.1510] manager[0x4fb828]: WWAN hardware radio set enabled
nov. 11 22:25:41 alarmpi systemd[1]: Started Network Manager.
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.4192] settings: loaded plugin keyfile: (c) 2007 - 2015 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6445] settings: hostname: using hostnamed
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6482] settings: hostname changed from (none) to "alarmpi"
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6557] dhcp-init: Using DHCP client 'internal'
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6694] manager: WiFi enabled by radio killswitch; enabled by state file
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6701] manager: WWAN enabled by radio killswitch; enabled by state file
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6707] manager: Networking is enabled by state file
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6714] Loaded device plugin: NMVxlanFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6719] Loaded device plugin: NMVlanFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6724] Loaded device plugin: NMVethFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6846] Loaded device plugin: NMTunFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6851] Loaded device plugin: NMMacvlanFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6856] Loaded device plugin: NMIPTunnelFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6861] Loaded device plugin: NMInfinibandFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6866] Loaded device plugin: NMEthernetFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6871] Loaded device plugin: NMBridgeFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.6875] Loaded device plugin: NMBondFactory (internal)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.7637] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.7729] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.7820] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.7911] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.9786] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/libnm-device-plugin-team.so)
nov. 11 22:25:41 alarmpi NetworkManager[393]: <info>  [1478899541.9950] device (lo): link connected
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.0189] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/0)
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.0383] device (eth0): link connected
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.0663] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/1)
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.0933] keyfile: add connection in-memory (675baea3-6bb3-308e-8465-efc1360d9a2b,"Wired connection 1")
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.1066] settings: (eth0): created default wired connection 'Wired connection 1'
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.1286] dns-mgr: Writing DNS information to /usr/bin/resolvconf
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8314] manager: (eth0): found matching connection 'Wired connection 1'
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8368] device (eth0): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8473] device (eth0): state change: unavailable -> disconnected (reason 'connection-assumed') [20 30 41]
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8778] device (eth0): Activation: starting connection 'Wired connection 1' (675baea3-6bb3-308e-8465-efc1360d9a2b)
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8836] (wlan0): using nl80211 for WiFi device control
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.8907] device (wlan0): driver supports Access Point (AP) mode
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.9200] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/2)
nov. 11 22:25:42 alarmpi NetworkManager[393]: <info>  [1478899542.9491] device (wlan0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
nov. 11 22:25:44 alarmpi NetworkManager[393]: <warn>  [1478899544.0511] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:44 alarmpi NetworkManager[393]: <info>  [1478899544.4751] dns-mgr: Removing DNS information from /usr/bin/resolvconf
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.3986] device (eth0): state change: disconnected -> prepare (reason 'none') [30 40 0]
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.4889] supplicant: wpa_supplicant running
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.5103] device (wlan0): supplicant interface state: init -> starting
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.5504] device (eth0): state change: prepare -> config (reason 'none') [40 50 0]
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.6225] device (eth0): state change: config -> ip-config (reason 'none') [50 70 0]
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.6654] dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.8884] sup-iface[0x508ad8,wlan0]: supports 5 scan SSIDs
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.9538] device (wlan0): supplicant interface state: starting -> ready
nov. 11 22:25:45 alarmpi NetworkManager[393]: <info>  [1478899545.9583] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
nov. 11 22:25:46 alarmpi NetworkManager[393]: <warn>  [1478899546.4641] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:46 alarmpi NetworkManager[393]: <info>  [1478899546.5607] device (wlan0): supplicant interface state: ready -> disabled
nov. 11 22:25:46 alarmpi NetworkManager[393]: <info>  [1478899546.5742] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:46 alarmpi NetworkManager[393]: <warn>  [1478899546.8025] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:46 alarmpi NetworkManager[393]: <info>  [1478899546.8913] dhcp6 (eth0): activation: beginning transaction (timeout in 45 seconds)
nov. 11 22:25:46 alarmpi NetworkManager[393]: <info>  [1478899546.9043] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:46 alarmpi NetworkManager[393]: <info>  [1478899546.9161] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:47 alarmpi NetworkManager[393]: <warn>  [1478899547.1410] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2255] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2401] dhcp4 (eth0):   address 192.168.1.26
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2437] dhcp4 (eth0):   plen 24
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2441] dhcp4 (eth0):   expires in 86400 seconds
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2445] dhcp4 (eth0):   nameserver '192.168.1.1'
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2448] dhcp4 (eth0):   domain name 'home'
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2452] dhcp4 (eth0):   gateway 192.168.1.1
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2469] dhcp4 (eth0): state changed unknown -> bound
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.2503] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:47 alarmpi NetworkManager[393]: <warn>  [1478899547.4172] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.4945] dhcp6 (eth0):   nameserver fe80::42f2:1ff:fe5e:7d88
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.4985] dhcp6 (eth0):   domain name 'home'
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.4988] dhcp6 (eth0): state changed unknown -> bound
nov. 11 22:25:47 alarmpi NetworkManager[393]: <warn>  [1478899547.5094] device (eth0): activation-stage: schedule activate_stage5_ip6_config_commit,10 which replaces activate_stage5_ip6_config_commit,10 (id 166 -> 196)
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.5259] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.5305] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:47 alarmpi NetworkManager[393]: <warn>  [1478899547.7534] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.8764] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:47 alarmpi NetworkManager[393]: <info>  [1478899547.8814] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:48 alarmpi NetworkManager[393]: <warn>  [1478899548.0412] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.1245] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.1294] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:48 alarmpi NetworkManager[393]: <warn>  [1478899548.3310] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.4257] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.4301] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:48 alarmpi NetworkManager[393]: <warn>  [1478899548.6336] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.7278] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:48 alarmpi NetworkManager[393]: <info>  [1478899548.7326] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:48 alarmpi NetworkManager[393]: <warn>  [1478899548.9545] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
nov. 11 22:25:49 alarmpi NetworkManager[393]: <info>  [1478899549.0350] device (wlan0): supplicant interface state: inactive -> disabled
nov. 11 22:25:49 alarmpi NetworkManager[393]: <info>  [1478899549.0481] device (wlan0): supplicant interface state: disabled -> inactive
nov. 11 22:25:49 alarmpi NetworkManager[393]: <warn>  [1478899549.2741] device (wlan0): set-hw-addr: new MAC address 76:27:0C:62:5E:DA not successfully set (scanning)
...


I also noticed this with network manager :

Code: Select all
nov. 11 22:25:43 alarmpi kernel: ------------[ cut here ]------------
nov. 11 22:25:43 alarmpi kernel: WARNING: CPU: 0 PID: 91 at net/wireless/sme.c:907 __cfg80211_disconnected+0x26c/0x2ac [cfg80211]()
nov. 11 22:25:43 alarmpi kernel: Modules linked in: 8192cu btusb btrtl btintel btbcm cfg80211 bluetooth bcm2835_rng rng_core bcm2835_gpiomem bcm2835_w
nov. 11 22:25:43 alarmpi kernel: CPU: 0 PID: 91 Comm: kworker/u2:1 Not tainted 4.4.30-1-ARCH #1
nov. 11 22:25:43 alarmpi kernel: Hardware name: BCM2708
nov. 11 22:25:43 alarmpi kernel: Workqueue: cfg80211 cfg80211_event_work [cfg80211]
nov. 11 22:25:43 alarmpi kernel: [<c0014584>] (unwind_backtrace) from [<c001257c>] (show_stack+0x10/0x14)
nov. 11 22:25:43 alarmpi kernel: [<c001257c>] (show_stack) from [<c00274fc>] (warn_slowpath_common+0x78/0xb0)
nov. 11 22:25:43 alarmpi kernel: [<c00274fc>] (warn_slowpath_common) from [<c00275d0>] (warn_slowpath_null+0x1c/0x24)
nov. 11 22:25:43 alarmpi kernel: [<c00275d0>] (warn_slowpath_null) from [<bf1ef7ec>] (__cfg80211_disconnected+0x26c/0x2ac [cfg80211])
nov. 11 22:25:43 alarmpi kernel: [<bf1ef7ec>] (__cfg80211_disconnected [cfg80211]) from [<bf1cbcc4>] (cfg80211_process_wdev_events+0x190/0x198 [cfg802
nov. 11 22:25:43 alarmpi kernel: [<bf1cbcc4>] (cfg80211_process_wdev_events [cfg80211]) from [<bf1cbcf8>] (cfg80211_process_rdev_events+0x2c/0x64 [cfg
nov. 11 22:25:43 alarmpi kernel: [<bf1cbcf8>] (cfg80211_process_rdev_events [cfg80211]) from [<bf1c71d8>] (cfg80211_event_work+0x14/0x1c [cfg80211])
nov. 11 22:25:43 alarmpi kernel: [<bf1c71d8>] (cfg80211_event_work [cfg80211]) from [<c003b5c0>] (process_one_work+0x1cc/0x430)
nov. 11 22:25:43 alarmpi kernel: [<c003b5c0>] (process_one_work) from [<c003c3f0>] (worker_thread+0x4c/0x534)
nov. 11 22:25:43 alarmpi kernel: [<c003c3f0>] (worker_thread) from [<c0040be0>] (kthread+0xc8/0xe8)
nov. 11 22:25:43 alarmpi kernel: [<c0040be0>] (kthread) from [<c000eea8>] (ret_from_fork+0x14/0x2c)
nov. 11 22:25:43 alarmpi kernel: ---[ end trace 3191cacbe6d19585 ]---
Last edited by Inglebard on Sat Nov 19, 2016 1:00 pm, edited 1 time in total.
Inglebard
 
Posts: 5
Joined: Sun Nov 13, 2016 8:22 pm

Re: [RPI] Netwok-manager WiFi issue

Postby Inglebard » Sat Nov 19, 2016 12:59 pm

Hi,

I edit my NetworkManager.conf :
Code: Select all
[main]
plugins=keyfile
dns=default

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

[connection]
ethernet.cloned-mac-address=preserve
wifi.cloned-mac-address=preserve


I don't know if it fix the issue because there was also a new linux upgrade applied :
Code: Select all
linux-raspberrypi 4.4.32-3



But there is no more 'cfg80211' kernel error and I can use networkmanager as expected.
Inglebard
 
Posts: 5
Joined: Sun Nov 13, 2016 8:22 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest