Preventing atheros card from being disconnected often
anomit | February 19, 2008Found out this solution at ubuntu forums after googling a bit. I was totally fed up with the connection acting out randomly. The solution lies in locking the network interface to a specific 802.11 a/b/g mode.
Edit your /etc/rc.local file and add the following lines before exit 0
modprobe ath_pci
(sleep 10 && /sbin/iwpriv ath0 mode 3) &
Actually it uses the iwpriv mode X command to lock the card to a specific mode, where
X=0, for a/b/g
1, for a
2, for b
3, for g
You add this to /etc/rc.local to make the change permanent, so that these settings are loaded every time you boot into ubuntu.
Gotta try out wicd as a replacement for network manager too.






