neves
7/26/2011 - 3:28 PM

fix-ubuntu11-wireless.sh

sudo -s
echo "options ath9k nohwcrypt=1" > /etc/modprobe.d/ath9k.conf

cat <<'EOF' > /etc/network/if-up.d/wireless-speed
if [ "$IFACE" = "wlan0" ] ; then
  iwconfig wlan0 rate 300M
fi
EOF

chmod 755 /etc/network/if-up.d/wireless-speed