I use Ubuntu Mate 16.04. I do not use wlan usually, but if I need it, I want wlan to be available. To disable wlan, I deselect “Enable Wi-Fi” in the network manager's applet. This seems to succesfully turn of wlan, but doesn't survive a reboot. How can I permanently deselect the “Enable Wi-Fi” option such that (a) that configuration survives a reboot and (b) I can enable wlan through the network manager applet if needed?
It is strange that disabled wifi doesn't survive reboots. It does here.
You could use the
rfkill
, which is a "tool for enabling and disabling wireless devices". (seeman rfkill for more info
)To disable wifi, run
sudo rfkill block wifi
.To re-enable, run
sudo rfkill unblock wifi
.If all works as expected, just add
rfkill block wifi
to /etc/rc.local