树莓派3B创建WiFi热点
来源:互联网 发布:看门狗pc优化补丁 编辑:程序博客网 时间:2024/05/22 03:12
详见GitHub上的一个开源项目:
https://github.com/oblique/create_ap
在树莓派上具体操作步骤为:
1.将代码copy到本地,安装
git clone https://github.com/oblique/create_apcd create_apsudo make install
2.安装依赖的库
sudo apt-get install util-Linux procps hostapd iproute2 iw haveged dnsmasq
若安装不上,请先执行
sudo apt-get update
3.创建WiFi热点
sudo create_ap wlan0 eth0 热点名 密码
例如:
sudo create_ap wlan0 eth0 yuntai_pi 12345678
4.开机启动
将步骤3中创建WiFi热点的命令添加到/etc/rc.local当中,保存,然后reboot重启
#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.sudo create_ap wlan0 eth0 yuntai_pi 12345678# Print the IP address_IP=$(hostname -I) || trueif [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP"fiexit 0
阅读全文
0 0
- 树莓派3B创建WiFi热点
- 树莓派3B创建WiFi热点
- 使用树莓派3B开启WIFI热点
- win7 创建wifi热点。
- Win7创建wifi热点
- 笔记本创建wifi热点
- Win7 创建Wifi热点
- Win8创建wifi热点
- 创建一个WiFi热点
- 笔记本创建WIFI热点
- win7创建虚拟wifi热点
- ubuntu 创建AP wifi 热点
- android wifi操作,热点创建
- android:wifi热点的创建
- Ubuntu14.04创建热点wifi
- Ubuntu14.04 创建 wifi 热点
- Win10创建无线WiFi热点
- Ubutu 17.04 WiFi热点创建
- CF 803 F Coprime Subsequences (容斥原理)
- 算术运算符的应用
- html拾遗第1天,form 提交
- Vue中filter的使用
- BZOJ 2588 Count on a tree(树上的主席树)
- 树莓派3B创建WiFi热点
- 本地两个PHP项目相互请求
- Java流程控制
- ValueError: "concat" mode can only merge layers with matching output shapes except for the concat
- [BFS + 打表] HDU 3567
- xshell脚本
- oracle存储过程基础语法+提升+例子总结
- 对Python生成器的理解
- android 网络协议等socket,http,HTTPS,get。post请求 等详解