# RB5 QuickStartGuide ###### tags: `UAV` --- Login: root password: oelinux123 Login: demo password: demo!@# --- sudo: command not found sudo apt update sudo apt install sudo --- Video streaming to LCD Download file from: http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_30fps_normal.mp4 Failed to load module: /usr/lib/libweston-3/x11-backend.so: cannot open shared object file: No such file or directory --- ## sudoers root@qrb5165-rb5:~# usermod -aG sudo demo root@qrb5165-rb5:~# sudo whoami root root@qrb5165-rb5:~# demo is not in the sudoers file. How to Add User to Sudoers in Ubuntu https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/ To add the user to the group run the command below as root or another sudo user. Make sure you change “username” with the name of the user that you want to grant permissions to. usermod -aG sudo username Copy Granting sudo access using this method is sufficient for most use cases. To ensure that the user has sudo privileges, run the whoami command: sudo whoami Copy You will be prompted to enter the password. If the user has sudo access, the command will print “root”: root --- ## Forums - Login to RB5 https://developer.qualcomm.com/forum/qdn-forums/hardware/qualcomm-robotics-rb5-development-kit/68011 Please try Username: root Password: oelinux123 if for any reason root login didint worked or root password has been changed then you can try following method : connect RB5 to Host machine through Type-C cable login to RB5 board using adb shell add new user & set password using adduser rb5_user give admin access to new user usermod -aG sudo rb5_user you can use these detail to login thorugh SSH i.e. ssh rb5_user@ip_address Thanks & Regards, Mayur --- ## Install utilities ### Install Ethernet ``` # apt install -y net-tools ``` root@qrb5165-rb5:~# apt install -y net-tools Reading package lists... Done Building dependency tree Reading state information... Done net-tools is already the newest version (1.60+git20161116.90da8a0-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. ### Install WiFi ``` alias go-wifi="sudo nmcli dev wifi connect EE-XILINX-MESH password eexilinx123" ``` ``` alias go-wifi="sudo nmcli dev wifi connect hjuav_5G password 1357924680" ``` --- Install and Use NetworkManager (NMCLI) on Ubuntu / Debian https://computingforgeeks.com/install-and-use-networkmanager-nmcli-on-ubuntu-debian/ sudo apt-get update sudo apt-get install network-manager sudo systemctl start NetworkManager.service sudo systemctl enable NetworkManager.service sudo systemctl status NetworkManager.servic --- ## OpenQ856-QB5165 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.50.156 netmask 255.255.255.0 broadcast 192.168.50.255 ether 00:e0:4c:68:07:b1 --- ## nmcli root@qrb5165-rb5:~# nmcli dev wifi connect BigTreeMesh password Call6576886 Device 'wlan0' successfully activated with 'a0b01982-e563-48f6-a3e7-216c41c4b494'. root@qrb5165-rb5:~# wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.50.94 netmask 255.255.255.0 broadcast 192.168.50.255 inet6 fe80::90d1:21cd:a283:511c prefixlen 64 scopeid 0x20<link> inet6 fe80::a00b:668a:cfb0:9d83 prefixlen 64 scopeid 0x20<link> ether 00:d0:ca:03:9f:e7 txqueuelen 3000 (Ethernet) RX packets 34 bytes 4851 (4.8 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 43 bytes 5155 (5.1 KB) TX errors 0 dropped 7 overruns 0 carrier 0 collisions 0 --- ## System configuration ### Linux OS version ``` root@qrb5165-rb5:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic ``` ``` root@qrb5165-rb5:~# uname -a Linux qrb5165-rb5 4.19.125 #1 SMP PREEMPT Fri Nov 26 10:19:26 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux ``` ### cpuinfo ``` root@qrb5165-rb5:~# cat /proc/cpuinfo Processor : AArch64 Processor rev 14 (aarch64) processor : 0 BogoMIPS : 38.40 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp CPU implementer : 0x51 CPU architecture: 8 CPU variant : 0xd CPU part : 0x805 CPU revision : 14 ... processor : 7 BogoMIPS : 38.40 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x1 CPU part : 0xd0d CPU revision : 0 ``` ### meminfo ``` root@qrb5165-rb5:~# cat /proc/meminfo MemTotal: 7833620 kB MemFree: 6199540 kB MemAvailable: 6996212 kB Buffers: 40904 kB Cached: 267620 kB ``` ### ifconfig ``` root@qrb5165-rb5:~# ifconfig bond0: flags=5123<UP,BROADCAST,MASTER,MULTICAST> mtu 1500 ether ee:4e:67:7e:1a:ed txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500 inet6 fe80::a228:c863:8ec3:2b56 prefixlen 64 scopeid 0x20<link> ether 7e:9e:cc:1d:a6:5f txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 23 bytes 6854 (6.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 00:0e:c6:e1:ad:78 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 2640 bytes 187680 (187.6 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2640 bytes 187680 (187.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 00:d0:ca:03:9e:b3 txqueuelen 3000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ```