This shows you the differences between two versions of the page.
| 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 | IN-USE | ||
| Line 44: | Line 44: | ||
| * To avoid storing plain-text passwords, there is an handy tool called '' | * To avoid storing plain-text passwords, there is an handy tool called '' | ||
| * Input the command '' | * Input the command '' | ||
| - | ```sh | + | ```shell |
| khadas@Khadas: | khadas@Khadas: | ||
| 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 ' | Device ' | ||
| 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 ' | Device ' | ||