Qualcomm Robotics RB5/RB6 - WiFi Setup

From RidgeRun Developer Wiki


Index





This section will help you configure the WiFi in the board, for this, you will need to access the board with ADB, if you haven't installed ADB in your host PC, follow step 2 in the section Linaro-Getting Started, and if you want to know how to connect to the board with ADB, read the section Using ADB skipping step 4, before continuing[1]:


1. In your host PC, create a file named wpa_supplicant.conf with the following content, and replace the text inside the "<>" symbols with your information:

network={
  ssid="<your Wi-Fi network>"
  proto=WPA2
  key_mgmt=WPA-PSK
  pairwise=TKIP CCMP
  group=TKIP CCMP
  psk="<your Wi-Fi password>"
}

2. Using ADB, transfer the file into the board typing the following commands in your host PC:

adb shell mount -o remount,rw /
adb push wpa_supplicant.conf /data/misc/wifi/
adb shell sync

3. Reboot the board with the following command so that the WiFi connection gets initialized:

adb reboot

4. Once the device is up again, after a few seconds, verify that the WiFi is up in the wlan0 interface:

adb shell

Your terminal should change and look similar to the following:

#

In that case, type the following command, the output should look like in Figure 1, where there should be an assigned ip address:

# ifconfig wlan0


ifconfig command example output
Figure 1: wlan0 interface


If there is no internet connection and the ip address is not assigned, use the following command:

# wpa_supplicant -Dnl80211 -iwlan0 -c /data/misc/wifi/wpa_supplicant.conf -dddd &

You should now be connected to the internet.

References

  1. Network Setup. Qualcomm. Retrieved January 25, 2023, from [1]


Index