
Spoofing MAC Address in Persistent Way
The Basics: A Working nmcli Cheatsheet Get WiFi status (enabled / disabled) nmcli radio wifi Enable / Disable WiFi nmcli radio wifi <on|off> <on|off>: to turn on/off the WiFi Disconnect from WiFi nmcli device disconnect <wiface> <wiface>: the name of your wireless interface (e.g. wlan0) Show all available WiFi access points nmcli dev wifi list Refresh the available WiFi connection list nmcli dev wifi rescan Connect to a wireless access point nmcli d wifi connect <ssid> password <pass> iface <wiface> <wiface>: the name of your wireless interface <ssid>: the WiFi’s name you want to connect to <pass>: the WiFi password Review the available devices nmcli dev status Add a dynamic ethernet connection nmcli con add type ethernet con-name <name> ifname <iface_name> <name>: the name you want to give this connection profile <iface_name>: the name of the interface to bind it to (e.g. eth0) Bring up the ethernet connection nmcli con up <name> <name>: the name of the connection profile to activate (the same <name> used when adding it) Show WiFi password and QR code for the active connection nmcli device wifi show-password # OR, nmcli device wifi show Getting a Prettier Wifi List The default terse -t mode is colon-separated and built for scripts, not eyeballs: ...