2020-03-06 18:10:05 +01:00
|
|
|
# nmcli device
|
|
|
|
|
|
|
|
> Hardware device management with NetworkManager.
|
2022-07-30 14:23:57 +02:00
|
|
|
> This subcommand can also be called with `nmcli d`.
|
2022-03-09 01:31:08 -03:00
|
|
|
> More information: <https://networkmanager.dev/docs/api/latest/nmcli.html>.
|
2020-03-06 18:10:05 +01:00
|
|
|
|
|
|
|
- Print the statuses of all network interfaces:
|
|
|
|
|
|
|
|
`nmcli device status`
|
|
|
|
|
|
|
|
- Print the available Wi-Fi access points:
|
|
|
|
|
|
|
|
`nmcli device wifi`
|
|
|
|
|
|
|
|
- Connect to the Wi-Fi network with a specified name and password:
|
|
|
|
|
|
|
|
`nmcli device wifi connect {{ssid}} password {{password}}`
|
2021-01-28 11:08:26 +01:00
|
|
|
|
|
|
|
- Print password and QR code for the current Wi-Fi network:
|
|
|
|
|
|
|
|
`nmcli device wifi show-password`
|