Configuration
Setup wizard (setup.sh)
Section titled “Setup wizard (setup.sh)”The setup.sh script is the easiest way to configure Catsplash. It offers an interactive menu with the following options:
- Configure and Install (Wizard): Step-by-step guide for installing dependencies, selecting interfaces, configuring WiFi, and creating systemd services.
- Start/Stop/Restart Services: Control hostapd, dnsmasq and Catsplash.
- View Status: Shows active services and database sessions.
- View Logs: Latest Catsplash log lines.
- Uninstall: Restores original configurations and removes files.
sudo ./setup.shIt also accepts direct commands:
sudo ./setup.sh startsudo ./setup.sh stopsudo ./setup.sh statussudo ./setup.sh logssudo ./setup.sh uninstallTOML configuration file
Section titled “TOML configuration file”The configuration file (/opt/catsplash/config.toml) is auto-generated by the wizard.
Network interfaces
Section titled “Network interfaces”Catsplash requires two interfaces:
- AP (Access Point): WiFi interface that broadcasts the hotspot.
- WAN: Interface with Internet access (eth0, enp1s0, etc.).
systemd services
Section titled “systemd services”The wizard creates four systemd services:
catsplash-ip.service: Assigns the static IP to the hotspot.hostapd.service: WiFi access point.dnsmasq.service: DHCP and DNS for clients.catsplash.service: The captive portal itself.
sudo systemctl status catsplashsudo journalctl -u catsplash -fAdvanced network configuration
Section titled “Advanced network configuration”For manual hostapd and dnsmasq configuration, see: