高通apq8096连接外网

//验证
/etc/initscripts # iwconfig
sit0 no wireless extensions.
lo no wireless extensions.
dummy0 no wireless extensions.
wlan0 Qcom:802.11n ESSID:"F-TEST1" Nickname:""
Mode:Managed Frequency:5.18 GHz Access Point: CC:81:DA:29:89:80
Bit Rate=360 Mb/s Tx-Power=13 dBm
RTS thr=1048576 B Fragment thr=8000 B
Encryption key:AF40-A1A2-1A24-8149-1D27-4D8A-7B12-883C-2779-B808-6EB7-13E9-96D5-D87A-269F-482E [2] Security
p2p0 Qcom:802.11n ESSID:off/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=1048576 B Fragment thr=8000 B
Encryption key:off
bond0 no wireless extensions.
/etc/initscripts # ping www.baidu.com
PING www.a.shifen.com (183.232.231.173) 56(84) bytes of data.
64 bytes from 183.232.231.173: icmp_req=1 ttl=54 time=10.3 ms
64 bytes from 183.232.231.173: icmp_req=2 ttl=54 time=7.90 ms
64 bytes from 183.232.231.173: icmp_req=3 ttl=54 time=10.3 ms
64 bytes from 183.232.231.173: icmp_req=4 ttl=54 time=8.66 ms
64 bytes from 183.232.231.173: icmp_req=5 ttl=54 time=10.4 ms

//修改
/etc/initscripts/wlan文件
中修改为 mode="start_sta"

修改/data/misc/wifi/wpa_supplicant.conf文件中需要连接的wifi essid以及key

network={
#Open
# ssid="example open network"
# key_mgmt=NONE
#WPA-PSK
ssid="F-TEST1"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=TKIP CCMP
group=TKIP CCMP
psk="12345678"


重启wlan /etc/initscripts/wlan restart
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值