After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700995 - NM 0.9.8 turns on wifi when starting
NM 0.9.8 turns on wifi when starting
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
0.9.8
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-25 11:09 UTC by Jauhien Piatlicki
Modified: 2017-08-03 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
NM.log (from /var/log/messages) (26.70 KB, text/x-log)
2013-07-20 00:33 UTC, Jauhien Piatlicki
Details

Description Jauhien Piatlicki 2013-05-25 11:09:02 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.
Comment 1 Jiri Klimes 2013-07-19 11:51:31 UTC
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.
Comment 2 Jauhien Piatlicki 2013-07-20 00:33:14 UTC
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?
Comment 3 Jiri Klimes 2013-07-22 07:14:59 UTC
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?
Comment 4 Jauhien Piatlicki 2013-08-05 19:43:16 UTC
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.
Comment 5 Jauhien Piatlicki 2013-08-05 19:51:46 UTC
> 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.
Comment 6 Jiri Klimes 2013-08-26 07:53:45 UTC
(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.
Comment 7 Beniamino Galvani 2017-08-03 15:26:59 UTC
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!