当前位置: 代码迷 >> 驱动开发 >> RT3070网卡移栽到mini2440上,查找不到网络是什么原因
  详细解决方案

RT3070网卡移栽到mini2440上,查找不到网络是什么原因

热度:98   发布时间:2016-04-28 10:26:43.0
RT3070网卡移植到mini2440上,查找不到网络是什么原因
本帖最后由 teaco2007 于 2012-07-10 13:15:49 编辑
我的步骤是:
[[email protected]/]#insmod rt3070sta.ko

插入USB网卡后:
usb 1-1: new full speed USB device using s3c2410-ohci and address 5
usb 1-1: New USB device found, idVendor=148f, idProduct=3070
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: 802.11 n WLAN
usb 1-1: Manufacturer: Ralink
usb 1-1: SerialNumber: 1.0
usb 1-1: configuration #1 chosen from 1 choice
=== pAd = c4f81000, size = 508592 ===
<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0



[[email protected]/]#ifconfig ra0 192.168.0.230 netmask 255.255.255.0

(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
RTMP_TimerListAdd: add timer obj c4bc38a0!
RTMP_TimerListAdd: add timer obj c4bc38cc!
RTMP_TimerListAdd: add timer obj c4bc38f8!
RTMP_TimerListAdd: add timer obj c4bc3874!
RTMP_TimerListAdd: add timer obj c4bc37f0!
RTMP_TimerListAdd: add timer obj c4bc381c!
RTMP_TimerListAdd: add timer obj c4b8e434!
RTMP_TimerListAdd: add timer obj c4b7dc4c!
RTMP_TimerListAdd: add timer obj c4b7dc80!
RTMP_TimerListAdd: add timer obj c4b8e4cc!
RTMP_TimerListAdd: add timer obj c4b8e3dc!
RTMP_TimerListAdd: add timer obj c4b8e49c!
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
NVM is Efuse and its size =2d[2d0-2fc] 
phy mode> Error! The chip does not support 5G band 5!
RTMPSetPhyMode: channel is out of range, use first channel=1 
(Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc] 
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300

[[email protected]/]#

[[email protected]/]#iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm