Skip to content

chbrown/macos-wifi

Repository files navigation

MacOS Wi-Fi (CoreWLAN) tools

Pure Swift CLI to access the CoreWLAN API in macOS.

Installation

make install

Usage

  • wifi -action interfaces

    List the available Wi-Fi interfaces in the system.

  • wifi -action current (or simply wifi, since current is the default action)

    Print connection information for the default Wi-Fi interface.

  • wifi -action scan

    Scan for available Wi-Fi networks.

  • wifi -action associate -bssid bssid [-password password]

    Associate with the Wi-Fi network with the given BSSID. (Or attempt to do so; it doesn't seem to work reliably.)

License

Copyright © 2018–2020 Christopher Brown. MIT Licensed.

About

MacOS Wi-Fi (CoreWLAN) utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published