九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 4220|回复: 2

x210 linux -qt wifi-8188eus 移植使用说明

[复制链接]
发表于 2014-12-11 18:11:19 | 显示全部楼层 |阅读模式
x210 linux -qt wifi-8188eus 移植使用说明

www.9tripod.com  huangdongchao  20141211


在x210 linux-qt中使用wifi模块8188eus的一些说明: (下面的操作都是在命令行中进行,包括pc的命令行和开发板的命令行)


注意:刘工之前也在论坛上发了类似的移植帖子,不过是在Android命令行;其实差不多;
可以进行参考:http://bbs.9tripod.com/thread-28064-1-1.html


http://blog.csdn.net/armeasy/article/details/6252389




步骤:


1、根据自己的开发环境情况,编译一个wlan.ko出来:
1)
解压rtl8188EUS.tar.bz2,修改里面的Makefile,修改的地方包括,交叉编译工具的路径,对应的内核的版本,对应的内核源码的路径,如下:(例子)
ifeq ($(CONFIG_PLATFORM_ARM_S5PV210), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
ARCH := arm
CROSS_COMPILE := /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-
KVER  := 2.6.35
KSRC := /home/hdc/x210/QT4.8/qt_x210v3/kernel
MODULE_NAME := wlan
endif


上面的交叉编译工具的路径,内核源码路径,具体要根据自己的开发环境情况做一些改动;




2)进入,命令行中输入:
./make_drv
Please select card type(1/2):
1) RTL8188eus
2) RTL8189es
#? 1   (输入1,选择8188)
You have selected RTL8188eus
rtw_version.h has existed!




接着,进行编译:
make


这样就生成了wlan.ko






2、操作wifi模块
1)把刚才编译出来的wlan.ko放到开发板中; (驱动文件较大,通过u盘拷贝,这样快些;)
2)加载驱动
insmod wlan.ko


