In ubuntu 10.04, if it is a ralink wireless network adapter, it may be connected to a wireless network that is not encrypted or TKIP, but cannot be connected to a CCMP wireless network. This is because the system's built-in rt2870sta driver has a bug. The system comes with the 2870sta and 3070sta drivers, so there are conflicts during loading. Therefore, you need to add other unused blacklist drivers or simply delete them directly, however, the original 3070sta of my system was not working properly. If I deleted it in my anger, I had to edit it myself. 9.10 of the time was a long time, but I cannot remember it for a long time. This time, I will try again to avoid further trouble. I would like to write a short article.
1. Add rt2870sta to the blacklist, that is, blacklist rt2870sta.
Gedit/etc/modprobe. d/blacklist. conf
Add the following lines at the end of the file:
Blacklist rt2800usb
Blacklist rt2x00lib
Blacklist rt2x00usb
Blacklist rt2870sta
2. Download ralink for 2.6 kernel chipset 3070 prepare driver http://www.ralinktech.com/support.php? S = 2
(Rt3070_linuxsta_v2.3.0.20.20100208.tar.gz 2)
Decompress the package. Compile.
Failed to manually load the kernel. error message:
Insmod: Error inserting './rt3070sta. Ko':-1 unknown symbol in Module
Run the command # dmesg | grep-e rT3 to obtain the information.
[721.216901] rt3070sta: module license 'Unspecified 'taints kernel.
[2, 721.217589] rt3070sta: Unknown symbol usb_alloc_urb
[2, 721.218137] rt3070sta: Unknown symbol usb_free_urb
[721.219813] rt3070sta: Unknown symbol usb_register_driver
[2, 721.221132] rt3070sta: Unknown symbol usb_put_dev
[721.221601] rt3070sta: Unknown symbol usb_get_dev
[2, 721.222507] rt3070sta: Unknown symbol usb_submit_urb
[721.224638] rt3070sta: Unknown symbol usb_control_msg
[2, 721.226185] rt3070sta: Unknown symbol usb_deregister
[2, 721.228401] rt3070sta: Unknown symbol usb_kill_urb
[2, 721.228849] rt3070sta: Unknown symbol usb_buffer_free
[721.230824] rt3070sta: Unknown symbol usb_buffer_alloc
Note that the first line indicates that the license of the module threatens the kernel. Obviously, this is a license problem. Solution: # grep module_lic *./-r -- include = *. c
./Common/rtmp_init.c: module_license ("ralink ");
./OS/Linux/rt_linux.c: module_license ("GPL ");
./OS/Linux/rt_main_dev.c: module_license ("GPL ")
Edit rt_linux.c and rt_main_dev.c, and remove the ifdef that limits module_license ("GPL") to recompile.
3. There is a small problem during sudo make install and an error is prompted.
CP: cannot stat '~ /Ralink/rt3070_linuxsta_v2.3.0.20.20100208/rt3070sta. dat ': no such file or directory
Solution: CP rt2879sta. dat rt3070sta. dat, and then sudo make install
Basically, I also rely on gooooogle to do these things. It's really a good thing. I have to turn it around when I learn technology! 4. Reference: http://ubuntuforums.org/showthread.php? T = 1407165