1
7
Fork
You've already forked freewifid
2
Automatically logs into open wifi networks that use captive portals
  • Rust 99.4%
  • Shell 0.6%
Find a file
Jonah Brüchert 37141468d4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/release/woodpecker Pipeline was successful
ZIB has a new captive portal
2026年07月07日 21:54:49 +02:00
.reuse Initial commit 2022年04月21日 11:16:24 +02:00
LICENSES Initial commit 2022年04月21日 10:53:55 +02:00
networkmanager-rs Update dependencies 2025年04月20日 20:50:21 +02:00
src ZIB has a new captive portal 2026年07月07日 21:54:49 +02:00
.gitignore Initial commit 2022年04月21日 11:16:24 +02:00
.woodpecker.yml ci: Update for new woodpecker version 2023年09月18日 01:58:29 +02:00
Cargo.lock ZIB has a new captive portal 2026年07月07日 21:54:49 +02:00
Cargo.toml ZIB has a new captive portal 2026年07月07日 21:54:49 +02:00
freewifid.service Add systemd user unit 2022年04月29日 23:55:31 +02:00
README.md Ask before connecting to new networks 2023年02月28日 22:11:29 +01:00

Freewifid

Freewifid runs in the background to check if you are near a free WiFi network. If it finds one, it automatically connects to it and logs you into the captive portal.

Development

Adding a new network of a known provider

Many networks use the same provider in the background, for example you can often find the same hotsplots captive portal. For these networks, it's enough to just add their name to the can_handle function of their provider module. For hotsplots, thats src/hotsplots.rs.

Adding a new provider

A provider is a struct that implements the CaptivePortal trait. It also needs to be added to the main function.

Adding an exception for a network

Sometimes its useful to disable freewifid when a certain network is in reach, to avoid switching between a free wifi and another one. This can be done by adding something like the following in the config file in ~/.config/freewifid/config.toml.

exception_ssids = ["eduroam"]

Non-interactive mode

By default, freewifid will ask before connecting to a new network, to give you a chance to actually read the conditions it will accept. This behaviour can be turned of by adding

noninteractive = true

to the config file.