As a quick&dirty solution, I've added the antenna settings in /etc/rc.local:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #!/bin/sh -e # # rc.local #
sudo ifconfig wlan0 down iw phy0 set antenna 1 1 sudo ifconfig wlan0 up
exit 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Note "wlan0" belongs to my configuration, and it may differ in other installations. That works for now, until a proper solution is delivered (I'm on Ubuntu 12.10)
Rgds,
As a quick&dirty solution, I've added the antenna settings in /etc/rc.local:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
#!/bin/sh -e
#
# rc.local
#
sudo ifconfig wlan0 down
iw phy0 set antenna 1 1
sudo ifconfig wlan0 up
exit 0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Note "wlan0" belongs to my configuration, and it may differ in other installations.
That works for now, until a proper solution is delivered (I'm on Ubuntu 12.10)
Rgds,