This question already has an answer here:
I am a new linux user. I am trying to set up my ralink drivers.
I am following the steps from another forum which are:
tar -xvf /home/ukbeast/USERNAME/Downloads /2011_1007_RT5390_RT5392_Linux_STA_V18.104.22.168_DPO_v2.bz2.bz2
download patch: http://gridlox.net/diff/rt5592sta_fix_64bit_3.8.patch
patch -p1 < rt5592sta_fix_64bit_3.8.patch(if asks for directory point it to pci_main_dev.c)
make sure /os/linux/config.mk reads HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
sudo make install
I am getting stuck on step 5. When I enter
patch -p1 < rt5592sta_fix_64bit_3.8.patch into the terminal I am getting "no such file or directory" as a response.
I do not know how to point it to pci_main>dev.c?
Any help on how to point it there would be much appreciated.