Basic Captive Portal, redirects to single webpage on connecting to created Access Point. Very NOOB Freindly.
Any Linux OS (Preferably UBUNTU)
Python3
kea-dhcp4-server
lighttpd
hostapd
xterm
Install Prerequisites:
sudo apt install python3 kea-dhcp4-server lighttpd hostapd xterm- Clone this repo:
git clone https://github.com/wilcodex/captive_portal.git- Change to cloned directory and run
run.sh:
cd captive_portal
sudo ./run.sh -i "Access Point Interface" -s "SSID of AP" -c "AP Channel" -p "Password"-i "Access Point Interface" -- Name of WiFi Interface of your machine. Default ->
wlan0.
-s "SSID" -- Name of WiFi Access Point to be seen to others. Default --
My_Portal.
-c "Channel" -- Channel for WiFi Access Point. Default ->
5.
-p "Password" -- Password for the WiFi Access Point. Default -> No Password Protection. Omit
-pto use default.
- To STOP --
CTRL^Cin the main terminal.
Would Love to Resolve.