开发者社区> 问答> 正文

iw或iwconfig如何连接有密码的wifi?:报错

我想通过iw或iwconfig命令配置电脑连上带密码的路由器,尝试如下:

~$:iwconfig wlan0 essid "tplink" key s:012345

Error for wireless request "Set Encode" (8B2A) :     SET failed on device wlan0 ; Operation not permitted.


~$:iw wlan0 connect tplink keys d:1:012345

key must be [d:]index:data where   'd:'     means default (transmit) key   'index:' is a single digit (0-3)   'data'   must be 5 or 13 ascii chars            or 10 or 26 hex digits for example: d:2:6162636465 is the same as d:2:abcde


都不成功,应该怎么搞起呢?


展开
收起
kun坤 2020-06-06 00:43:49 1972 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
云AP—开启企业WiFi的新零售时代 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载