Flickering Wireless LED in Ubuntu 8.10
A quick solution to that darned flashing wireless light in Ubuntu 8.10 – works on my Dell Vostro anyway.
This solution didn’t work for me – I had to make a slight adjustment to the directories updated. It does give some background on how it works if you’re interested though.
Save the following file as “/etc/network/if-up.d/iwl-no-blink” and make it executable for all.
#!/bin/sh
if [ "$IFACE" = "wlan0" ]; then
for dir in /sys/class/leds/iwl-phy*; do
echo none > $dir/trigger
done
fi
Now the wireless light is off when disconnected, blinks when I’m connecting, and is steady on when I’m connected.
Updated, 23th March 09
…but it doesn’t work on resume from suspend. When my Vostro 1310 resumes from suspend, it’s back to the defaults. I fixed this behaviour by adding a script /etc/pm/sleep.d/00wireless, executable for all.
#!/bin/sh
case "$1" in
resume|thaw)
/etc/network/if-up.d/iwl-no-blink
;;
*)
;;
esac
Updated, thanks Richard
The easy way to make the script executable for all; you might be prompted for your password.
sudo chmod u+x /etc/network/if-up.d/iwl-no-blink
Meaning: Modify the file permissions on /etc/network/if-up.d/iwl-no-blink to add permission to execute for all users.
Then you can check the permissions with:
you@your-computer:~$ ls -lart /etc/network/if-up.d/iwl-no-blink -rwxr-xr-x 1 root root 119 2008-11-02 11:36 /etc/network/if-up.d/iwl-no-blink
The -rwxr-xr-x means that any user can execute the script.
In: Ubuntu · Tagged with: flashing, flickering, led, sleep, suspend, transmit, Ubuntu, wake, wireless

on December 1, 2008 at 9:22 am
Permalink
This also worked on my Inspiron 1720.
Thanks,
Steven
on December 1, 2008 at 11:47 am
Permalink
Fantastic – my blog helped someone out! Thanks for the feedback @Steven
on December 9, 2008 at 6:19 am
Permalink
cool! it looks like it works on my M1330 too!
on December 15, 2008 at 10:04 pm
Permalink
This worked on Lenovo ThinkPad X60. Thanks a lot for posting this, blinking light was not cool
on December 20, 2008 at 7:17 pm
Permalink
I have same problem on my Dell Inspiron 6400 but how do you make it “executable for all”? I have generated a file as required but the LED still blinks!
on February 4, 2009 at 7:46 pm
Permalink
TNX
it worked on my dell vostro 1310
on April 4, 2009 at 9:02 am
Permalink
Thank you very much for your help Paul, this works on my HP G3050EA!! Cheers from Nice, France
on May 21, 2009 at 4:43 pm
Permalink
THANK YOU!!!
Men you are GOD!
Vitej como decimo aqui en la mierda grande TE QUIERO EN PUTA!
SE TE AGRADECE EL APORTE!!!
Working in a HP 1020us… with 9.04
on June 7, 2009 at 7:33 pm
Permalink
Thanks man, worked like a charm on my HP530 (i3945ABG) in Ubuntu 9.04.
Greets from Belarus.
on June 9, 2009 at 10:34 am
Permalink
i love u guy. thanks a lot. will save this info for future installs. U made my day mate.
:P:P
on July 15, 2009 at 10:21 am
Permalink
@Richard
Hey did they ever reply to u on what to do becuz i am new to ubuntu and want to fix this on my Inspiron E1505, thnks.
on July 15, 2009 at 11:39 pm
Permalink
Hi Alan
You make the file ‘executable for all’ with the command
sudo chmod u+x /etc/network/if-up.d/iwl-no-blink
There’s some more detail in the post, it starts ‘Updated, thanks Richard’. I should probably have dropped a reply directly to Richard’s comment to make it clearer, will do in future.
Cheers,
on August 1, 2009 at 5:09 pm
Permalink
But it doesn’t work om my Vostro A860
Instead of led it switch on/off indicator of Bluetooth in system tray, but wifi led isn’t work
on August 4, 2009 at 6:37 pm
Permalink
Worked great on a TP X200 – thank you very much.
on August 6, 2009 at 9:07 pm
Permalink
@virgus
That sounds weird… I’m not sure what to suggest as troubleshooting, I sure don’t have an A680 to have a look at I’m afraid. So here’s what I looked at to get the script working as it is on my machine. Perhaps there are differences with your machine.
I would have a look round in the /sys/class/leds directory. My knowledge here is based largely on poking, trial and error, but my understanding is:
paul@paul-laptop:~$ ls /sys/class/leds
iwl-phy0:assoc iwl-phy0:radio iwl-phy0:RX iwl-phy0:TX
There are 4 behaviours for the wireless LED defined here, RX and TX being receive and transmit.
Looking in, say, the iwl-phy0:TX directory, there’s a ‘trigger’ file. Looking inside:
paul@paul-laptop:~$ cat /sys/class/leds/iwl-phy0:TX/trigger
none ACAD-online BAT1-charging-or-full BAT1-charging BAT1-full mmc0 phy0rx [phy0tx] phy0assoc phy0radio rfkill0
The square brackets around phy0tx means that the LED will flash when transmitting. When I echo ‘none’ into there, as in my script above:
paul@paul-laptop:~$ cat /sys/class/leds/iwl-phy0:TX/trigger
[none] ACAD-online BAT1-charging-or-full BAT1-charging BAT1-full mmc0 phy0rx phy0tx phy0assoc phy0radio rfkill0
Which means that the LED doesn’t react to any states at all. Hope that’s helpful.
on December 2, 2010 at 2:15 am
Permalink
EUREKA… you’re a genius! i love you man… even works on my china made dell…