主题 : wifi模块移植到android,求推荐mini2440可用的usb无线网卡型号 复制链接 | 浏览器收藏 | 打印
冰冻三尺,非一日之寒;为山九仞,岂一日之功。以博会友snowboy.blog.chinaunix.net
级别: 侠客
UID: 47273
精华: 1
发帖: 51
金钱: 310 两
威望: 62 点
综合积分: 122 分
注册时间: 2011-05-20
最后登录: 2013-04-23
楼主  发表于: 2012-01-08 19:53

 wifi模块移植到android,求推荐mini2440可用的usb无线网卡型号

求rtl8187(nw330)固件(firmware)
小弟不才,移植nw330无线网卡就差一步,不能弄到nw330(芯片用的是rtl8187)的固件,而导致整个wifi模块无法完成。调试信息如下,请高手们拍砖指教,如果找不到该固件,不得已必须需要换无线网卡,我应该买哪个型号的无线网卡。请指点


/ #
/ #
/ #
/ # usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
         hardware, use at your own risk
phy1: hwaddr 08:10:74:b2:bb:76, RTL8187BvE V0 + rtl8225z2

/ #
/ #
/ #
/ #
/ # iwconfig
lo        no wireless extensions.

dummy0    no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated  
          Tx-Power=0 dBm  
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B  
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
/ #
/ #
/ #
/ #
/ # #! /bin/sh
/ # echo "setting the wireless..." > /dev/tty1
iwconfig wlan0 essid "TP-LINK_5CB8A4"
iwconfig wlan0 key loveu
ifconfig wlan0 192.168.1.133
route add default gw 192.168.1.1
echo "nameserver 192.168.1.1" > /etc/resolv.conf
iwconfig wlan0 ap auto
/ # ifconfig wlan0 up
/ # iwconfig wlan0 essid "TP-LINK_5CB8A4"
/ # iwconfig wlan0 key loveu
Error for wireless request "Set Encode" (8B2A) :
    invalid argument "loveu".
/ # ifconfig wlan0 192.168.1.133
/ # route add default gw 192.168.1.1
route: SIOCADDRT: File exists
/ # echo "nameserver 192.168.1.1" > /etc/resolv.conf
/ # iwconfig wlan0 ap auto
/ #
/ # ifconfig eth0 down
/ # ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 08:10:74:B2:BB:76  
          inet addr:192.168.1.133  Bcast:192.168.1.255  Mask:255.255.255.0
          UP 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)

wmaster0  Link encap:UNSPEC  HWaddr 08-10-74-B2-BB-76-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

/ #

/ # iwconfig
lo        no wireless extensions.

dummy0    no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"TP-LINK_5CB8A4"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated  
          Tx-Power=27 dBm  
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B  
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

/ #
iwlist scanning可以搜索到网络
/ # iwlist scanning
lo        Interface doesn't support scanning.

dummy0    Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 5C:63:BF:44:46:92
                    ESSID:"TPLINK_16F"
                    Mode:Master
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=96/100  Signal level:-23 dBm  
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1A6E1003FF00000000000000000000000000000000000000000000
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=000000097cf2f180
                    Extra: Last beacon: 3325ms ago

/ #
[ 此帖被snowboy9859在2012-01-09 20:59重新编辑 ]
冰冻三尺,非一日之寒;为山九仞,岂一日之功。以博会友snowboy.blog.chinaunix.net
级别: 侠客
UID: 47273
精华: 1
发帖: 51
金钱: 310 两
威望: 62 点
综合积分: 122 分
注册时间: 2011-05-20
最后登录: 2013-04-23
1楼  发表于: 2012-01-09 18:54
孤帆自赏?
级别: 圣骑士
UID: 44407
精华: 0
发帖: 386
金钱: 1945 两
威望: 389 点
综合积分: 772 分
注册时间: 2011-04-25
最后登录: 2014-08-25
2楼  发表于: 2012-01-10 11:04
如果您有時間的話,
可以參考kernel的內容設置,
但是如果沒有kernel的源碼,
就試看看lsmod查一下,
您的module有load那些吧

不過查看您的內容
您的網卡可以正常work....
冰冻三尺,非一日之寒;为山九仞,岂一日之功。以博会友snowboy.blog.chinaunix.net
级别: 侠客
UID: 47273
精华: 1
发帖: 51
金钱: 310 两
威望: 62 点
综合积分: 122 分
注册时间: 2011-05-20
最后登录: 2013-04-23
3楼  发表于: 2012-01-10 11:55

 回 2楼(kazaya) 的帖子

我的网卡可以正常work?请指教,我没有找到合适的固件,没有固件没法正常运作,只有驱动能够运作,驱动我找到合适的了,是rtl8187的芯片组,也正常加载了rtl8187的驱动,但是固件这个问题还是没法解决,求指教。
冰冻三尺,非一日之寒;为山九仞,岂一日之功。以博会友snowboy.blog.chinaunix.net
级别: 侠客
UID: 47273
精华: 1
发帖: 51
金钱: 310 两
威望: 62 点
综合积分: 122 分
注册时间: 2011-05-20
最后登录: 2013-04-23
4楼  发表于: 2012-01-12 20:36
who knows?nobody konws?难道这就是程序员的悲哀,程序员的命?走过的人很多,愿意帮你的人却很少,求学之路是如此之孤独,无助.