Setting up a Wi-Fi Connection¶
Prerequisites¶
Wi-Fi credentials of your network — SSID, password, etc.
Administrative privileges for the gateway
Console access to the gateway (either with a monitor/keyboard/mouse, SSH, or serial)
Wi-Fi antennas (normally two RP-SMA female 2.4/5/6 GHz antennas for 2x2 MIMO) connected to the gateway
Steps¶
Ensure that you are currently logged in as the root user:
$ sudo su
Ensure that your Wi-Fi network is visible to the gateway:
$ nmcli device wifi list
Connect to the network using the command below. If your SSID or password contains certain special characters, enclose the password in quotes. If your SSID or password contains a quote itself, either use a different quote to enclose the password or escape it using a backslash:
$ nmcli device wifi connect <WIFI_SSID> password <WIFI_PASSWORD>
Ensure you have connectivity and that you have an IP address assigned:
$ ip a
Ensure that you have internet or intranet access by pinging a familiar server:
$ ping 1.1.1.1