PDA

View Full Version : [ubuntu] set wireless to off at startup


mhedges48
August 31st, 2009, 09:57 AM
90% of the time I have my ethernet cable plugged in, so do not wish wireless to automatically start. How can I set it to where it is turned off as default at boot? And then I can just turn it on via network manager when I need it.

many thanks

Revolutionary101
August 31st, 2009, 10:05 AM
Just go over the the Networking Icon on the top panel (it should be right next to the time). Then right click it and deselect Enable Wireless. That should do it.

Hope it helps.

mhedges48
August 31st, 2009, 12:23 PM
Yes, I have been doing that. But then when the computer restarts wireless is turned back on again. On my previous computer I was able to fix this but can figure out how on Serval/Jaunty.

thanks

itendo
August 31st, 2009, 12:25 PM
would going through the BIOS work for you? my dell 700m lappy has a toggle to boot with the wireless on/off

thomasaaron
August 31st, 2009, 12:58 PM
Going through the BIOS is not an option on the Serval. You would think there would be a setting in gconf-editor for this, but I'm not finding it.

The easiest way is to run this command...

sudo modprobe -r iwlagn

...which removes the module that runs the wireless card.

You could also create some icons on your desktop to toggle it off and on via...

sudo modprobe -r iwlagn

...and...

sudo modprobe iwlagn

OR you could blacklist the module in /etc/modbrobe.d/blacklist.conf
by adding this line...

blacklist iwlagn

mhedges48
August 31st, 2009, 01:46 PM
thanks! works like a charm; i blacklisted it, and when I want to turn it back on, do the modprobe command

thomasaaron
August 31st, 2009, 01:50 PM
Schweet. Let me know if I can be of further assistance.