【ARM-Linux开发】Wi-Fi 应用工具wpa_supplicant
配置无线网络
手动设置
|
1
|
# |
|
1
|
# |
|
1
2
3
4
5
6
|
>/align]networkid //>0>networkid //0 |
⑷ 设定连接
|
1
|
>0"MYIR-LINK"[/align]>0 |
假设key为“12345”在wpa_cli的命令行中输入:
|
1
2
3
|
>0"MYIR-LINK-WEP">0>00 |
|
1
|
>0"MYIR-LINK-WPA2"[/align]>0"Make |
|
1
|
>0 |
自动设置
|
1
|
> |
|
1
|
# |
|
1
|
# |
密文保存
|
1
|
# |
附录 wpa_cli 命令
|
Full command
|
Short command
|
Description
|
|
status
|
stat
|
displays the current connection status
|
|
disconnect
|
disc
|
prevents wpa_supplicant from connecting to any access point
|
|
quit
|
q
|
exits wpa_cli
|
|
terminate
|
term
|
kills wpa_supplicant
|
|
reconfigure
|
recon
|
reloads wpa_supplicant with the configuration file supplied
(-c parameter)
|
|
scan
|
scan
|
scans for available access points
(only scans it, doesn't display anything)
|
|
scan_result
|
scan_r
|
displays the results of the last scan
|
|
list_networks
|
list_n
|
displays a list of configured networks and their status
(active or not, enabled or disabled)
|
|
select_network
|
select_n
|
select a network among those defined to initiate a connection
(ie select_network 0)
|
|
enable_network
|
enable_n
|
makes a configured network available for selection
(ie enable_network 0)
|
|
disable_network
|
disable_n
|
makes a configured network unavailable for selection
(ie disable_network 0)
|
|
remove_network
|
remove_n
|
removes a network and its configuration from the list
(ie remove_network 0)
|
|
add_network
|
add_n
|
adds a new network to the list. Its id will be created automatically
|
|
set_network
|
set_n
|
shows a very short list of available options to configure a network when supplied with no parameters.
See next section for a list of extremely useful parameters to be used with set_network and get_network.
|
|
get_network
|
get_n
|
displays the required parameter for the specified network. See next section for a list of parameters
|
|
save_config
|
save_c
|
saves the configuration
|
【ARM-Linux开发】Wi-Fi 应用工具wpa_supplicant的更多相关文章
- 在Ubuntu上建立Arm Linux 开发环境
我使用的是友善2410的板子,以前都是用Fedora,现在家里的电脑被我转为Linux专用的了,装的是Ubuntu.但是嵌入式还是要玩的,在装载过程中也遇到一些小麻烦.在此记录一下,一来自己比较健忘, ...
- 成功移植SQLite3到ARM Linux开发板
SQLite,是一款轻型的数据库,是遵守ACID的关联式数据库管理系统,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了 ...
- minigui移植到arm linux开发板上无法执行
要保证目录下有该文件 /etc/MiniGUI.cfg 复制过程使用cp –af 强制复制
- linux开发node相关的工具
epel-release yum install epel-release node yum install nodejs mongodb 安装mongodb服务器端 yum install mong ...
- Qemu搭建ARM vexpress开发环境(二)----通过u-boot启动Linux内核
Qemu搭建ARM vexpress开发环境(二)----通过u-boot启动Linux内核 标签(空格分隔): Qemu ARM Linux 在上文<Qemu搭建ARM vexpress开发环 ...
- arm linux 支持 wifi (wpa_supplicant)
背景: 公司用的产品主板支持wifi接口,为了加强产品的功能,做wifi的底层支持. 有关知识点:浅谈 Linux 内核无线子系统 概览 主要的流程如下: 内核配置 + 有关驱动的移植 + 软件的移植 ...
- 构建 ARM Linux 4.7.3 嵌入式开发环境 —— BusyBox 构建 RootFS
上一篇我们已经成功将 ARM Linux 4.7.3 的内核利用 U-BOOT 引导了起来.但是细心的你会发现,引导到后面,系统无法启动,出现内核恐慌 (Kernel Panic). 原因是找不到文件 ...
- 应聘linux/ARM嵌入式开发岗位
**************************************************************** 因为发在中华英才和智联招聘没有人采我所以我 在这里发布我的个人简历希望 ...
- arm的开发工具
网上有free的ide可以开发arm cortex的芯片,可以参考List of ARM Cortex-M development tools,Wikipedia,里面有emIDE,embitz等,虽 ...
随机推荐
- OFDM为什么把高频子载波作为保护频带
实际中发射机接收机的低通滤波器并不是理想低通滤波器,在[-W/2,W/2]之外的一个小范围(对应使用旁边的频带的用户的高频)之内也会有一些不可忽略的能量:并且,实际低通滤波器在高频子载波上的幅度也会比 ...
- Navicat连接Oracle报ORA-12737错误
替换oci.dll 文件分享百度网盘:链接:https://pan.baidu.com/s/1wayojGlKcgdMRZTvBqAUgw 密码:3d6j 把下载的文件放到Navicat文件夹里,然后 ...
- koa2做请求转发
最近用koa2做请求转发时,采用了request(options).pipe(ctx.res)的方法,结果出现了有时候前端获得的数据是分片的. 后来翻阅文档,采取了如下方式解决: const Pass ...
- [cogs] 传染病控制
http://cogs.pro:8080/cogs/problem/problem.php?pid=107 去年6月份的代码了,又长又臭又WA 暴力贪心模拟 水水50 #include<iost ...
- qt 读取xml文件中文问题
1.保存文件格式为UTF-8 2.文件流打开时设置 QFile file(fileName); if (!file.open(QIODevice::ReadOnly)) { qDebug() < ...
- visual studio2015窗体中控件的属性中文说明不见了
右击属性窗口,然后选中好说明就ok了.
- [报错解决] k8s 删除pv一直处于terminating 两种解决方法
第一种 直接到etcd中删除 1.将所有的etcd中的key值取到一个keys.yam里面,便于查询 ETCDCTL_API=3 etcdctl get "" --from-key ...
- 快速打造自己的PHPStorm主题
---恢复内容开始--- 一个优雅和舒适的界面,可以增加过多写入代码的动力. Phpstorm小型的白色主题比较简陋.为了打造一个优雅和舒适的界面,我们安装一件叫Material Theme UI的插 ...
- Tkinter 之Text文本框标签
一.参数说明 语法 作用 t=tk.Text()t.insert(END,'插入的文本信息') INSERT:光标的插入点CURRENT:鼠标的当前位置所对应的字符位置END:这个Textbuffer ...
- Qtcreator远程调试出现“The selected build of GDB does not support Python scripting.It cannot be used .."
版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/aristolto/article/details/77370853 之前使用的是Qt4.7后来换 ...