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
<pre>
# nmcli dev wifi connect <SSID> ifname {{{dev|wlan0}}}
# nmcli dev wifi connect <SSID>
</pre>


To connect to an open hidden WiFi network run
To connect to an open hidden WiFi network run
<pre>
# nmcli dev wifi connect <SSID> hidden yes ifname {{{dev|wlan0}}}
# nmcli dev wifi connect <SSID> hidden yes
</pre>


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  
<pre>
# nmcli dev show {{{dev|wlan0}}}
# nmcli dev show {{{dev|wlan0}}}
</pre>


=== 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
<pre>
# nmcli dev wifi connect <SSID> password <password> ifname {{{dev|wlan0}}}
# nmcli dev wifi connect <SSID> password <password> ifname {{{dev|wlan0}}}
</pre>


To connect to a protected hidden WiFi network run
To connect to a protected hidden WiFi network run
<pre>
# nmcli dev wifi connect <SSID> password <password> hidden yes ifname {{{dev|wlan0}}}
# nmcli dev wifi connect <SSID> password <password> hidden yes ifname {{{dev|wlan0}}}
</pre>


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  
<pre>
# nmcli dev show {{{dev|wlan0}}}
# nmcli dev show {{{dev|wlan0}}}
</pre>


=== Managing existing connections ===
=== Managing existing connections ===

Latest revision as of 19:46, 26 October 2023