Users Guide

Table Of Contents
Connecting through WLAN
1. Show a list of network interfaces like eth0, eth1, wlan0, mlan0, and so on.
# nmcli d
2. Show a list of available wireless access points.
# nmcli d wifi
3. Wireless connection with nmcli: Run the following commands and replace $SSID, $PSK, and $WIFI_INTERFACE with the
variables for your environment.
Connect:
# sudo network-manager.nmcli dev wifi connect $SSID password $PSK ifname
$WIFI_INTERFACE
Disconnect:
# sudo network-manager.nmcli dev disconnect $WIFI_INTERFACE
Connecting through SoftAP (wifi-ap.snap)
Enabling the Software-enabled Access Point (SoftAP) can improve connectivity to wireless-access points by increasing
available entropy and reducing the number of connection retries to clients.
NOTE: For more information on SoftAP, see docs.ubuntu.com/core/en/stacks/network/wifi-ap/docs/index.
1. Install haveged.
# sudo apt install haveged
2. Disable wpa_supplicant.
# sudo systemctl stop wpa_supplicant.service
# sudo systemctl mask wpa_supplicant.service
3. Detach from network manager.
# sudo nmcli d set wlan0 managed no
4. Install wifi-ap snap.
# snap install wifi-ap
5. Configure settings.
# sudo wifi-ap.setup-wizard
6. Check the status.
# sudo wifi-ap.status
ap.active: true
Connecting through SoftAP (hostapd)
Enabling the Software-enabled Access Point (SoftAP) can improve connectivity to wireless-access points by increasing
available entropy and reducing the number of connection retries to clients.
NOTE: For more information on SoftAP, see docs.ubuntu.com/core/en/stacks/network/wifi-ap/docs/index.
1. Install haveged.
# sudo apt install haveged
Setting up the operating system
81