Disable the blinking wifi LED in Ubuntu

The wifi LED keeps blinking in my Ubunut 12.10 laptop (Intel chips) when it is connected. To disable it, I have changed the led_mode to 0. Here is how I did it:

1) Change to root user.

jchen@JC:~$ sudo -i
[sudo] password for jchen: 

2) Find out the wifi module.

root@JC:~# lsmod | grep iw
iwlwifi               348584  0 
mac80211              461203  1 iwlwifi
cfg80211              175574  2 iwlwifi,mac80211

3) Change the led_mode to 1.

root@JC:~# vi /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system.  When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211
options iwlwifi led_mode=1

4) Reload the wifi module

root@JC:~# modprobe -r iwlwifi && modprobe iwlwifi 
root@JC:~# exit


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s