odroid xu4 for monitoring of a remote lan

This is a guide for setting up an Odroid Xu4 for monitoring of a remote lan

What You Need


  1. 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”!!
  2. Reformat the SD card to NTFS
  3. 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)
  4. Double click the extracted .img file to open the disk management utility, and select the SD card as the restoration destination. Click OK.
  5. Let that run; it’ll be a while.
  6. When complete, remove the SD card from the PC and insert into the ODroid
  7. Make sure the switch on the bottom of the Odroid is set to uSD and not eMMC
  8. Plug everything into the Odroid, leaving the power supply for last
  9. 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.

Operating System

  • Default is MATE, and currently it runs much better than unity or xfce

Set Automatic Login

Teamviewer For Remote Access

  1. obtain the download link from this website https://pages.teamviewer.com/published/raspberrypi/
  2. 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)
  3. sudo dpkg teamviewer-host_armhf.deb
  4. sudo apt install -f
  5. 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.
  6. speedtests can be done via browser which are a very accurate way to simulate what a customer would experience

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

  • telnet
  • mtr
  • molly-guard (to prevent accidental shutdowns or reboots)
  • speedtest-cli
  • htop

Command Line Message of the Day (for ssh login)

Welcome to ODROID XU4

*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 (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)

*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

Helpful Links