Ubuntu11.04的系统,无线网卡用的是Ralink的rt3070
最开始用的是核心自带的wifi驱动,即/kernel/linux-2.6.38.8/drivers/staging/rt2870/。
用了一段时间之后,发现该驱动只能支持1--11信道,12和13信道都没有,主要现象为:
#ifconfig wlan0 up
#iwlist wlan0 freq
wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency=2.412 GHz (Channel 1)
为了支持12和13信道,故对驱动进行升级。下载最新rt3070驱动,解压缩后,进入该目录,有一份文档:README_STA_usb
* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*
=======================================================================
ModelName:
===========
RT2870 Wireless Lan Linux Driver
=======================================================================
Driver lName:
===========
rt2870.o/rt2870.ko
=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.
=======================================================================
Ralink Hardware:
===================
Ralink 802.11n Wireless LAN Card.
=======================================================================
Description:
=============
This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.
=======================================================================
Contents:
=============
Makefile : Makefile
*.c : c files
*.h : header files
=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.
=============