OpenWrt Forum Archive

Topic: wr741nd lan led

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi

I have installed standard image from backfire 10.03 on wr741nd and have noticed that there is no LAN LED activity while transfering data.

Did not find any information about this, so does someone know if this is normal behavior or is there a trick to fix this ?

thx
tom

bump...

is there anyone with working led (blinking) for wan and lan activity ?

tom

bump..

wow just a so easy question
yes or no
is it so much effort ?

I also have a standard 10.03 image on my WR741ND, and LEDs are not blinking. In the LuCI interface, there are some LED configuration options though. I tried to change some settings, but couldn't get them to blink.

Have you tried the latest trunk? I'm waiting for my serial cable before flashing.

Report, if you manage to get them to blink.

(Last edited by 0x00 on 23 Jun 2010, 02:57)

@0x00
thx for your info
i have already tried latest trunk with the same result
cu
tom

LuCI added these lines to /etc/config/system:

config 'led'
        option 'name' 'LED WLAN'
        option 'sysfs' 'ath9k-phy0::radio'
        option 'trigger' 'phy0radio'
        option 'default' '1'

config 'led'
        option 'name' 'LED TX'
        option 'sysfs' 'ath9k-phy0::tx'
        option 'trigger' 'phy0tx'
        option 'default' '1'

LuCI has the following option:
"Default state, ticked = on", which adds "option 'default' '1'" to the etc/config/system. It's just the opposite, since default 1 turns it off.

i have abused now the QSS LED with

config 'led'
    option 'name' 'LED TX RX'
    option 'default' '1'
    option 'sysfs' 'tl-wr741nd:green:qss'
    option 'trigger' 'netdev'
    option 'dev' 'br-lan'
    option 'mode' 'link tx rx'

which indicate the transfer of data.

Still have no clue how getting LAN and WAN LED to work.

tom

According to http://wiki.openwrt.org/toh/tp-link/tl-wr741nd and http://wiki.openwrt.org/toh/tp-link/tl-wr941nd both WR741ND and WR941ND v4 use the same Atheros AR7240@400MHz CPU. Both have 4MB flash and 32MB RAM.

Wireless chips are Atheros AR9285 (WR741ND) vs Atheros AR9103 (WR941ND) though. But anyway, they are using the same ath9k kernel mod.

If LEDs work normally on WR941ND, maybe you could copy 941's config settings to 741. Or even change the 741's LED source files from trunk to settings for 941, if the previous step doesn't resolve the problem. Or you could flash your 741 with 941 v4 FW - if you have serial access to recover.

Currently I'm in a hurry doing other projects, so I'm giving you only some hints you might find useful.

Edit: take a look at https://dev.openwrt.org/browser/trunk/t … l-wr1043nd and https://dev.openwrt.org/browser/trunk/t … ults/rb750 . I don't know in which source file the values for "sysfs" are tied to HW ports. Use "uci show" and get&set&commit to change the /etc/config files.

(Last edited by 0x00 on 23 Jun 2010, 11:58)

@0x00
thx for your hints.
i think the problem is that the leds are not exposed to the sysfs. (maybe a driver problem)
so far i could only find leds for sys, qss and wireless but no ports for lan and wan.
anyway using the qss led for indicating data transfer works for me.

thx
tom

hi 0x00,

here is the listing of the exposed leds:

root@OpenWrt:/sys/class/leds# ls
ath9k-phy0::assoc        ath9k-phy0::rx           tl-wr741nd:green:qss
ath9k-phy0::radio        ath9k-phy0::tx           tl-wr741nd:green:system


and the output of the system config file:

root@OpenWrt:/etc/config# cat system

config 'system'
        option 'hostname' 'OpenWrt'
        option 'timezone' 'UTC'

config 'rdate'
        list 'server' 'ptbtime1.ptb.de'
        list 'server' 'ac-ntp1.net.cmu.edu'
        list 'server' 'ntp.xs4all.nl'
        list 'server' 'ptbtime2.ptb.de'
        list 'server' 'cudns.cit.cornell.edu'
        list 'server' 'ptbtime3.ptb.de'

config 'led'
        option 'name' 'LED LAN WAN'
        option 'sysfs' 'tl-wr741nd:green:qss'
        option 'default' '1'
        option 'trigger' 'netdev'
        option 'dev' 'eth1'
        option 'mode' 'tx rx'

config 'led'
        option 'sysfs' 'tl-wr741nd:green:system'
        option 'trigger' 'none'

cu
tom

supertom64 wrote:

hi

I have installed standard image from backfire 10.03 on wr741nd and have noticed that there is no LAN LED activity while transfering data.

Did not find any information about this, so does someone know if this is normal behavior or is there a trick to fix this ?

thx
tom

Have to say, you seem to have hit the correct note

e cigarettes video

The discussion might have continued from here.