【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等,虽 ...
随机推荐
- Laravel Repository Pattern
Laravel Repository Pattern The Repository Pattern can be very helpful to you in order to keep your ...
- Python2.7学习
网上很多代码都不适用于python3版本,所以还是转回版本2来学习了 install 安装模块特别简单 E:\01_SOFT\Python27\python -m easy_install sunb ...
- leetcode解题报告(19):Contains Duplicate II
描述 Given an array of integers and an integer k, find out whether there are two distinct indices i an ...
- 2019 ICPC Asia Xuzhou Regional
目录 Contest Info Solutions A. Cat B. Cats line up C. <3 numbers E. Multiply F. The Answer to the U ...
- P1613 跑路——倍增思想,floyd
https://www.luogu.org/problemnew/show/P1613 他有一个跑路机器,每次只能跑2k (单位)路程,每相邻两个点的路程为1,也就是说如果连边1——>2—— ...
- Python测试框架对比
如有任何学习问题,可以添加作者微信:lockingfree 更多学习资料请加QQ群: 822601020获取 unittest, pytest, nose, robot framework对比 什么是 ...
- Hadoop(3)如何构建HDFS--HA,YARN---HA
什么是HA? HA的意思是High Availability高可用,指当当前工作中的机器宕机后,会自动处理这个异常,并将工作无缝地转移到其他备用机器上去,以来保证服务的高可用. HA方式安装部署才是最 ...
- onPageScroll的使用
1. 2.
- mysql PS1个性化
method ) $ export MYSQL_PS1="\u@\h [\d]> " method ) mysql> prompt \u@\h [\d]> met ...
- spring boot 集成RabbitMQ的异常
com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.clos ...