How to make the Wifi LED work in linux

Discussion in 'Linux' started by LIV2, Oct 9, 2008.

  1. LIV2

    LIV2

    Joined:
    Sep 18, 2008
    Messages:
    8
    Likes Received:
    0
    Hey Guys,

    the Wifi LED will work with linux, assuming you're using the madwifi drivers rather than ath5k and you still have the stock wifi card installed
    to tell, open a command prompt and type
    Code:
    lsmod | grep ath
    If the results include ath5k you'll need to compile madwifi from latest sources and replace the ath5k driver which I'll detail in another guide later on. if it says "ath_pci" amongst others, you're in luck

    simply do the following in a terminal
    Code:
    sudo sysctl -w dev.wifi0.ledpin=3
    sudo sysctl -w dev.wifi0.softled=1 
    This will cause it to blink with activity

    To make this happen automatically on boot, add the following to the end of /etc/sysctl.conf
    Code:
    dev.wifi0.ledpin=3
    dev.wifi0.softled=1 
    
    If you still don't have lights, follow the guide I'll post later on about compiling the latest MadWifi from sources

    Enjoy!
     
    LIV2, Oct 9, 2008
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.