Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:configurations:wifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:configurations:wifi [2022/07/06 23:20]
hyphop [Ubuntu]
products:sbc:common:configurations:wifi [2022/07/08 05:10] (current)
frank
Line 29: Line 29:
 1. Scan for Wi-Fi Networks: 1. Scan for Wi-Fi Networks:
  
-```sh+```shell
 $ nmcli d wifi list $ nmcli d wifi list
 IN-USE  SSID                          MODE   CHAN  RATE        SIGNAL  BARS  SEC IN-USE  SSID                          MODE   CHAN  RATE        SIGNAL  BARS  SEC
Line 44: Line 44:
   * To avoid storing plain-text passwords, there is an handy tool called ''wpa_passphrase'' that comes with ''wpa_supplicant''.   * To avoid storing plain-text passwords, there is an handy tool called ''wpa_passphrase'' that comes with ''wpa_supplicant''.
   * Input the command ''wpa_passphrase your_ssid your_password'' to create a 256-bit PSK passphrase from your_ssid and your_password.   * Input the command ''wpa_passphrase your_ssid your_password'' to create a 256-bit PSK passphrase from your_ssid and your_password.
-```sh+```shell
 khadas@Khadas:~$ wpa_passphrase your_ssid your_password khadas@Khadas:~$ wpa_passphrase your_ssid your_password
 network={ network={
Line 59: Line 59:
  
 3. Connect to a Wi-Fi Network: 3. Connect to a Wi-Fi Network:
-```sh+```shell
 $ sudo nmcli d wifi connect your_ssid password 6d5324610d3627ab4f97b80cf22b742996d82c022b283a874e88d083a299734c wep-key-type key $ sudo nmcli d wifi connect your_ssid password 6d5324610d3627ab4f97b80cf22b742996d82c022b283a874e88d083a299734c wep-key-type key
 Device 'wlan0' successfully activated with '206ab399-3822-4652-ba4c-64847af0bce9'. Device 'wlan0' successfully activated with '206ab399-3822-4652-ba4c-64847af0bce9'.
Line 69: Line 69:
 4. Disconnect from a Wi-Fi Network: 4. Disconnect from a Wi-Fi Network:
  
-```sh+```shell
 $ sudo nmcli d disconnect wlan0 $ sudo nmcli d disconnect wlan0
 Device 'wlan0' successfully disconnected. Device 'wlan0' successfully disconnected.
Last modified: 2022/07/06 23:20 by hyphop