Skip to main content

wifzf

A minimal WiFi manager for FreeBSD built on top of wpa_supplicant and fzf. Think nmtui, but only for WiFi and made for switching networks fast.

Requirements

  • FreeBSD
  • Python 3.10+
  • fzf
  • doas or sudo

Installation

$ pkg install fzf py311-pipx doas
$ pipx install wifzf

Or with pip:

$ pip install wifzf

Then run:

$ wifzf

From source

$ git clone https://github.com/<your-user>/wifzf
$ cd wifzf
$ python -m venv venv && source venv/bin/activate
$ pip install -r requirements.txt
$ ./run-wifzf

First run

If there is no wlan0 or no /etc/wpa_supplicant.conf, wifzf sets things up for you: it asks for your wireless device and country code, writes wpa_supplicant.conf (mode 600), updates /etc/rc.conf through sysrc, creates wlan0 and starts wpa_supplicant. No reboot needed.

wifzf re-runs itself through doas or sudo when it isn't started as root.

Usage

Menu entry Action
Connect to a network (scan) Scan, pick a network, enter the password, connect. Ctrl-R rescans
Switch to a saved network Quickly jump to a network you already saved
Disconnect Drop the current connection
Reconnect (auto, by priority) Re-enable all saved networks and let priority decide
Forget a saved network Remove a network from wpa_supplicant.conf
Status Show wpa_cli status and the IP address
Setup / reconfigure Run the first-time setup again
Esc Go back

Notes

  • Networks are stored in /etc/wpa_supplicant.conf via wpa_cli save_config.
  • "Switch" uses select_network, which disables the other saved networks until you pick "Reconnect (auto)".
  • If a connect fails (wrong password, out of range) wifzf resets the interface (ifconfig down/up) and goes back to your previous network.
  • Supports open, WPA/WPA2 and WPA3 personal networks. No WEP, no 802.1X, no hidden networks.

License

GPL-3.0

Metadata

Release files for wifzf 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wifzf 0.1.0
File Size Uploaded Provenance Actions
wifzf-0.1.0.tar.gz 22.4 kB Without provenance Details for wifzf-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wifzf 0.1.0
File Interpreter ABI Platform Actions
wifzf-0.1.0-py3-none-any.whl Python 3 none any Details for wifzf-0.1.0-py3-none-any.whl

Total release size: 44.9 kB

Release files / wifzf-0.1.0.tar.gz

Download URL wifzf-0.1.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b3da9e0e9966aa78aa7c763a44cc778e0fb75bbf8825fa260bc87b111d548e17
BLAKE2b-256 checksum
How to use checksums
017c2962b37dd71fa21408a7ac9e89048d6246eba8d02c05f3688ddde861cdff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / wifzf-0.1.0-py3-none-any.whl

Download URL wifzf-0.1.0-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1332ba0dcd4c27bc67b7258d2b2f7f6bd2bcedf06ffb6f2615ada24548749b5
BLAKE2b-256 checksum
How to use checksums
612f3a554e07055296bd400be100abc83ad560f3149de70e924afdffa94a430e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for wifzf 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page