Skip to content

Usage

Once installed, start the captive portal:

Ventana de terminal
sudo ./bin/catsplash

Or if installed as a systemd service:

Ventana de terminal
sudo systemctl start catsplash

It listens on port 8080 by default. Clients connecting to the WiFi will be automatically redirected to the portal.

catsctl is the command-line tool for managing Catsplash.

Ventana de terminal
sudo catsctl status

Displays active interfaces, portal port, active/pending sessions, and total traffic.

Ventana de terminal
sudo catsctl list

Table with state, MAC, IP, connection time, data used, limits, and bandwidth for each client.

Ventana de terminal
sudo catsctl auth aa:bb:cc:dd:ee:ff 192.168.10.50
Ventana de terminal
sudo catsctl kick aa:bb:cc:dd:ee:ff
Ventana de terminal
sudo catsctl extend aa:bb:cc:dd:ee:ff 30

Extends the session by 30 minutes.

Ventana de terminal
sudo catsctl limit aa:bb:cc:dd:ee:ff 500

500 MB limit. Use 0 to remove the limit.

Ventana de terminal
sudo catsctl band aa:bb:cc:dd:ee:ff 5mbit 2mbit

Download limit 5 Mbps, upload 2 Mbps. Use 0 to disable.

Catsplash includes a basic admin panel at:

http://<gateway_ip>:8080/admin

Default credentials: admin / catsplash.

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.