|
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:
If the provided information is correct, the daemon establishes connection to the network and saves this network configuration.
If the connection was successful, the SSID of the network should appear in the row corresponding to the type 'wifi'.
You can also verify connection status by running network inspection commands like ip addr in the root shell.
To get additional details about the connected network such as UUID, key managements, IPv4 and IPv6 addresses:
To check the status of all interfaces (including wlan0) managed by NetworkManager:
Viewing general information and properties of a Wi-Fi interface:
NetworkManager stores network profile information, such as passphrases, IPv4 and 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:
This opens an interactive editor:
To set a property value, for example autoconnect=no, use set as set <setting>.<property> <value> like:
Save your changes and quit using:
Please refer to nmcli docs other options available for advanced configuration.