看板 LinuxDev 關於我們 聯絡資訊
在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
kaeluno1:這應該是在說iwconfig的版本較舊,換22版的iwconfig看看 08/27 10:40
phterry:先在x86上試試看吧,成功的話再來比對是否是iwconfig的問題 08/27 12:02
chsing:看一下你用的這張卡usbid是不是driver裡面有define了 08/27 22:17
chsing:沒有的話,就加上去…試試看... 08/27 22:18