Wi-Fi - Client and Hotspot Modes
Introduction
The Vertex One has been pre-configured with two wireless connectivity modes. Wi-Fi Client mode and Hotspot mode. These modes cannot be used at the same time.
Connect to Vertex One
To change the Wi-Fi settings, you shall connect to the Vertex One either using the IP address or the hostname. ssh avular@vertex<SN>.local
or ssh avular@192.168.x.x
.
Warning
Make sure to connect to the onboard computing module using ethernet cable when changing Wi-Fi settings; If you execute commands as stated on this page while connected via Wi-Fi, it may break your connection.
Warning
If you connect to the onboard computing module using the hostname while having both ethernet cable connected as well as active Wi-Fi client mode, the connection can be established either via ethernet or via Wi-Fi. In this situation, as you are not sure which connection is being used, it's not recommended to attempt changing Wi-Fi settings.
In case you need to change the Wi-Fi settings safely, you shall SSH using the eth0 IP
address to avoid accidentally logging-in via the Wi-Fi.
Wi-Fi Client Mode
When the onboard computing module is in Wi-Fi client mode it is connected to existing Wi-Fi network. In this case the onboard computing module will be assigned an IP address.
Find the IP Address Using Cerebra Lab
If you are not sure what the IP address of your Vertex One is, the easiest way to find out is to use the Cerebra Lab to do so:\
-
Click Robot discovery
-
IP address of all connected Avular products shows up in the list
Find the IP Address Using Device List
Alternatively, you can use a network overview tool to check the device list connected to your local network and find the IP address of your Vertex One.
How to Setup
To use the Wi-Fi client mode execute the following command: sudo avular connectivity enable_client_mode -s <ssid> -p <password>
.
If the network does not have a password drop the -p <password>
and execute: sudo avular connectivity enable_client_mode -s <ssid>
.
To disable the client mode execute: sudo avular connectivity disable
.
Note
The settings are persistent and on boot, the onboard computing module will autoconnect to the given network.
Hotspot Mode (AP)
When the onboard computing module is in AP mode it will host its own hotspot. The SSID is by default Avular-AP-vertex<SN>
but can be changed.
Note
The onboard computing module hotspot mode only supports 5 GHz band.
The wlan0 IP
of the onboard computing module is set to 192.168.191.1
.
How to Setup
To create a hotspot, execute the following command: sudo avular connectivity enable_ap -s <ssid> -p <password>
.
Both the SSID and password are optional arguments; If no arguments are given the default SSID and no password will be used.
Note
You can set SSID and password at this point and the settings are persistent.
To disable the AP mode execute: sudo avular connectivity disable
.
Note
The settings are persistent and on boot the onboard computing module will automatically start the AP.