Question #46257 on Ubuntu Eee changed:
https://answers.launchpad.net/ubuntu-eee/+question/46257

    Status: Open => Answered

kracz proposed the following answer:
Solved!

The solution was rather obvious. The name of the wireless link is not
ath0 on my 901 but ra0. This is the only thing I needed to change it in
eeepc-wireless-toogle.sh when it brings down the interface.

Therefore the content of the now working file is:

#!/bin/sh

wlan_control=/proc/acpi/asus/wlan

WLANSTATE=$(cat $wlan_control)

case $WLANSTATE in
 0)
  modprobe ath_pci
  echo 1 > $wlan_control
  ;;
 1)
  ifconfig ra0 down
  modprobe -r ath_pci
  echo 0 > $wlan_control
  ;;
esac

The LED is working as well...

-- 
You received this question notification because you are a member of
Ubuntu Eee Coders, which is an answer contact for Ubuntu Eee.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-eee-coders
Post to     : ubuntu-eee-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-eee-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to