【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等,虽 ...
随机推荐
- 009——C#全局变量定义
(一)窗体二定义,static静态 public static byte[] waveform_data = { }; // 数据,在串口接收中变化 public static bool wavefo ...
- 005_硬件基础电路_PCB安规设计规范
包含两个文件:讲解pcb绘制过程中的安规要求 002_2_PCB安规设计规范(原创-绝对经典全面-玩转高压PCB设计)总结 002_3_电气间隙和爬电距离规定 链接:https://pan.baidu ...
- sql server 悲观锁和乐观锁的作用
sql server对并发的处理-乐观锁和悲观锁 假如两个线程同时修改数据库同一条记录,就会导致后一条记录覆盖前一条,从而引发一些问题. 例如: 一个售票系统有一个余票数,客户端每调用一次出票方法,余 ...
- 056_统计/etc/passwd 中 root 出现的次数
#!/bin/bash#每读取一行文件内容,即从第 1 列循环到最后 1 列,依次判断是否包含 root 关键词,如果包含则 x++awk -F: '{i=1;while(i<=NF){if($ ...
- (2)打鸡儿教你Vue.js
var obj = {} Object.defineProperty(obj, 'msg', { // 设置 obj.msg = "1" 时set方法会被系统调用 参数分别是设置后 ...
- Ubuntu上配置vtk开发环境——基于visual studio code 与 gcc
环境说明 vtk版本7.1.1 visual studio 1.16.1 Ubuntu 16.04 + 自带的gcc 编译过程与windows下类似还好,运行自己的代码开始面对cmake与make的各 ...
- Codeforces Round #597 (Div. 2)
A - Good ol' Numbers Coloring 题意:有无穷个格子,给定 \(a,b\) ,按以下规则染色: \(0\) 号格子白色:当 \(i\) 为正整数, \(i\) 号格子当 \( ...
- Tcl循环语句
for 开始 判断语句 变量自增(自检) 循环体 示例代码: for {set i 0} {$i<10} {incr i} { puts "I is: $i " } 运行结果 ...
- [转载]virtual topology虚拟拓扑
原文地址:topology虚拟拓扑">virtual topology虚拟拓扑作者:一丝尘埃 topology虚拟拓扑" title="[转载]virtual to ...
- PullToRefresh原理解析,pulltorefresh解析
PullToRefresh原理解析,pulltorefresh解析 代码届有一句非常经典的话:"不要重复制造轮子",多少人看过之后便以此为本,把鲁迅的"拿来主义" ...