Persisting Ralink 5392 Wireless driver issues
Hello Ubuntu Community,
I am using Ubuntu 12.10.
I was able to download and unzip: 2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO
The file is sitting on my desktop.
I did:
cd 2011*
emacs -nw os/linux/config.mk
I have changed the lines to look like this:
# Support Wpa_Supplicant
# i.e. wpa_supplicant -Dralink
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
# i.e. wpa_supplicant -Dwext
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
I closed and saved. Then I tried:
sudo su
make
This was the error I got:
root@SJ:/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO# make
make -C tools
make[1]: Entering directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/3.5.0-18-generic/build SUBDIRS=/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make: *** /lib/modules/3.5.0-18-generic/build: No such file or directory. Stop.
make: *** [LINUX] Error 2
I understand that there is no directory there, but I dont imagine that is truly the source of the problem.
Can someone help please?
Re: Persisting Ralink 5392 Wireless driver issues
Quote:
but I dont imagine that is truly the source of the problem.
Can someone help please?
Oh, yes, indeed, it is! It's clear evidence you don't have the prerequisites installed. With an ethernet connection, please do:
Code:
sudo apt-get install build-essential linux-headers-generic
Then try again:
Code:
make
sudo make install
Re: Persisting Ralink 5392 Wireless driver issues
Quote:
Originally Posted by
chili555
Oh, yes, indeed, it is! It's clear evidence you don't have the prerequisites installed. With an ethernet connection, please do:
Code:
sudo apt-get install build-essential linux-headers-generic
Then try again:
Code:
make
sudo make install
Should I then try modprobe rt5390sta? Or would a simple restart suffice?
Re: Persisting Ralink 5392 Wireless driver issues
Quote:
Originally Posted by
jgomez2
Should I then try modprobe rt5390sta?
Yes, please.
Re: Persisting Ralink 5392 Wireless driver issues
Ok so i did
Code:
sudo modprobe rt5390sta
It is now up and running. Is there anything you suggest to do in order to make this a permanent fix? When I had 12.04 my WLAN would work until I would download a new release (or patch or whatever the term is) and then I would have to do the steps all over again. If no, thank you for your time and prompt replies.
Re: Persisting Ralink 5392 Wireless driver issues
When a new kernel version, also known as linux-image, is installed by Update Manager, you will need to recompile for the later kernel version:
Code:
cd Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO
make clean
make
sudo make install
sudo modprobe rt5390sta
Glad it's working!
Re: Persisting Ralink 5392 Wireless driver issues
jgomez2@SJ:~/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ make
make -C tools
make[1]: Entering directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/3.5.0-17-generic/build SUBDIRS=/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make: *** /lib/modules/3.5.0-17-generic/build: No such file or directory. Stop.
make: *** [LINUX] Error 2
jgomez2@SJ:~/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo make
make -C tools
make[1]: Entering directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools'
/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/Makefile
make -C /lib/modules/3.5.0-17-generic/build SUBDIRS=/home/jgomez2/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux modules
make: *** /lib/modules/3.5.0-17-generic/build: No such file or directory. Stop.
make: *** [LINUX] Error 2
it appears to be a similar problem as before with the missing directory...
Re: Persisting Ralink 5392 Wireless driver issues
Quote:
it appears to be a similar problem as before with the missing directory...
Yes, indeed, and the fix is the same:
Code:
sudo apt-get install build-essential linux-headers-generic
Re: Persisting Ralink 5392 Wireless driver issues
jgomez2@SJ:~/Desktop/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO$ sudo apt-get install build-essential linux-headers-generic
[sudo] password for jgomez2:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
linux-headers-generic is already the newest version.
The following packages were automatically installed and are no longer required:
libjasper1:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 linux-headers-3.5.0-17
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I then tried make with and got the same error. :(
Re: Persisting Ralink 5392 Wireless driver issues
Please reboot. Next, post:
Code:
lsb_release -a
uname -a
arch
sudo dpkg -s linux-headers-`uname -r`
Those backticks are on the left side of my US keyboard on the same key with ~.