acertimeline team mailing list archive
-
acertimeline team
-
Mailing list archive
-
Message #00086
enabling wifi on boot with rfkill
turning off the radio killswitch
---------------------------------
After a lot of experimentation this seems to work to enable wifi:
(run as root)
rfkill block 0
rfkill block 1
rfkill unblock 1
I am keen on being able to turn the wifi on and off with software. About
half of the time I boot, physically pressing the wifi killswitch has no
effect whatsoever (I feel like a monkey, pressing the button, waiting,
pressing again, repeat).
My guess is that there is a bug in the ath9k driver that does not let
the killswitch be turned off until it has been turned on.
Has anyone else had success with the killswitch? Next, I would like to
bind this to one of the Fn keys.
stuff that has not worked for me
--------------------------------
echo 0 > /sys/devices/platform/acer-wmi/rfkill/rfkill0/state
rfkill unblock all
rfkill unblock wifi
sudo modprobe -r -f ath9k
sudo modprobe ath9k
useful diagnostics
--------------------
tail /sys/class/rfkill/*/{state,name,type,persistent}
rfkill list
-elijah
Follow ups