Platform Notes

macOS

Uses networksetup and the airport binary. Requires sudo for changes. Restarting also resets the MAC — macOS does not persist changes across reboots.

Linux

Uses ip (iproute2) by default and falls back to ifconfig. Pass --prefer-ifconfig to force the legacy tool. Requires sudo for changes.

Windows

Uses ipconfig and the Windows Registry (via winreg). Must be run from an Administrator shell. Changes may require disabling/re-enabling the adapter (handled automatically where possible).

Updating the OUI database

Refresh the bundled vendor database from the IEEE registry:

shell
$yarn update-oui