b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

wpa cli复制失败_wpa_cli_wifi下载

电脑杂谈  发布时间:2017-02-24 00:07:19  来源:网络整理

wpa cli复制失败_wifi下载_wpa_cli

wpa_cli 连接 wifi(转)

1: run wpa_supplicant first

use the following command:

wpa_supplicant -Dwext -iwlan0 -C/data/system/wpa_supplicant -c/data/misc/wifi/wpa_supplicant.conf

2: Run the command line tool wpa_cli to connect wifi

wpa_cli -p/data/system/wpa_supplicant -iwlan0

Then , it will let you set network interactively

some common command:

>scan = to scan the neioring AP

>scan_results = show the scan results

>status = check out the current connection information

>terminate = terminate wpa_supplicant

>quit = exit wpa_cli

>add_network = it will return a network id to you

>set_network <network id> <variable> <value> = set network variables (shows list of variables when run without arguments), success will return OK, or will return Fail

>select_network <network id> = select a network (disable others)

>disable_network <network id> = disable a network

>enable_network <network id> = enable a network

wpa cli复制失败_wifi下载_wpa_cli

> set_network 0 priority 0

> list_network

> save_config

3: example

for AP that doesn`t have encryption

>add_network (It will display a network id for you, assume it returns 0)

>set_network 0 ssid “666”

>set_network 0 key_mgmt NONE

>enable_network 0

>quit

if normal, we have connectted to the AP “666”, now you need a IP to access internet, for example:

dhcpcd wlan0

if everything is ok, it will get an IP & can access internet

for AP that has WEP

>add_network (assume returns 1)


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-34128-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...