wifi 设置工具

 

ping

ping 192.168.1.1

ping sina.com.cn

 

 iwconfig

iwconfig  eth0  power  on|off

iwconfig eth0

iwconfig  eth0 essid  d-link

 

iwlist

iwlist  eth0  scan

iwlist eth0   channel

 

iwrpiv

iwpriv  eth0  setregioncode 0x10|0x20|ox30|0x40

iwpriv eth0  autodeepsleep  0|1

iwpriv  eth0  deepsleep 0|1

 

logcat

logcat &

logcat -s  wanttofoundstring  &

 

vi /etc/resolv.conf

nameserver  202.96.128.96

insmod atmal.ko

iwconfig eth0 mode managerd

iwconfig eth0 key s:keystring

iwconfig eth0 key open

iwconfig eth0 essid  TP-LINK

ifconfig eth0 192.168.4.5

route add default gw 192.168.4.1

ifconfig eth0 up

ping 192.168.4.1

iwconfig eth0

 

 

iperg  测试通信的吞吐量

PC 服务端  ip 地址为 192.168.1.130

iperg   -s  -t  10

客户端

iperg  -i 10  -t 120  -c  192.168.1.130

 

 

 iwconfig  eth0  power on   连接时的省电

iwpriv      eth0  autodeepsleep  1   断开网络时的省电

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值