Ubuntu – How to install a bz2.bz2 file


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?

Best Answer

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.

Related Question