无线网卡wpa - cli命令
更新时间:2023-11-06 18:51:01 阅读量: 教育文库 文档下载
- 无线网卡wps按键推荐度:
- 相关推荐
连接成功后的状态
root@Ultrasonic:/usr/local/bin# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:\ Nickname:\ Mode:Managed Frequency:2.432 GHz Access Point: 84:C9:B2:88:0C:F2 Bit Rate:300 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-****-**** Security mode:open Power Management:off
Link Quality=98/100 Signal level=98/100 Noise level=0/100 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@Ultrasonic:/usr/local/bin# wpa_cli wpa_cli v0.7.3
Copyright (c) 2004-2010, Jouni Malinen
This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details.
Selected interface 'wlan0'
Interactive mode > scan_results
bssid / frequency / signal level / flags / ssid
84:c9:b2:88:0c:f2 2432 94 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][ESS] uslab_testing
> status
bssid=84:c9:b2:88:0c:f2 ssid=uslab_testing id=0
mode=station
pairwise_cipher=CCMP group_cipher=TKIP key_mgmt=WPA2-PSK wpa_state=COMPLETED ip_address=192.168.0.101
>
连接过程
root@Ultrasonic:/usr/local/bin# wpa_supplicant -B -iwlan0 -Dwext -c /usr/local/etc/wpa_supplicant.conf +871x_drv - drv_open, bup=0
===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC fw_ver=v75, fw_subver=0, sig=0x88c0 fw download ok!
Set RF Chip ID to RF_6052 and RF type to 2. GPIO_IN=09
eRfPowerStateToSet=0 IQK:Start!!!
Path A IQK Success!! Path B IQK Success!! Path A IQK Success!! Path B IQK Success!! IQK: final_candidate is 0
IQK: RegE94=101 RegE9C=2 RegEA4=fa RegEAC=3 RegEB4=101 RegEBC=7 RegEC4=fd RegECC=7
Path A IQ Calibration Success ! Path B IQ Calibration Success !
pdmpriv->TxPowerTrackControl = 1
MAC Address from REG_MACID = 84:c9:b2:7d:64:2d MAC Address = 84:c9:b2:7d:64:2d -871x_drv - drv_open, bup=1
[rtw_wx_set_pmkid] IW_PMKSA_FLUSH! set_mode = IW_MODE_INFRA
ioctl[SIOCSIWAP]: Operation not permitted [rtw_wx_set_pmkid] IW_PMKSA_FLUSH! root@Ultrasonic:/usr/local/bin# wpa_cli wpa_cli v0.7.3
Copyright (c) 2004-2010, Jouni Malinen
This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details.
Selected interface 'wlan0'
Interactive mode
> scan OK
> survey done event(19)
<2>CTRL-EVENT-BSS-ADDED 0 84:c9:b2:88:0c:f2 <2>CTRL-EVENT-BSS-ADDED 1 02:e0:42:cb:c7:79 <2>CTRL-EVENT-SCAN-RESULTS
> scan_results
bssid / frequency / signal level / flags / ssid 84:c9:b2:88:0c:f2 2432 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][ESS] uslab_testing 02:e0:42:cb:c7:79 2457 42 [WEP][IBSS] ____13__1 >
> add_network 0 >
> set_network 0 ssid \OK >
> set_network 0 key_mgmt WPA-PSK OK >
> set_network 0 psk \OK >
> enable_network 0 OK
> survey done event(19)
wpa_set_auth_algs, AUTH_ALG_OPEN_SYSTEM set_mode = IW_MODE_INFRA
wpa_ie(length:22):
0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x02 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00 0x00 0x0f 0xac 0x02 0x00 0x00 0x78 0xff =>rtw_wx_set_essid
ssid=uslab_testing, len=13
new candidate: uslab_testing(84:c9:b2:88:0c:f2) rssi:-54
rtw_select_and_join_from_scanned_queue: candidate: uslab_testing(84:c9:b2:88:0c:f2) #### Opt_Ant_(B) , cur_Ant(B)
rtw_restructure_ht_ie IEEE80211_HT_CAP_MAX_AMSDU is set
88
<=rtw_wx_set_essid link to new AP
<2>CTRL-EVENT-SCAN-RESULTS
<2>Trying to associate with 84:c9:b2:88:0c:f2 (SSID='uslab_testing' freq=2432 MHz) > link to Realtek 96B OnAuthClient OnAssocRsp
report_join_res(1)
HW_VAR_BASIC_RATE: BrateCfg(0x15d) WMM(0): 0, a42b WMM(1): 0, a44f WMM(2): 0, 5e4322 WMM(3): 0, 2f3222 HTOnAssocRsp
~~~~stastakey:unicastkey
~~~~stastakey:groupkey
==> rtw_set_key algorithm(2),keyid(1),key_mask(2) update raid entry, mask=0xfffffff, arg=0xa0 rtl8192c_set_FwJoinBssReport_cmd mstatus(1) SetFwRsvdPagePkt
Set RSVD page location to Fw. =>mlmeext_joinbss_event_callback <2>Associated with 84:c9:b2:88:0c:f2
<2>WPA: Key negotiation completed with 84:c9:b2:88:0c:f2 [PTK=CCMP GTK=TKIP]
<2>CTRL-EVENT-CONNECTED - Connection to 84:c9:b2:88:0c:f2 completed (auth) [id=0 id_str=]
> save OK > status
bssid=84:c9:b2:88:0c:f2 ssid=uslab_testing id=0
mode=station
pairwise_cipher=CCMP group_cipher=TKIP key_mgmt=WPA2-PSK wpa_state=COMPLETED ip_address=192.168.0.101 > > quit
root@Ultrasonic:/usr/local/bin# udhcpc -i wlan0 udhcpc (v0.9.9-pre) started Sending discover... OnAction_back
OnAction_back, action=0
issue_action_BA, category=3, action=1, status=0 Sending select for 192.168.0.101...
Lease of 192.168.0.101 obtained, lease time 86400 adding dns 192.168.0.101 adding dns 192.168.0.102
root@Ultrasonic:/usr/local/bin#
root@Ultrasonic:/usr/local/bin# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:\ Nickname:\ Mode:Managed Frequency:2.432 GHz Access Point: 84:C9:B2:88:0C:F2 Bit Rate:300 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-****-**** Security mode:open Power Management:off
Link Quality=100/100 Signal level=100/100 Noise level=0/100 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@Ultrasonic:/usr/local/bin# ./wpa_cli wpa_cli v0.7.3
Copyright (c) 2004-2010, Jouni Malinen
This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the BSD license. See README and COPYING for more details.
Selected interface 'wlan0'
Interactive mode
> disable_network 0 OK
<2>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0 > rtl8192c_set_FwJoinBssReport_cmd mstatus(0)
<2>CTRL-EVENT-BSS-REMOVED 0 84:c9:b2:88:0c:f2
> status
wpa_state=DISCONNECTED ip_address=192.168.0.101 > terminate OK
> (2)871x_drv - drv_close, bup=1, hw_init_completed=1 -871x_drv - drv_close, bup=1
rtl8192c_set_FwJoinBssReport_cmd mstatus(0) 'PING' command failed.
Connection to wpa_supplicant lost - trying to reconnect
> quit
root@Ultrasonic:/usr/local/bin# ps
PID Uid VmSize Stat Command 1 root 528 S init [3] 2 root SW< [kthreadd] 3 root SW< [ksoftirqd/0] 4 root SW< [events/0] 5 root SW< [khelper] 57 root SW< [kblockd/0]
63 root SW< [ksuspend_usbd] 68 root SW< [khubd] 71 root SW< [kseriod] 77 root SW< [kmmcd] 104 root SW [pdflush] 105 root SW [pdflush] 106 root SW< [kswapd0] 107 root SW< [aio/0] 215 root SW< [kapmd] 262 root SW< [mtdblockd] 332 root SW< [w1_control] 346 root SW< [rpciod/0]
424 root 388 S < /sbin/udevd --daemon
445 root 584 S /sbin/syslogd -n -C 64 -m 20 447 root 564 S /sbin/klogd -n 470 root 928 S -sh
478 root SW [RTKTHREAD] 485 root 764 R ps root@Ultrasonic:/usr/local/bin#
wpa_state=DISCONNECTED ip_address=192.168.0.101 > terminate OK
> (2)871x_drv - drv_close, bup=1, hw_init_completed=1 -871x_drv - drv_close, bup=1
rtl8192c_set_FwJoinBssReport_cmd mstatus(0) 'PING' command failed.
Connection to wpa_supplicant lost - trying to reconnect
> quit
root@Ultrasonic:/usr/local/bin# ps
PID Uid VmSize Stat Command 1 root 528 S init [3] 2 root SW< [kthreadd] 3 root SW< [ksoftirqd/0] 4 root SW< [events/0] 5 root SW< [khelper] 57 root SW< [kblockd/0]
63 root SW< [ksuspend_usbd] 68 root SW< [khubd] 71 root SW< [kseriod] 77 root SW< [kmmcd] 104 root SW [pdflush] 105 root SW [pdflush] 106 root SW< [kswapd0] 107 root SW< [aio/0] 215 root SW< [kapmd] 262 root SW< [mtdblockd] 332 root SW< [w1_control] 346 root SW< [rpciod/0]
424 root 388 S < /sbin/udevd --daemon
445 root 584 S /sbin/syslogd -n -C 64 -m 20 447 root 564 S /sbin/klogd -n 470 root 928 S -sh
478 root SW [RTKTHREAD] 485 root 764 R ps root@Ultrasonic:/usr/local/bin#
正在阅读:
无线网卡wpa - cli命令11-06
预备党员转正申请书范文02-23
2011-2012学年第二学期公共英语教研室工作计划00104-29
2018年中考英语:情景交际04-07
neo4j批量创建关系04-07
《通信原理》第6版课后习题答案-樊昌信,曹丽娜 - 图文11-22
2017年人教版二年级语文上册第三单元测试卷及答案10-15
户口遗失证明03-31
新人教版高中地理教材目录09-06
牛津英语7B第三单元测试卷05-21
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 无线网卡
- 命令
- wpa
- cli
- 新北师大版四年级下册4-6单元知识点和练习题
- 融媒体时代新闻记者应该具备的素养
- 二年级下册数学教学反思
- 第六章 学习宪法法律 建设法治体系(2015版《思修》教材)
- CAD-CAM底座课程设计
- 高层建筑给排水毕业设计计算书
- 宜良县中营小学学校发展规划
- 记录二:中国人民银行办公厅关于印发《人民币银行结算账户管理系统业务处理办法》的通知
- 五年级奥数-数阵图(AB卷)答 案
- 发电厂可靠性管理现状及发电设备可靠性评估探讨
- 南京市公有住房售后换购暂行办法
- 小升初语文试卷
- 资源管理制度
- 2018年人教版一年级数学上册全册教案
- 关于展开施工现场外脚手架工程全面排查和落实安全施工事项安全监理工作联系单1
- 2012秋房屋结构设计复习题要点
- 生物化学检验题库 二版大专
- 七年级美术上册 描绘我们的校园说课稿
- 2014-2015学年高二上地理 试卷(A) - 图文
- 22 双低菜粕在养猪生产中的应用