Found 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.
If you liked my post, feel free to subscribe to my rss feeds

























BlogoSquare