[root@x210ii tmp]# insmod wlan.ko
[  208.482996] RTL871X: rtl8188eu driver version=v4.1.5_7309.20130425
[  208.488617] RTL871X: build time: Dec 11 2014 16:12:23
[  208.494852] RTL871X:
[  208.494857] usb_endpoint_descriptor(0):
[  208.500083] RTL871X: bLength=7
[  208.502496] RTL871X: bDescriptorType=5
[  208.506743] RTL871X: bEndpointAddress=81
[  208.510587] RTL871X: wMaxPacketSize=512
[  208.514385] RTL871X: bInterval=0
[  208.517251] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[  208.522453] RTL871X:
[  208.522456] usb_endpoint_descriptor(1):
[  208.528574] RTL871X: bLength=7
[  208.531196] RTL871X: bDescriptorType=5
[  208.537107] RTL871X: bEndpointAddress=2
[  208.539583] RTL871X: wMaxPacketSize=512
[  208.544260] RTL871X: bInterval=0
[  208.546603] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[  208.551881] RTL871X:
[  208.551885] usb_endpoint_descriptor(2):
[  208.558026] RTL871X: bLength=7
[  208.560518] RTL871X: bDescriptorType=5
[  208.564738] RTL871X: bEndpointAddress=3
[  208.568506] RTL871X: wMaxPacketSize=512
[  208.572313] RTL871X: bInterval=0
[  208.575184] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[  208.580461] RTL871X: nr_endpoint=3, in_num=1, out_num=2
[  208.580467]
[  208.587310] RTL871X: USB_SPEED_HIGH
[  208.590292] RTL871X: CHIP TYPE: RTL8188E
[  208.594511] RTL871X: rtw_handle_dualmac(): pbuddy_padapter == NULL, Set pbuddy_padapter
[  208.602504] RTL871X: register rtw_netdev_ops to netdev_ops
[  208.607975] RTL871X: rtw_wdev_alloc(padapter=e0907000)
[  208.613692] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_UNKNOWN_CUT(10)_1T1R_RomVer(0)
[  208.622037] RTL871X: RF_Type is 3!!
[  208.625142] RTL871X: _ConfigNormalChipOutEP_8188E OutEpQueueSel(0x05), OutEpNumber(2)
[  208.633509] RTL871X: EEPROM type is E-FUSE
[  208.637402] RTL871X: ====> _ReadAdapterInfo8188EU
[  208.642254] RTL871X: Boot from EFUSE, Autoload OK !
[  208.650989] bFWReady == _FALSE call reset 8051...
[  208.655488] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  208.674983] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[  208.680743] RTL871X: efuse_read_phymap_from_txpktbuf len:118, lenbak:118, aaa:118, aaabak:118
[  208.697740] RTL871X: efuse_read_phymap_from_txpktbuf read count:116
[  208.703366] RTL871X: EEPROM ID=0x8129
[  208.706614] RTL871X: VID = 0x0BDA, PID = 0x8179
[  208.711128] RTL871X: Customer ID: 0x00, SubCustomer ID: 0xCD
[  208.716790] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[  208.726654] RTL871X: ### PS params=>  power_mgnt(1),usbss_enable(0) ###
[  208.733226] RTL871X: ======= Path 0, Channel 1 =======
[  208.738339] RTL871X: Index24G_CCK_Base[0][1] = 0x2d
[  208.743186] RTL871X: Index24G_BW40_Base[0][1] = 0x2d
[  208.748127] RTL871X: ======= Path 0, Channel 2 =======
[  208.753273] RTL871X: Index24G_CCK_Base[0][2] = 0x2d
[  208.758087] RTL871X: Index24G_BW40_Base[0][2] = 0x2d
[  208.763092] RTL871X: ======= Path 0, Channel 3 =======
[  208.768140] RTL871X: Index24G_CCK_Base[0][3] = 0x2d
[  208.772998] RTL871X: Index24G_BW40_Base[0][3] = 0x2d
[  208.777935] RTL871X: ======= Path 0, Channel 4 =======
[  208.783051] RTL871X: Index24G_CCK_Base[0][4] = 0x2d
[  208.787898] RTL871X: Index24G_BW40_Base[0][4] = 0x2d
[  208.792845] RTL871X: ======= Path 0, Channel 5 =======
[  208.797950] RTL871X: Index24G_CCK_Base[0][5] = 0x2d
[  208.802808] RTL871X: Index24G_BW40_Base[0][5] = 0x2d
[  208.807774] RTL871X: ======= Path 0, Channel 6 =======
[  208.812858] RTL871X: Index24G_CCK_Base[0][6] = 0x2d
[  208.817713] RTL871X: Index24G_BW40_Base[0][6] = 0x2d
[  208.822646] RTL871X: ======= Path 0, Channel 7 =======
[  208.827770] RTL871X: Index24G_CCK_Base[0][7] = 0x2d
[  208.832612] RTL871X: Index24G_BW40_Base[0][7] = 0x2d
[  208.837558] RTL871X: ======= Path 0, Channel 8 =======
[  208.842670] RTL871X: Index24G_CCK_Base[0][8] = 0x2d
[  208.847541] RTL871X: Index24G_BW40_Base[0][8] = 0x2d
[  208.852460] RTL871X: ======= Path 0, Channel 9 =======
[  208.857577] RTL871X: Index24G_CCK_Base[0][9] = 0x2d
[  208.862556] RTL871X: Index24G_BW40_Base[0][9] = 0x2d
[  208.867363] RTL871X: ======= Path 0, Channel 10 =======
[  208.872569] RTL871X: Index24G_CCK_Base[0][10] = 0x2d
[  208.877504] RTL871X: Index24G_BW40_Base[0][10] = 0x2d
[  208.882537] RTL871X: ======= Path 0, Channel 11 =======
[  208.887732] RTL871X: Index24G_CCK_Base[0][11] = 0x2d
[  208.892673] RTL871X: Index24G_BW40_Base[0][11] = 0x2d
[  208.897708] RTL871X: ======= Path 0, Channel 12 =======
[  208.902894] RTL871X: Index24G_CCK_Base[0][12] = 0x2d
[  208.907837] RTL871X: Index24G_BW40_Base[0][12] = 0x2d
[  208.912862] RTL871X: ======= Path 0, Channel 13 =======
[  208.918064] RTL871X: Index24G_CCK_Base[0][13] = 0x2d
[  208.922997] RTL871X: Index24G_BW40_Base[0][13] = 0x2d
[  208.928031] RTL871X: ======= Path 0, Channel 14 =======
[  208.933230] RTL871X: Index24G_CCK_Base[0][14] = 0x2d
[  208.938162] RTL871X: Index24G_BW40_Base[0][14] = 0x2d
[  208.943196] RTL871X: ======= TxCount 0 =======
[  208.947606] RTL871X: CCK_24G_Diff[0][0]= 0
[  208.951683] RTL871X: OFDM_24G_Diff[0][0]= 2
[  208.955837] RTL871X: BW20_24G_Diff[0][0]= 0
[  208.960125] RTL871X: BW40_24G_Diff[0][0]= 0
[  208.964150] RTL871X: EEPROMRegulatory = 0x0
[  208.968317] RTL871X: mlmepriv.ChannelPlan = 0x21
[  208.972918] RTL871X: CrystalCap: 0x20
[  208.976551] RTL871X: EEPROM Customer ID: 0x 0
[  208.980891] RTL871X: EEPROM : AntDivCfg = 0, TRxAntDivType = 3
[  208.986692] RTL871X: Board Type: 0x 0
[  208.990334] RTL871X: ThermalMeter = 0x1a
[  208.994231] RTL871X: <==== _ReadAdapterInfo8188EU in 355 ms
[  209.000734] RTL871X: rtw_register_early_suspend
[  209.004338] RTL871X:
[  209.004343]   padapter->pwrctrlpriv.bSupportRemoteWakeup~~~~~~
[  209.012422] RTL871X:
[  209.012426]   padapter->pwrctrlpriv.bSupportRemoteWakeup~~~[1]~~~
[  209.020730] RTL871X: rtw_macaddr_cfg MAC Address  = 08:10:78:6c:e7:e9
[  209.027090] RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
[  209.035203] RTL871X: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[  209.044946] RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = 08:10:78:6c:e7:e9
[  209.051794] usbcore: registered new interface driver rtl8188eu






