执行以下步骤后,我正在尝试使用我的树莓派 4 创建一个强制门户 wifi 网络:
sudo apt update
sudo apt upgrade
sudo apt install git libmicrohttpd-dev
cd ~
git clone https://github.com/nodogsplash/nodogsplash.git
cd ~/nodogsplash
make
sudo make install
编辑 nodogsplash.conf
sudo nano /etc/nodogsplash/nodogsplash.conf
到
GatewayInterface wlan0
GatewayAddress 192.168.220.1
MaxClients 250
AuthIdleTimeout 480
然后运行我得到的 nodogsplash:
pi@raspberrypi:~/nodogsplash $ sudo nodogsplash
[5][Mon Jan 13 17:33:54 2020][14375](src/main.c:472) Starting as daemon, forking to background
[5][Mon Jan 13 17:33:54 2020][14376](src/main.c:267) Detected gateway wlan0 at 192.168.178.1 (dc:a6:32:54:ef:c1)
[3][Mon Jan 13 17:33:54 2020][14376](src/main.c:278) Could not create web server: No such file or directory