【文件属性】:
文件名称:router-pi:将您的Raspberry Pi变成简单的Wi-Fi热点
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-10 05:54:35
raspberry-pi dnsmasq hostapd wifi-hotspot Shell
路由器Pi
将您的Raspberry Pi变成简单的Wi-Fi热点
如何使用
安装软件
sudo apt install dnsmasq hostapd iptables
复制配置文件
sudo cp -r etc/* /etc/
也可能需要将denyinterfaces wlan0添加到/etc/dhcpcd.conf
更改Wi-Fi密码
sudo nano /etc/hostapd/hostapd.conf
设置iptables规则
您需要在每次重新启动后运行此脚本
./forward.sh
启动服务
sudo systemctl start hostapd dnsmasq
执照
麻省理工学院
【文件预览】:
router-pi-master
----etc()
--------dnsmasq.conf(298B)
--------default()
--------network()
--------hostapd()
----LICENSE(1KB)
----README.md(502B)
----forward.sh(320B)