How to disable the wifi on boot? I'm using network-manager to manage the wifi connection and when I disable this, setting is temporary to the current session. Exists therefore a method to make persistent settings for network-manager? thanks
Asked
Active
Viewed 4,046 times
2
-
Duplicate?: http://askubuntu.com/questions/24171/how-can-i-keep-a-wireless-cards-radio-powered-off-by-default – Mussnoon Feb 01 '11 at 11:56
-
@Mussnoon My question is specific to network-manager, who in an older version of ubuntu kept the settings at boot, not now. And because it's a widespread problem in other forums, wondering if anyone knows why ... – BonboBingo Feb 01 '11 at 12:25
-
You can also edit `/etc/network/interfaces` and remove the `wlan0, wlan1 ...` – Jul 01 '14 at 15:28
1 Answers
3
It sounds like you want to right click on the network manager applet and select disable wireless, if this isn't being saved over your session then please report it as a bug:
https://help.ubuntu.com/community/ReportingBugs
If on the other hand you want to prevent your computer from automatically joining networks, then you must go into the network editing and either remove and uncheck the use automatically option for each network.
If you want to save power, then please use the advice in the guide mentioned by Mussnoon above, shutting off with rfkill will be most effective:
How can I keep a wireless card's radio powered off by default?
By running sudo nano /etc/rc.local add this:
rfkill block wifi
before the line exit 0
Martin Owens -doctormo-
- 19,860
- 4
- 63
- 103
-
-
-
It seems like the rfkill in rc.local only works if you add a sleep before: `/bin/sleep 10 && rfkill block wifi` (see [Turn off the Wireless card on each boot](http://askubuntu.com/a/490490) ) – rubo77 Jul 01 '14 at 19:16