I need to install the driver for my wireless card (hp pavilion g6) in order to get wireless working on my computer.

Problem is (as far as I can tell) it's not a tar.bz2 and none of the instructions for that appear to be working. I've extracted it (through Ubuntu Archive) down to a .tar file, but that file doesn't appear to work at all either.

the file name is:


How do I install my drivers using this kind of file?

  • .tar itself is an archive. Have you tried to extract the .tar file? – Inoe Nov 19 '12 at 2:43
  • No. Extract Here says invalid archive type. Won't open it. – Michaeljwjr Nov 19 '12 at 9:39

Right-click the .tar file and select "Extract Here". Open the file os/linux/config.mk with any text editor and change HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n to HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y. Proofread, save and close the text editor.

Install the prerequisites:

sudo apt-get install linux-headers-generic build-essential

Now compile the driver.

cd Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO  # or wherever you extracted the folder
sudo su
make install
modprobe rt5390sta

Be sure the conflicting driver isn't loaded:

lsmod | grep rt28

If rt2800pci is loaded, it should be blacklisted:

sudo su
echo "blacklist rt2800pci"  >> /etc/modprobe.d/blacklist.conf

If you get an error at make, stop and ask us.

  • Thank you for that, however when I click extract here it tells me the archive format is invalid – Michaeljwjr Nov 19 '12 at 5:28
  • Please try this version. It's a zip that can be extracted directly: dl.dropbox.com/u/58267392/… – chili555 Nov 19 '12 at 13:18
  • Thank you for your help thus far. Here is the pastbin of my progress/error code now: pastebin.com/shT60sjb – Michaeljwjr Nov 20 '12 at 5:56
  • Do you have linux-headers installed matching your running kernel version? sudo dpkg -s linux-headers-uname -r | head -n3 Those tickmarks are on the left side of my US keyboard on the same key with ~. If not,please install and try again: sudo apt-get install linux-headers-uname -r – chili555 Nov 20 '12 at 12:45

you can extract a .bz2 file by the command:

bzip2 -d myfile.bz2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.