GNOME Bugzilla – Bug 700995
NM 0.9.8 turns on wifi when starting
Last modified: 2017-08-03 15:26:59 UTC
When NM 0.9.8 starts it switches on wireless interfaces. Previous versions of networkmanager did not change status of wifi when starting. It looks like it was much more reasonable behavior.
There should not be any change. If you disabled Wi-Fi in an applet, the should remember that and the Wi-Fi should stay disabled until you enable it explicitly. Please, get NetworkManager logs from the start-up (/var/log/messages or something). And also describe more exactly your use case. How do you disable Wi-Fi, etc.
Created attachment 249667 [details] NM.log (from /var/log/messages) I use laptop and enable/disable wi-fi with appropriate shortkeys. When I restart NM it switchs the wi-fi on. Messages I get in /var/log/messages during restart daemon attached. What additional information do you need?
So, you disable Wi-Fi with a switch key and it enables after reboot, right? Would you get output of 'rfkill list' command when you enable/disable Wi-Fi with the key. If you right-click nm-applet and uncheck "Enable Wireless", does it persist over reboot?
Switched off: jauhien@kamputar ~ % sudo rfkill list 0: eeepc-wlan: Wireless LAN Soft blocked: yes Hard blocked: no 1: eeepc-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no I switch on with key: jauhien@kamputar ~ % sudo rfkill list 0: eeepc-wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: eeepc-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no 3: phy1: Wireless LAN Soft blocked: no Hard blocked: no Switch off with key: jauhien@kamputar ~ % sudo rfkill list 0: eeepc-wlan: Wireless LAN Soft blocked: yes Hard blocked: no 1: eeepc-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no In a moment I'll show other info.
> If you right-click nm-applet and uncheck "Enable Wireless", does it persist over reboot? No, it does not persists. If I do so, wi-fi switches off and menu entry "enable wi-fi" disappears. After reboot NM does not switch wi-fi on. If I then switch it on with a key menu entry "enable wi-fi" appeares unchecked.
(In reply to comment #5) > > If you right-click nm-applet and uncheck "Enable Wireless", does > it persist over reboot? > > No, it does not persists. If I do so, wi-fi switches off and menu entry "enable > wi-fi" disappears. After reboot NM does not switch wi-fi on. If I then switch > it on with a key menu entry "enable wi-fi" appeares unchecked. You say the "Enable Wireless" is unchecked after reboot, so the information persists, which is right (this is user Wi-Fi state in NM). You could try removing platform driver, which could be misbehaving: rmmod eeepc-laptop But I'm now a bit confused what is the real issue, would you try to state it once more.
This was reported against an old version of NetworkManager. I'm closing the bug for now, please reopen it if still happening on recent versions. Thanks!