高通平台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: ifconfigath0 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

更多相关文章

  1. 查看Linux & Android中内存占用方法
  2. [Android] 查看Android中的AlarmManager事件
  3. Cordova开发环境搭建
  4. Android(安卓)Studio查看aar文件内容
  5. android:The application has stopped unexpectedly, please try
  6. adb通过wifi连接 milestone
  7. android MTK平台编译UBOOT学习笔记
  8. android sqlite3命令
  9. doskey使用

随机推荐

  1. 常见的 Go 处理字符串的技巧
  2. golang如何做一个服务器?
  3. 优雅的实现 Golang REST API 架构
  4. 使用 Go 来构建一个 CLI 程序
  5. Go String 解析
  6. go语言中一种常见的错误
  7. Golang 开发的 Web 有哪些框架?
  8. Golang 可以开发 Web 吗?
  9. 如何实现golang语言的多态
  10. Golang 能开发前端吗?