查看是否加载成功:
[root@x210ii tmp]# lsmod
Module                  Size  Used by    Not tainted
wlan                  736191  0


可以看到加载成功;






3)查看现在的网络情况:
[root@x210ii tmp]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:C0:FF:EC:48  
          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)
          Interrupt:42 Base address:0xc300


lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          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)


可以看到现在wifi模块并没有启动;
那到底wifi模块的名称是什么?
上面加载wifi驱动时,可以看到信息为:wlan0




4)启动wifi模块:
[root@x210ii tmp]# ifconfig wlan0 up
[  517.057983] RTL871X: +871x_drv - drv_open, bup=0
[  517.063147] RTL871X: rtl8188e_FirmwareDownload: fw_ver=11 fw_subver=1 sig=0x88e1
[  517.092259] RTL871X: _FWFreeToGo: Checksum report OK! REG_MCUFWDL:0x00030004
[  517.099642] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  517.105032] RTL871X: _FWFreeToGo: Polling FW ready success!! REG_MCUFWDL:0x000300c6
[  517.402145] ==> rtl8188e_iol_efuse_patch
[  517.487268] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  517.804392] RTL871X: rtl8188eu_hal_init in 742ms
[  517.808253] RTL871X: MAC Address = 08:10:78:6c:e7:e9
[  517.818477] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3
[  517.822875] RTL871X: -871x_drv - drv_open, bup=1
[  517.827699] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[root@x210ii tmp]# [  519.834028] RTL871X: ==>rtw_ps_processor .fw_state(0)
[  519.838518] RTL871X: ==>ips_enter cnts:1
[  519.841671] RTL871X: nolinked power save enter
[  519.846718] RTL871X: ===> rtw_ips_pwr_down...................
[  519.852351] RTL871X: ====> rtw_ips_dev_unload...
[  519.884232] RTL871X: usb_read_port_cancel
[  519.887637] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  519.898135] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  519.908761] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  519.919259] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1)
[  519.929769] RTL871X: usb_write_port_cancel
[  519.933985] RTL871X: ==> rtl8188eu_hal_deinit
[  519.938767] RTL871X: bkeepfwalive(0)
[  519.948889] RTL871X: <=== rtw_ips_pwr_down..................... in 101ms




再次查看网络设备:
[root@x210ii tmp]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:C0:FF:EC:48  
          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)
          Interrupt:42 Base address:0xc300


lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          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:78:6C:E7:E9  
          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)


可以看到wifi模块已经启动;






5)用wifi命令操作
这些命令包括iwlist iwconfig iwpriv iwspy等等,具体可以网上查询下;这里开发板上已经支持的命令有iwlist iwpriv iwspy;(其它没支持的,可以自己移植)


使用iwlist查看周围的wifi AP:
[root@x210ii tmp]# iwlist wlan0 scanning
[  534.839169] RTL871X: _rtw_pwr_wakeup call ips_leave....
[  534.844113] RTL871X: ==>ips_leave cnts:1
[  534.847000] RTL871X: ===>  rtw_ips_pwr_up..............
[  534.852955] RTL871X: ===> ips_netdrv_open.........
[  534.861768] RTL871X: rtl8188e_FirmwareDownload: fw_ver=11 fw_subver=1 sig=0x88e1
[  534.891517] RTL871X: _FWFreeToGo: Checksum report OK! REG_MCUFWDL:0x00030004
[  534.898885] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  534.904275] RTL871X: _FWFreeToGo: Polling FW ready success!! REG_MCUFWDL:0x000300c6
[  535.203134] ==> rtl8188e_iol_efuse_patch
[  535.288762] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  535.578011] RTL871X: rtl8188eu_hal_init in 722ms
[  535.582084] RTL871X: <===  rtw_ips_pwr_up.............. in 734ms
[  535.587907] RTL871X: nolinked power save leave
[  535.592525] RTL871X: ==> ips_leave.....LED(0x00028282)...
[  536.887392] RTL871X: survey done event(8b)
wlan0     Scan completed :
          Cell 01 - Address: E8:01:5A:00:03:0A
                    ESSID:"wifi-test8-1"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption keyff
                    Bit Rates:130 Mb/s
                    Quality=0/100  Signal level=-69 dBm  
          Cell 02 - Address: E8:01:5A:00:00:AD
                    ESSID:"wifi-test9-1"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption keyff
                    Bit Rates:130 Mb/s
                    Quality=0/100  Signal level=-64 dBm  
          Cell 03 - Address: E8:01:5A:00:03:0F
                    ESSID:"wifi-test17-1"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption keyff
                    Bit Rates:130 Mb/s
                    Quality=0/100  Signal level=-59 dBm  
          Cell 04 - Address: E8:01:5A:00:03:3A
                    ESSID:"wifi-test5-1"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption keyff
... ...




可以看到一堆的AP;




6)使用wifi上网:
需要用到wpa_supplicant工具;(这个开发板已经支持;如没支持,自己可以下载源码包移植)


在开发板的/etc中建立wpa_supplicant.conf文件,里面内容为:(开发板已经有这个文件,改动下即可)
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1


network={
  ssid="9tripod"        (这是要连的wifi ap)
  scan_ssid=1
  key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
  pairwise=TKIP CCMP
  group=CCMP TKIP WEP104 WEP40
  psk="9tripodok"        (对应的ap的密码)
}




然后创建文件夹:
mkdir -p /var/run/wpa_supplicant


接着进行连接:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf &
(USB wifi支持80211和wext两种规范,rt8188eus有多个驱动版本,请使用支持wext较好的)


