Link Search Menu Expand Document

Qualcomm Flight RB5 Connect Network

Table of contents

  1. Connect Using WiFi
    1. Update wpa_supplicant.conf
    2. Reboot
    3. Check IP Address
    4. SSH onto Qualcomm Flight RB5
    5. Next Steps
  2. Connecting to 5G network
    1. Configuring Service
    2. Disabling / enabling service
    3. Next Steps

Connect Using WiFi

Update wpa_supplicant.conf

First, ADB onto your device if you haven’t already done so:

adb shell

In order to connect your Qualcomm Flight RB5 to WiFi, modify the wpa_supplicant file using the following:

vi /data/misc/wifi/wpa_supplicant.conf

Replace the default SSID and psk with the credentials for your WiFi network

# Only WPA-PSK is used. Any valid cipher combination is accepted.
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
#Open
#        ssid="example open network"
#        key_mgmt=NONE
#WPA-PSK
	ssid="Monkey1" # <-- Modify SSID here
	#proto=WPA
	key_mgmt=WPA-PSK
	pairwise=TKIP CCMP
	group=TKIP CCMP
	psk="tUgasw4z" # <-- Modify psk here
#WEP
#	ssid="example wep network"
#	key_mgmt=NONE
#	wep_key0="abcde"
#	wep_key1=0102030405
#	wep_tx_keyidx=0
}
wowlan_triggers=magic_pkt

Reboot

To take effect, you need to reboot.

# exit from adb
exit

# reboot
adb reboot

Check IP Address

Get the RB5 shell over adb again:

adb shell

Run the following to find the IP of the RB5:

ifconfig wlan0

You’ll see something like:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.188  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::7970:262b:29b8:37e9  prefixlen 64  scopeid 0x20<link>
        ether 00:03:7f:12:33:6e  txqueuelen 3000  (Ethernet)
        RX packets 51  bytes 7204 (7.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18  bytes 1889 (1.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

In this case, the Qualcomm Flight RB5’s IP address on the network is 192.168.1.188

SSH onto Qualcomm Flight RB5

Now, from you host machine, we can SSH on target using the following instead of adb:

ssh root@192.168.1.188

The default SSH password is oelinux123

If the SSH connection is successful, you should see the following:

Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.19.125-perf aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

 * Super-optimized for small spaces - read how we shrank the memory
   footprint of MicroK8s to make it the smallest full K8s around.

   https://ubuntu.com/blog/microk8s-memory-optimisation
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

root@qrb5165-rb5:~#

Next Steps

There are roughly two paths you could take:

  • To check out PX4 and Fly, go here
  • To skip to Machine Vision features to mess around at your desktop, go here

Connecting to 5G network

In order to establish a connection to the 5G network, rb5-flight-modem is required.

Configuring Service

The rb5-flight-modem service can be configured by running the following:

rb5-flight-configure-modem

The user will be prompted to select their modem hardware and APN (Access Point Name) for their chosen SIM card.

This will enable the rb5-flight-modem service in the background and it will be started at boot.

Disabling / enabling service

The rb5-flight-modem service can be disabled by running the following:

systemctl disable rb5-flight-modem

The service can be re-enabled by running:

systemctl enable rb5-flight-modem

The status of the service can be viewed by running:

systemctl status -l rb5-flight-modem

Next Steps

There are roughly two paths you could take:

  • To check out PX4 and Fly, go here
  • To skip to Machine Vision features to mess around at your desktop, go here