android wifi调试总结 theros AR6K命令小结 android wifi debug
2013-08-30 10:36
190 查看
http://blog.csdn.net/linux_devices_driver/article/details/7225106
高通平台wifi命令:
首先inmod ar6000.ko(ics则有2个.ko cfg8*.ko和ath6kl.ko)
dmesg看log,有经验的一看log就知道wifi是否正常。
adb push iwconfig /system/bin
adb push iwlist /system/bin
查看无线网络:
iwconfig;
ifconfig wlan0 up;
iwlist wlan0 scan;
就可以看见无线网络列表了。
以下是转载:
modprobe <相应的无线网卡驱动> //你的udev如果正确识别的话,这步可以免去
iwconfig //查看无线网卡设备名称,常见的无线网卡的标识可能为ra0、ath0、wlan0等,但是一般不会是eth0;
ifconfig <无线网卡名称> up //启动这个无线网卡 eg: ifconfig ath0 up
iwlist ath0 scan | less //查看可接入的无线热点
下面的不翻译了,自己看吧很简单的(其实下面这些步骤都可以用networkmanage这个图形化软件实现):
Specify the id of the wireless network with iwconfig <interface> essid "<youressid>". Or, if using WEP; iwconfig <interface> essid "<youressid>" key <yourwepkey>(give the essid (the 'network name') of the network in quotes), e.g.:
# iwconfig ath0 essid "linksys" key 0241baf34c
If your WEP key is ASCII, prefix with s:, e.g.:
# iwconfig ath0 essid linksys key s:mywepkey
对于应用更为广泛的开放式WEP加密,应该是如下命令:
# iwconfig ath0 essid linksys open key s:mywepkey
Request an IP address with dhcpcd <interface>. e.g.:
# dhcpcd ath0
Ensure you can route:
$ ping -c 3 www.google.com
高通平台wifi命令:
首先inmod ar6000.ko(ics则有2个.ko cfg8*.ko和ath6kl.ko)
dmesg看log,有经验的一看log就知道wifi是否正常。
adb push iwconfig /system/bin
adb push iwlist /system/bin
查看无线网络:
iwconfig;
ifconfig wlan0 up;
iwlist wlan0 scan;
就可以看见无线网络列表了。
以下是转载:
modprobe <相应的无线网卡驱动> //你的udev如果正确识别的话,这步可以免去
iwconfig //查看无线网卡设备名称,常见的无线网卡的标识可能为ra0、ath0、wlan0等,但是一般不会是eth0;
ifconfig <无线网卡名称> up //启动这个无线网卡 eg: ifconfig ath0 up
iwlist ath0 scan | less //查看可接入的无线热点
下面的不翻译了,自己看吧很简单的(其实下面这些步骤都可以用networkmanage这个图形化软件实现):
Specify the id of the wireless network with iwconfig <interface> essid "<youressid>". Or, if using WEP; iwconfig <interface> essid "<youressid>" key <yourwepkey>(give the essid (the 'network name') of the network in quotes), e.g.:
# iwconfig ath0 essid "linksys" key 0241baf34c
If your WEP key is ASCII, prefix with s:, e.g.:
# iwconfig ath0 essid linksys key s:mywepkey
对于应用更为广泛的开放式WEP加密,应该是如下命令:
# iwconfig ath0 essid linksys open key s:mywepkey
Request an IP address with dhcpcd <interface>. e.g.:
# dhcpcd ath0
Ensure you can route:
$ ping -c 3 www.google.com
相关文章推荐
- android wifi调试总结 theros AR6K命令小结 android wifi debug
- android wifi调试总结 theros AR6K命令小结 android wifi debug
- android linux wifi 等网络设备调试命令总结
- Android调试命令总结
- android-代码里使用shell命令(wifi调试)
- Android调试命令小结
- Android调试命令总结
- (OK) Android调试命令小结
- Android WiFi--框架分析/业务流程分析/日常调试命令
- android Wifi/LCD/Camera调试总结
- android Wifi/LCD/Camera调试总结
- Android系统调试wifi总结
- 【Android调试】 解决The connection to adb is down, and a severe error has occured. ADB server didn't ACK 问
- Android内存调试命令
- android 框架之WIFI系统和系统架构全面总结(一)。
- Android WiFi/WiFi热点开发总结
- wifi 调试android设备
- android wifi总结
- Android调试,The selected device is incompatible
- 【Android】adb命令总结