Usage
Starting Catsplash
Section titled “Starting Catsplash”Once installed, start the captive portal:
sudo ./bin/catsplashOr if installed as a systemd service:
sudo systemctl start catsplashIt listens on port 8080 by default. Clients connecting to the WiFi will be automatically redirected to the portal.
catsctl: Control CLI
Section titled “catsctl: Control CLI”catsctl is the command-line tool for managing Catsplash.
Show system status
Section titled “Show system status”sudo catsctl statusDisplays active interfaces, portal port, active/pending sessions, and total traffic.
List clients
Section titled “List clients”sudo catsctl listTable with state, MAC, IP, connection time, data used, limits, and bandwidth for each client.
Manual authorization
Section titled “Manual authorization”sudo catsctl auth aa:bb:cc:dd:ee:ff 192.168.10.50Disconnect a client
Section titled “Disconnect a client”sudo catsctl kick aa:bb:cc:dd:ee:ffExtend a session
Section titled “Extend a session”sudo catsctl extend aa:bb:cc:dd:ee:ff 30Extends the session by 30 minutes.
Set data limit
Section titled “Set data limit”sudo catsctl limit aa:bb:cc:dd:ee:ff 500500 MB limit. Use 0 to remove the limit.
Set bandwidth
Section titled “Set bandwidth”sudo catsctl band aa:bb:cc:dd:ee:ff 5mbit 2mbitDownload limit 5 Mbps, upload 2 Mbps. Use 0 to disable.
Web admin panel
Section titled “Web admin panel”Catsplash includes a basic admin panel at:
http://<gateway_ip>:8080/adminDefault credentials: admin / catsplash.
Traffic monitoring
Section titled “Traffic monitoring”Catsplash monitors traffic for each authenticated client every 10 seconds using iptables counters. If a client exceeds their data quota, the session is automatically closed.