Tiny static-binary client for srun (深澜) captive portals.
Pick your platform:
- OpenWrt —
opkg installthe.ipk, configure via LuCI - Debian / Ubuntu —
apt install ./srunc_*.deb, runs under systemd - Prebuilt binary (macOS / Windows / other Linux) —
cargo binstall sruncor a tarball from the release page - From source —
cargo install srunc
srunc login # prompts for username + password
srunc login -k # keep the session alive (re-auth on drop)
srunc status
srunc logoutHost and ac_id are auto-discovered from the captive redirect — most networks
need nothing more than username + password. To skip the prompt, drop a config
at ~/.config/srunc/config.toml (see docs/config.example.toml).
