Template:NM CLIENT: Difference between revisions
From Variscite Wiki
(Created page with "<includeonly> === Scanning for available WiFi APs === If WiFi is enabled you can get the list of available APs by running <pre> # nmcli dev wifi list </pre> === Connecting...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
To connect to an open WiFi network run | To connect to an open WiFi network run | ||
# nmcli dev wifi connect <SSID> ifname {{{dev|wlan0}}} | |||
# nmcli dev wifi connect <SSID> | |||
To connect to an open hidden WiFi network run | To connect to an open hidden WiFi network run | ||
# nmcli dev wifi connect <SSID> hidden yes ifname {{{dev|wlan0}}} | |||
# nmcli dev wifi connect <SSID> hidden yes | |||
To check connection status run | To check connection status run | ||
Line 26: | Line 22: | ||
To check WiFi device status run | To check WiFi device status run | ||
# nmcli dev show {{{dev|wlan0}}} | |||
# nmcli dev show {{{dev|wlan0}}} | |||
=== Connecting to a protected WiFi network === | === Connecting to a protected WiFi network === | ||
To connect to a protected WiFi network run | To connect to a protected WiFi network run | ||
# nmcli dev wifi connect <SSID> password <password> ifname {{{dev|wlan0}}} | |||
# nmcli dev wifi connect <SSID> password <password> ifname {{{dev|wlan0}}} | |||
To connect to a protected hidden WiFi network run | To connect to a protected hidden WiFi network run | ||
# nmcli dev wifi connect <SSID> password <password> hidden yes ifname {{{dev|wlan0}}} | |||
# nmcli dev wifi connect <SSID> password <password> hidden yes ifname {{{dev|wlan0}}} | |||
To check connection status run | To check connection status run | ||
Line 48: | Line 38: | ||
To check WiFi device status run | To check WiFi device status run | ||
# nmcli dev show {{{dev|wlan0}}} | |||
# nmcli dev show {{{dev|wlan0}}} | |||
=== Managing existing connections === | === Managing existing connections === |