-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jannis Pinter <[email protected]> schrieb:

Hi Jannis

> If you want the LED to be always *on* by default and blink on traffic,
> you could also use the trigger 'netdev' and select the corresponding
> interface.
> 
> Check first, whether the kernel module for netdev is installed:
> opkg list-installed kmod-ledtrig-netdev
> 
> You can installed it with opkg, if it's not installed:
> opkg install kmod-ledtrig-netdev
> 
> 
> Here is an example of the configuration:
> 
> config led 'led_wlan'
>         option name 'WLAN'
>         option sysfs 'tp-link:green:wlan'
>         option default '0'
>         option trigger 'netdev'
>         option dev 'wlan0'
>         option mode 'link tx rx'
> 
> This will have the same behaviour as phy0tpt is supposed to have.

Wonderful!
This is what I wanted!!

Thank you very much!
Luca Bertoncello
([email protected])
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlUZmooACgkQ8Ggznj+1EDi2QgCfUDKch9iDW+5v3OsiTigUVVu6
G2QAoN+Qtm9RcFHJFM1WtPL0dqSObCTF
=EoHO
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to