This is a guide for setting up an Odroid Xu4 for monitoring of a remote lan
What You Need
- An Odroid XU3/XU4
- Power Source for Odroid XU3/XU4
- USB Keyboard
- USB Mouse
- Micro SD Card (Must have more than 8 GB free memory and UHS-I)
- example: SanDisk Ultra 32GB microSDHC UHS-I Card https://www.amazon.com/dp/B010Q57T02/ref=twister_B011BRUOMO?_encoding=UTF8&psc=1
- Ethernet Cable
- HDMI Cable & HDMI Monitor
- A computer that can write to an SD card
- Download the latest version of Ubuntu for Odriod from [http://odroid.com/dokuwiki/doku.php?id=en:xu3_release_linux_ubuntu this website]. Make sure that the filename contains “XU3”!!
- At the time this was written, that would be [http://odroid.in/ubuntu_16.04lts/ubuntu-16.04-mate-odroid-xu3-20161011.img.xz this version]
- Reformat the SD card to NTFS
- Right click the Ubuntu file and extract it to the desktop (You need a .img file, but it comes as a .img.xz file; this will take several minutes)
- Double click the extracted .img file to open the disk management utility, and select the SD card as the restoration destination. Click OK.
- Let that run; it’ll be a while.
- When complete, remove the SD card from the PC and insert into the ODroid
- Make sure the switch on the bottom of the Odroid is set to uSD and not eMMC
- Plug everything into the Odroid, leaving the power supply for last
- Plug in the power supply; some text will appear on the monitor and after a minute or two you should find yourself at the Odroid desktop.
- Default is MATE, and currently it runs much better than unity or xfce
Set Automatic Login
- This helps reduce loading time and also improves teamviewer functionality. You still get a password prompt after some time of inactivity but then when you login you don’t have to wait a few minutes to do anything.
Teamviewer For Remote Access
- obtain the download link from this website https://pages.teamviewer.com/published/raspberrypi/
- on the odroid command line, run the following command
- wget http://download.teamviewer.com/download/linux/version_11x/teamviewer-host_armhf.deb (the download link you obtained above should be used in place of this example)
- sudo dpkg teamviewer-host_armhf.deb
- sudo apt install -f
- The teamviewer command line controls are shown below
- note, you will need to accept the terms of service on the odroid device, and that will require connecting a mouse, keyboard, and monitor to the device. Once that’s done though it won’t need to be done again.
- speedtests can be done via browser which are a very accurate way to simulate what a customer would experience
- then click on ‘run speed test’ on the first result
Teamviewer CLI Commands
- teamviewer (starts teamviewer)
- teamviewer –info (to find teamviewer id)
- teamviewer password can be set via the following command
- sudo teamviewer passwd yourpassword
Additional Programs to Install
- molly-guard (to prevent accidental shutdowns or reboots)
Command Line Message of the Day (for ssh login)
Welcome to ODROID XU4 Commands *speedtest-cli --share runs a speedtest.net/mini speedtest and provides a link to speedtest.net *iperf3 -c ip_of_iperf3_server (for odroid as a client to test upload, assuming the odroid is at a customer's site) *iperf3 -R -c ip_of_iperf3_server (for odroid as a client in reverse to test download, assuming the odroid is at a customer's site) Teamviewer *teamviewer (starts teamviewer but it should already be running by default so this is generally not necessary) *teamviewer --help (for a full list of commands) *teamviewer --info (to find teamviewer id and other info) *teamviewer password can be set via the following command **sudo teamviewer passwd yourpassword (write it down for future reference) Notes *To edit this motd sudo gedit /etc/motd (requires you to have connected from a linux machine via 'ssh -X odroid@ip' otherwise sudo vim /etc/motd
- http://magazine.odroid.com/wp-content/uploads/odroid-xu4-user-manual.pdf Official User Manual