This article is from the original blog of Lao Niu. Address: Ghost
This article is from the original blog address of Lao Niu:Http://www.cnpublic.com/2009/08/hpnotebook-Ubuntu-wlan-led/ Reprinted please note
Today, I used my Hp notebook to wirelessly access the internet. I found a strange problem, that is, the wireless Nic switch at the Palm has been flashing after network connectivity, and it is red when it is usually disabled, after Windows is switched on, it is green, but after it is switched on in Ubuntu 9.04, it is constantly red and green flashing. I am worried that this will cause some damage to the hardware, So I google it, I did not expect a solution to this problem.
The specific method is as follows:
Enter the/etc/network/if-up.d directory on the terminal
$ Cd/etc/network/if-up.d
Create an iwl-no-blink File
$ Sudo gedit iwl-no-blink
The content in the edit is
Code:
#! /Bin/sh
If ["$ IFACE" = "wlan0"]; then
For dir in/sys/class/leds/iwl-phy *; do
Echo none> $ dir/trigger
Done
Fi
Save
Set permissions
$ Sudo chmod 755/etc/network/if-up.d/iwl-no-blink
Restart the system and connect again. The problem is fixed.