建立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