Skip to content

lost-res/captive_portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

captive_portal

Basic Captive Portal, redirects to single webpage on connecting to created Access Point. Very NOOB Freindly.

💡 Prerequisite

Any Linux OS (Preferably UBUNTU)
Python3
kea-dhcp4-server
lighttpd
hostapd
xterm

🛠️ Installation

Install Prerequisites:

sudo apt install python3 kea-dhcp4-server lighttpd hostapd xterm

💻 Usage

  1. Clone this repo:
git clone https://github.com/wilcodex/captive_portal.git
  1. 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 -p to use default.

  1. To STOP -- CTRL^C in the main terminal.

🛠️ Issues:

Would Love to Resolve.

Find Me on :

About

Basic Captive Portal, redirects to single webpage on connecting to created Access Point.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors