创建WiFi热点使用的GitHub上一个开源项目: https://github.com/oblique/create_ap
具体在树莓派上操作为:
#将代码copy到本地,安装
git clone https://github.com/oblique/create_ap
cd create_ap
make install
#安装依赖的库
apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
#创建WiFi热点(GitHub上有多种方式创建,可以查找自己需要的那种)
sudo create_ap wlan0eth0 热点名 密码
#开机启动
#将sudo create_ap wlan0eth0 热点名 密码 添加到/etc/rc.local当
#中,即可开机启动
--------------------- 本文来自 剪水落帝 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/u014271612/article/details/53766627?utm_source=copy