作者vtr198172 (43米的深海)
看板LinuxDev
标题Re: [问题] USB 2870无线网卡问题
时间Thu Aug 27 10:18:50 2009
在insmod 之後,我下ifconfig -a 得到
eth0 .........(省略)
lo .........(省略)
ra0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
於是我就下 ifconfig ra0 up 得到
<-- RTMPAllocTxRxRingMemory, Status=0
-->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
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
再用iwconfig查看,得到
lo no wireless extensions.
eth0 no wireless extensions.
Warning: Driver for device ra0 has been compiled with version 22
of Wireless Extension, while this program supports up to version 18.
Some things may be broken...
ra0 RT2870 Wireless ESSID:"11n-AP" Nickname:"RT2870STA"
Mode:Auto Frequency=2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:10
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
乍看之下似乎是版本问题,但不知道该如何解决,另外,在使用无线网卡时
,核心选项有那些是一定要勾选的呢?有人可以给我一些方向或建议呢?感谢大家
※ 引述《vtr198172 (43米的深海)》之铭言:
: 开发板: dm355 kernel: linux-2.6.30
: 我移植了EDiMAX公司的USB无线网卡,型号为EW-7711USn。
: 晶片为rt2870,使用2009_0521_RT2870_Linux_STA_V2.1.2.0这版驱动程式。
: 移植过程还满顺利的,也能insmod编出的ko档到开发板上。
: root@dhcppc0:/# insmod rt2870sta.ko
: rtusb init --->
: usbcore: registered new interface driver rt2870
: 但是在我的开发板上下iwconfig时,却只出现了下面二行:
: root@dhcppc0:/#iwconfig
: lo no wireless extensions.
: eth0 no wireless extensions.
: 有人知道这是为什麽吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 211.22.20.210
1F:→ kaeluno1:这应该是在说iwconfig的版本较旧,换22版的iwconfig看看 08/27 10:40
2F:→ phterry:先在x86上试试看吧,成功的话再来比对是否是iwconfig的问题 08/27 12:02
3F:推 chsing:看一下你用的这张卡usbid是不是driver里面有define了 08/27 22:17
4F:→ chsing:没有的话,就加上去…试试看... 08/27 22:18