Solution to flashing LED light on Ubuntu wireless Nic switch installed in Hp notebook

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.