wlan0: WPA: Key negotiation completed with c8:3a:35:26:97:80 [PTK=CCMP GTK=CCMP]
wl[  287.061186] UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
[  287.061193]   ==> rssi_level:0, rate_bitmap:0x000ff015
[  287.074339] RTL871X: ### MacID(0),Set Max Tx RPT MID(1)
[  287.079565] RTL871X: ### rtl8188e_set_FwMediaStatus_cmd: MStatus=1 MACID=0
an0: CTRL-EVENT-CONNECTED - [  287.088188] RTL871X: rtl8188e_set_FwJoinBssReport_cmd mstatus(1)   (看到这里连接成功;)
Connection to [  287.095796] RTL871X: SetFwRsvdPagePkt
[  287.099579] RTL871X: SetFwRsvdPagePkt: Set RSVD page location to Fw
c8:3a:35:26:97[  287.106800] RTL871X: rtl8188e_set_FwJoinBssReport_cmd: 1 Download RSVD success! DLBcnCount:1, poll:1
:80 completed [  287.116916] RTL871X: Set RSVD page location to Fw.
[  287.122187] RTL871X: =>mlmeext_joinbss_event_callback
[  287.127101] RTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
[id=0 id_str=][  287.136796] RTL871X: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1


[  290.309820] UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
[  290.309828]   ==> rssi_level:2, rate_bitmap:0x000ff000
[  296.327812] RTL871X: LPS_Enter smart_ps:2
[  296.330348] RTL871X: rtw_set_ps_mode: Enter 802.11 power save
[  296.338920] RTL871X: rtl8188e_set_FwPwrMode_cmd: Mode=1 SmartPS=2 UAPSD=0






若是不成功,报错如下:
ioctl[SIOCSIWENCODEEXT]: Invalid argument
然后移植循环;


这时,建议是换一个wifi驱动的源码包,重新编译一个wlan.ko;
我这里就是遇到这个问题,然后换一个源码包编译即可:
用的源码包改为:
rtl8188EUS_linux_v4.1.4_6773.20130222.tar.gz


改动Makefile,可以参照上面的改动;然后make即可;


接着重复上面的过程;即可连接成功;






上网操作:
设置wlan0的ip,这里设置为固定ip;也可以设置为动态ip;
[root@x210ii tmp]# ifconfig wlan0 192.168.0.169
[root@x210ii tmp]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:C0:FF:EC:48  
          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)
          Interrupt:42 Base address:0xc300


lo        Link encapocal Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          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:78:6C:E7:E9  
          inet addr:192.168.0.169  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a10:78ff:fe6c:e7e9/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47 errors:0 dropped:6 overruns:0 frame:0
          TX packets:8 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6727 (6.5 KiB)  TX bytes:965 (965.0 B)




进行ping,显示是成功的;
[root@x210ii tmp]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1):[  382.718038] RTL871X: rtw_set_ps_mode: Leave 802.11 power save
[  382.723809] RTL871X: rtl8188e_set_FwPwrMode_cmd: Mode=0 SmartPS=2 UAPSD=0
56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=64 time=76.285 ms
64 bytes from 192.168.0.1: seq=1 ttl=64 time=12.780 ms
64 bytes from 192.168.0.1: seq=2 ttl=64 time=44.787 ms
64 bytes from 192.168.0.1: seq=3 ttl=64 time=23.164 ms


--- 192.168.0.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 12.780/39.254/76.285 ms




若是要直接ping网址,则需另外加网址解析的脚本语句;这里不多说;
[root@x210ii tmp]# ping www.baidu.com
ping: bad address 'www.baidu.com'
(没加前,ping网址是失败的;)




回复

使用道具 举报

发表于 2015-5-17 10:00:16 | 显示全部楼层
请问rtl8188EUS.tar.bz2这个源码包在哪可以找到?
回复 支持 反对

使用道具 举报

发表于 2015-5-25 23:05:59 | 显示全部楼层
我在进行make时,总是报错,求指点:make ARCH=arm CROSS_COMPILE=/usr/local/arm/arm-none-linux-gnueabi-2010-09-50/bin/arm-none-linux-gnueabi- -C /usr/src/linux-headers-3.16.0-37-generic/kernel M=/home/tang/workdir/wifi/rtl8188EUS_linux_v4.1.4_6773.20130222  modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.16.0-37-generic/kernel'
make[1]: *** 没有规则可以创建目标“modules”。 停止。
make[1]:正在离开目录 `/usr/src/linux-headers-3.16.0-37-generic/kernel'
make: *** [modules] 错误 2
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2019-11-21 13:28 , Processed in 0.087423 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表