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