|
Veethree D7 SDK
|
The D7 has a single WLAN interface wlan0 which allows Wi-Fi connectivity. This interface is managed by NetworkManager and a GUI wrapper is provided using Qt D-Bus.
The D7 SDK contains a simple example to scan and connect to Wi-Fi networks using Qt D-Bus. Please see Qt D-Bus Wi-Fi example.
nmcli command-line tool can be used to connect to Wi-Fi on the D7.
By default NetworkManager is started as a systemd service on boot. To check the status of the service:
To check the status of all interfaces (including wlan0) managed by NetworkManager:
Viewing general information and properties of a Wi-Fi interface:
To disable and re-enable Wi-Fi:
To list Wi-Fi networks:
To connect to a Wi-Fi network:
If the provided information is correct, the daemon establishes connection to the network and saves this network configuration.
To verify your network connection:
If the connection was successful, the SSID of the network should appear in the row corresponding to the type 'wifi'.
To get additional details about the connected network such as UUID, key managements, IPv4 and IPv6 addresses:
You can also verify connection status by running network inspection commands like ip addr or ifconfig in the root shell.
To disconnect from a network:
To reconnect to a saved network:
To delete a saved network configuration:
NetworkManager stores network profile information, such as passphrases IPv4, IPv6 config, etc in /etc/NetworkManager/system-connections. This information is used to automatically connect to that network on boot.
To view all saved connections including active connections:
By default network manager enables autoconnect for all connection profiles. To disable autoconnect:
To batch edit a network configuration:
This opens an interactive editor:
To set a property value, for example autoconnect=no, use set as set <setting>.<property> <value> like:
Save the your changes and quit using:
Please refer to nmcli docs other options available for advanced configuration.