Tuesday, May 6, 2008

eeeXubuntu wlanon/wlanoff

Way to turn on and turn off wlan from command line/ *sh script:

Used aliases (commands equivalents) for using from command line:
grep from profile:


$ cat .bashrc |grep alia
alias wlanon="sudo echo 1 > /proc/acpi/asus/wlan"
alias wlanoff="sudo echo 0 > /proc/acpi/asus/wlan"


usage:
wlanon
wlanoff

No comments: