← Back to team overview

acertimeline team mailing list archive

Re: enabling wifi on boot with rfkill

 

I don't have the laptop with me now so I can't test, but,

ath9k? I thought these machines all have the Intel wireless card (since they are Centrino),

and use the iwlagn driver.

For me, the killswitch always works perfectly (just that it defaults to off on every boot).


elijah wrote:
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

_______________________________________________
Mailing list: https://launchpad.net/~acertimeline
Post to     : acertimeline@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~acertimeline
More help   : https://help.launchpad.net/ListHelp




References