Skip to content

MainKt/wutil

Repository files navigation

wutil

A simple WiFi utility CLI for FreeBSD

Building

Dependencies

wutil depends on libifconfig and libwpa_client. All required patches are available in the patch/ directory.

  • libifconfig is available via net/libifconfig
    # # as a package
    # pkg install net/libifconfig
    
    # # or as a port
    # make -C /usr/ports/net/libifconfig install
  • To get libwpa_client, apply this patch to a FreeBSD ports tree and then build the security/wpa_supplicant port.
    # patch -p1 -d /usr/ports < patch/security_wpa__supplicant_libwpa__client-support.patch
    # make -C /usr/ports/security/wpa_supplicant install

Build wutil as a port

# patch -p1 -d /usr/ports < patch/sysutils_wutil.patch
# make -C /usr/ports/sysutils/wutil install

Build wutil with bmake

$ make

Usage

The CLI

$ wutil -h
Usage:  wutil {-h | subcommand [args...]}
        wutil interfaces
        wutil interface <interface>
        wutil [-c <wpa-ctrl-path>] known-networks
        wutil [-c <wpa-ctrl-path>] {known-network | forget} <ssid>
        wutil [-c <wpa-ctrl-path>] set
          [-p <priority>] [--autoconnect {y | n}] <ssid>
        wutil [-c <wpa-ctrl-path>] {scan | networks | status | disconnect}
        wutil [-c <wpa-ctrl-path>] connect
          [-i <eap-id>] [-p <password>] [-h] <ssid> [password]

The TUI

$ wutui
image

About

A simple WiFi util for FreeBSD

Resources

License

Stars

Watchers

Forks

Packages

No packages published