2. Create a connection to the target SSID. If the AP requires a password, add a password parameter:
$ sudo nmcli dev wifi connect <SSID>
$ sudo nmcli dev wifi connect <SSID> password "<PASSWORD>"
3. To disconnect from the target SSID:
$ sudo nmcli con down <SSID>
Next steps
If required, use the following command to set up a Wi-Fi hotspot using the Wi-Fi interface (wlp2s0).
1. Use nmcli to create the hotspot connection:
$ sudo nmcli dev wifi hotspot ifname <IF NAME> con-name <CONNECTION NAME> ssid <SSID>
password "<PASSWORD>"
● The IF NAME should be the wlp2s0 on EGW3200.
● The CONNECTION NAME is assigned by the user for management.
● The SSID is assigned by the user for Wi-Fi client device connection.
2. Use the PASSWORD to connect the Wi-Fi client device to the SSID.
NOTE: To delete the hotspot connection, run the following command:
$ sudo nmcli c delete <CONNECTION NAME>
Configure Bluetooth
About this task
Use the following commands to power on Bluetooth and scan target devices.
Steps
1. Enter bluetoothctl mode:
$ bluetoothctl
2. Power on Bluetooth:
$ power on
3. Scan Bluetooth devices:
$ scan on
Figure 72. Scan Bluetooth devices
Setting Up the Ubuntu Operating System
73