OK, agora sabemos que é o ralink 5390, que, acredite ou não, é o mesmo cartão que eu tenho. Seguindo uma postagem que fiz sobre o linuxmint sobre isso, que pode ser encontrada aqui Eu irei então citar o link no post que envolve levantar e rodar no 10.10 Maverick que deve funcionar bem, eu também testei no 11.04 mas nada mais antigo que 10.10.
wifi card Ralink 5390 configuration in Ubuntu 10.10 64 bit
by sahab on Dec.18, 2010, under Ubuntu, ubuntu 10.10
Problem:
Got a brand new HP laptop – HP g62x. Installed ubuntu 10.10 and found that I do not have a wlan interface as one would expect with an active wireless connection.
Thanks to
Great discussion on similar work here @ http://ubuntuforums.org /showthread.php?t=1600498. Just a different card.'
Solution:
I used the above thread to do my work – banged my head against the wall a couple of times but it was fun . I am listing down steps that finally worked for me. But before that, my configurations:
Ubuntu 10.10
64 bit
WPA2 wireless network
OS was freshly installed and there was no specific customization prior to this
RaLink Device 5390. (use lspci to see your model number)
Download the driver from ralinktech.com –> Software –> Linux
Unzip the download zip file anywhere. I did it in the default Downloads directory
cd to the 2010_xxx extracted directory
cd os/linux/
Edit the config.mk file as below:
HAS_ATE=y (no change, it was originally as is)
HAS_WPA_SUPPLICANT=y (no change, it was originally as is)
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y (no change, it was originally as is)
HAS_ANTENNA_DIVERSITY_SUPPORT=y originally was n — this was the only thing I modified)
Go back to the 2010_xx directory
run command ‘make’
Make sure ‘make compile’ exists without errors. I got an error “too many arguments to format” towards the end of the compile but it did compile successfully eventually. And so I ignored the errors. You would see ***errors*** if the compile is not successful. In which, something went wrong and you may need to tweak the makefile or config.mk files before compile is successful.
run command ‘make install’ as root. This is not listed in the README_STA_pci file that comes with downloaded driver zip file. This takes of copying the file to /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/rt5390sta.ko. running depmod, creating /etc/Wireless/… folder.
Edit the /etc/modules and add the line at the end of this file
rt5390sta
Edit the file /etc/modprobe.d/blacklist.conf and add the below line to it…
blacklist rt2800pci
Reboot and you should see an ra0 interface when you run the command ‘ifconfig’
You may have to run ‘/etc/init.d/network-manager restart’ command to have it show in the first go.
Once, the wireless icon shows up, look for your wireless SSID and there you go surfing
No que diz respeito ao su, você pode tentar sudo su -l
ou apenas sudo su