Installation
Catsplash works exclusively on Linux. It requires root access and standard Linux networking tools.
System requirements
Section titled “System requirements”- Linux with a modern kernel (Debian/Ubuntu recommended).
- Root access.
- Two network interfaces: one for the WiFi hotspot and one for Internet access.
- Dependencies:
hostapd,dnsmasq,iptables,gcc,make,sqlite3, Go 1.26+.
Quick install (recommended)
Section titled “Quick install (recommended)”git clone https://github.com/xeland314/catsplash.gitcd catsplashmake buildsudo ./setup.shmake build compiles the catsplash and catsctl binaries into the bin/ directory. Then setup.sh guides the installation step by step.
Manual installation
Section titled “Manual installation”-
Build the binaries:
Ventana de terminal make build -
Create the install directory and copy files:
Ventana de terminal sudo mkdir -p /opt/catsplashsudo install -m 0755 bin/catsplash /opt/catsplash/sudo install -m 0755 bin/catsctl /opt/catsplash/sudo ln -sf /opt/catsplash/catsctl /usr/local/bin/catsctl -
Create the config file
/opt/catsplash/config.toml. -
Configure hostapd and dnsmasq manually, or run
setup.shto do it automatically.
Cross-compilation for other architectures
Section titled “Cross-compilation for other architectures”Catsplash supports cross-compilation via Go. Use make release to generate static binaries:
| Architecture | Command |
|---|---|
| linux/amd64 (v1) | GOOS=linux GOARCH=amd64 GOAMD64=v1 |
| linux/amd64 (v2) | GOOS=linux GOARCH=amd64 GOAMD64=v2 |
| linux/386 | GOOS=linux GOARCH=386 |
| linux/arm64 | GOOS=linux GOARCH=arm64 |
| linux/arm/v7 | GOOS=linux GOARCH=arm GOARM=7 |
make releaseThis generates .tar.gz files in bin/ named like catsplash-linux-amd64-v1.tar.gz.
Verification
Section titled “Verification”sudo ./bin/catsplash# Expected output: "Catsplash is running. Press Ctrl+C to stop."