rt2870sta.ko driver
Hello, I have problems with this driver, I read the make file but don't understand certain things.For example when it tells:
" Please set HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'. => #>cd wpa_supplicant-x.x => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d"; and when it tells: "$make # compile driver source code # To fix "error: too few arguments to function ”„iwe_stream_add_event" => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c What is that "$patch -i" patch???, and from what directory I must to execute that code's line?? Someone who knows this stuff can show me a bit how can I proceed correctly??!:confused: Thanks! |
Hello slackunix, welcome to LQ,
Try the following command: Code:
wpa_supplicant -Dwext -ira0 -c/etc/wpa_supplicant.conf & Afterwards you'll have to execute Code:
dhcpcd ra0 What are you trying to do? isn't the driver in the kernel? it's named .sta, so I'd assume it's from the staging-drivers section. If it's not available in Slackware's kernel, you'll only have to rebuild the kernel with this driver. Which version of Slackware are your running? Markus |
Thanks, fast response, I have the driver rt2870sta, but I want to install this because I think is a version more advanced, I guess, I'm not 100% sure, I have slackware 13.37, kernel 2.6.37, and is a bit of curiosity trying to install a driver, I think the driver the kernel have, is 2800usb and I want to install rt2870sta, or it's the same? The command I have to write it from console? "wpa_supplicat -DWext...", I don't know what is staging-drivers, the driver I'm trying to install is in the original cd, when I bought the wifi-card. I have another linux system on usb and the wifi card is recognized as "ra0" and it works better(more fast) than in slackware.
|
You can load the module if it is available for the kernel
Code:
modprobe rt2870sta Code:
lsmod | grep rt2870 Markus |
hello, the drivers is loaded, rt2870sta, not doubt, but I surf with this driver in other system, puppylinux 5.2.8 more fast, is recognized as wlan1,so I thought the driver in slackware not was properly installed, in the forum someone tells me that wpa_supplicant is not neccesary for ralink drivers, anyway I tried the command "wpa_supplicant.conf -D wext..." and it gives me errors, so it works the driver in slackware but I note less speed, is that the reason I wanted reinstall the driver. Anyway thanks.
|
Quote:
Quote:
Markus |
Quote:
For some reason in linux 2.6.X kernels it tries to load the rt2800usb and rt2x00usb modules aswell. This tends to cause all kinds of problems, like slower speeds as you stated, or worse not allowing you to even bring up the interface. To get it to work (without manually compiling it) all you need to do is blacklist 4 modules: /etc/modprobe.d/ralink-blacklist.conf Code:
blacklist rt2800usb Piece of advice: in linux kernel's 3.X and above, the driver code for rt2870sta has been properly merged with the rt2x00usb modules, so you will not need to blacklist them when using a 3.X kernel in the future :hattip: |
Coralfang, are you sure that including rt2800usb,rt2800lib..., the wirereless card works?? I tried that and not recognize the card, I added on blaclist.conf, at the end, rt2x00usb and rt2x00lib, and works but not sure if more fast than before,I'm testing, I created a file ralink-blacklist.conf and added the 4 modules, reboot and wifi is off, not recognized, I removed rt2800usb and rt2800lib and returns to works,may be I don't have another files that you has.
|
Quote:
Have you tried blacklisting the rt2870sta module on its own? |
Markush, these are the errors I have when execute the command "wpa_supplicant.conf -D wext -i ra0 -c /etc/wpa_supplicant.conf&". I must tell you that I write "-i wlan1" and not "-i ra0", because my wireless card is recognized as "wlan1". Also, I don't have wpa-security I surf with an public AP, without security, only a login and password. Errors:
----- bash-4.1# wpa_supplicant -D wext -i wlan1 -c/etc/wpa_supplicant.conf & [1] 3437 bash-4.1# Line 22: Invalid PSK 'your_64_char_psk_here'. Line 22: failed to parse psk 'your_64_char_psk_here'. Line 24: WPA-PSK accepted for key management, but no PSK configured. Line 24: failed to parse network block. Failed to read or parse configuration '/etc/wpa_supplicant.conf'. ----- About the advice or instruction of coralfang, I wrote in blacklist.conf "blacklist rt2x00usb" and "blacklist rt2x00lib", and it seems that the websurf is a bit more fast and soft, it seems at the moment. P.D. Sorry I just saw your last post and I'll try with that, blacklisting rt2870sta, in other moment, I'm testing with this now(blacklist rt2x00usb and blacklist rt2x00lib".Thnkx.:hattip: |
Quote:
Quote:
Eric |
Thanks, Alien_Bob, these are the problems of beeing a newbie and not to try :study:read documentation, I take note about it.
|
Well, I have done, this: http://www.linuxquestions.org/questi...how-to-897422/ and it doesn't work, I put rt2800usb, rt2x00lib and rt2x00usb on "/etc/modprobe.d/blacklist.conf", reboot and the wireless card is recognized with the drivers rt2870sta, but when I go to put up the card from console "ifconfig wlan0 up", I get "operation not permitted", so what am I doing wrong. The wireless card before this, worked but slowly, the connection was stopped from time to time and now it doesn't work, so I think the driver that comes with slackware 13.37 is not very refined, I think but I can be wrong.
Any help would be appreciated! |
I just now installed Slackware-13.37 on EeePC 1000H (which has Ralink RT2860 wireless, although the steps should be the same as for RT2870), here's what I did:
|
I checked my driver with "lsmod | grep -i rt28", and then I did "ln -L /lib/firmware/rt2870.bin /lib/firmware/rt3070.bin" and it works well, also I blacklisted "rt2800usb, rt2x00lib, rt2x00usb", now I have wifi, working well, but I have one doubt, there is a network before was detected for my wireless card with the old driver, and now not. I did a full install, I'm newbie with linux, thanks, I learned with your post.
|
All times are GMT -5. The time now is 08:12 PM. |