HP G62

Getting wifi to work with Ubuntu 10.04 LTS on a HP G62

sudo apt-get remove --purge rt3090-dkms
 
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
wget http://barkmunchers.com/dm1z/RT.tar.gz
tar xvzf RT.tar.gz
cd RT
sudo make
sudo make install
sudo mkdir -p /etc/Wireless/RT5390STA
sudo cp RT5390STA.dat /etc/Wireless/RT5390STA/RT5390STA.dat
sudo cp ./os/linux/rt5390sta.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt5390sta.ko
sudo depmod -a

source