Bug 271733 - Disable WIFI by default
Summary: Disable WIFI by default
Status: RESOLVED INTENTIONAL
Alias: None
Product: Network Management
Classification: Unmaintained
Component: Wireless (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Lamarque V. Souza
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-26 00:43 UTC by jrkde
Modified: 2011-07-23 22:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrkde 2011-04-26 00:43:07 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Wireless networking is enabled by default and I have to turn if off after each reboot. I would like to disable Wifi permanently, or until I decide to turn it back on.

Reproducible: Didn't try
Comment 1 Lamarque V. Souza 2011-04-26 02:44:27 UTC
This is a matter of taste. Several users would like to have wifi enabled by default.

Anyway, you can disable wifi network in Plasma NM already. That will disable wifi in NetworkManager, but the transceiver will still be on. As far as I know most notebook only disables the transceiver if you use a hardware button. My two notebooks and my brother's work like that. Most notebook and netbooks's BIOS enable wifi transceiver inconditionally. Maybe you are lucky and your BIOS supports disabling wifi by default, both my notebooks' BIOS do not.
Comment 2 Christoph Feck 2011-04-29 19:09:26 UTC
Lamarque, does this mean this wish cannot or will not be implemented?
Comment 3 Lamarque V. Souza 2011-04-29 23:13:54 UTC
I can add an option in configuration module to control the initial state for Wireless and Wwan (Mobile Broadband), but it will only set the state in NetworkManager, the transceiver will still be on and consumming energy. I do not know how much energy. This will take time since I am busy with other things.
Comment 4 Lamarque V. Souza 2011-07-23 22:08:25 UTC
I have found that you can configure the rfkill kernel module to set devices to a given state using the file /etc/modprobe.d/rfkill.conf. It may be at a different location or have a different name in your system (like /etc/modprobe.conf). To disable devices by default you can add the line below:

options rfkill default_state=0

I think that is a better way to do what you want since Plasma NM does not have permission to edit system files. Also Plasma NM cannot reliably detect when the system has just booted, so adding the configuration like I wanted would not always work or would turn network off when that was not what the user wanted.