📗
Everyday Cheat Sheets
  • README
  • Build
    • Architecture
      • API Management
        • Kong
      • Authentication
        • Keycloak
        • Okta
      • Cloud Native
      • Design Patterns
      • Design Principles
      • IaC
      • IoT
      • Message Broker
      • Methods
      • Networking
      • Payment
        • Stripe
      • Testing
    • Code lifecycle (ALM)
      • Automation Pipelines
        • Argo CD
        • CircleCI
        • Flux
        • Keptn
        • Travis
      • Azure DevOps
        • Azure Pipelines
      • Chef
      • GitHub
        • GitHub Actions
      • Nexus
      • Promyze
      • RunDeck
      • SaltStack
      • Sonar
      • Tuleap
    • Containers & Cloud Native
      • Argo Workflows
      • Containerization
        • Docker
          • Docker CLI
        • containerd
        • cri-o
      • CNAB
      • Dapr
      • Envoy
      • Fluentd
      • Knative
      • Kubernetes
        • Cluster API
        • etcd
        • Helm
        • k3d
        • kind
        • Kubectl
        • MetalLB
        • Minikube
      • Open Application Model (OAM)
      • Unleash
    • Data storage
      • MySQL
      • MongoDB
        • Atlas
        • Compass
        • Evergreen
        • MongoDB 4.2
        • MongoDB 5.0
        • MongoDB design
        • MongoDB events
        • MongoDB driver for .NET
        • Ops Manager
        • Realm
      • Oracle
      • Redis
      • SQL Server
      • PostgreSQL
    • Frameworks & libraries
      • Angular
        • Angular CLI
        • Angular events
      • .NET
        • ASP.NET Core
        • Blazor
        • .NET 5.0
        • .NET 6.0
        • .NET CLI
        • .NET Core
        • .NET Events
        • .NET Logging
        • .NET Testing
        • NuGet
        • WPF
        • Xamarin
      • gRPC
      • Ionic
      • Jekyll
      • Node.js
        • Express
        • NPM
      • React
        • React Native
      • Redux
    • IDE
      • Visual Studio 2022
    • Languages
      • C#
        • C# 8.0
      • ECMAScript
      • GraphQL
      • JavaScript
        • webpack
        • Yarn
      • MS-DOS
      • PHP
      • PowerShell
      • Python
      • Swagger
      • TypeScript
    • Messaging
      • Azure Service Bus
      • RabbitMQ
    • Testing
    • Workstation
      • QGIS
      • Visual Studio 2019
      • Windows 10
      • Windows Subsystem for Linux
  • Collaborate
    • Marp
    • Microsoft 365
      • Microsoft Graph
      • SharePoint Framework
        • Fluent UI
        • SharePoint Framework UI components
  • Run
    • Cloud computing
      • Alibaba
      • AWS
      • Azure
        • Azure AD
        • Azure CLI
        • Azure Container Registry
        • Azure Portal
        • Azure Service Bus
      • Firebase
      • OVH
    • Hardware
      • Single-board computers
        • Odroid
        • Raspberry Pi
    • Infrastructure automation
      • Azure Resource Manager
      • Packer
      • Pulumi
      • Puppet
      • Terraform
        • HCL
        • Terraform CLI
        • Terraform Providers
    • Networking
      • HAProxy
      • nginx
    • Observability
      • Grafana Labs
        • Grafana
        • Loki
        • Tempo
      • OpenTelemetry
      • Prometheus
      • Splunk
    • Security
      • Falco
    • Systems
      • Linux
        • CentOS
        • eBPF
        • Linux Kernel
        • Rocky
        • Ubuntu
      • Windows Server
    • Virtualization
      • Hyper-V
      • Vagrant
  • Optimize
    • DevOps
  • Join
    • Companies
      • HashiCorp
Powered by GitBook
On this page
  • Odroid
  • Quick start
  • Ubuntu 18.04

Was this helpful?

Export as PDF
  1. Run
  2. Hardware
  3. Single-board computers

Odroid

PreviousSingle-board computersNextRaspberry Pi

Last updated 4 years ago

Was this helpful?

Odroid

Reference:

Quick start

Ubuntu 18.04

SD card preparation

  • Download and install a flash program: (for example balenaEtcher-Setup-1.5.101.exe on Windows 10)

  • Download an image of Ubuntu minimal: (for example ubuntu-18.04.3-4.14-minimal-odroid-xu4-20190910.img)

  • Plug the SD card in your computer and flash it by selecting the downloaded image

Initial boot

  • Insert the SD card in the board, plug a keyboard (USB) and a monitor (HDMI) then plug the power cable

  • After few seconds a login input will be needed (root/odroid)

  • If needed, update the keyboard layout

sudo vi /etc/default/keyboard
# update XKBLAYOUT to "fr" for a French keyboard
sudo reboot
  • Change server name (and add other server name resolution with their future IP 10.0.0.X)

sudo vi /etc/hostname
sudo vi /etc/hosts
sudo reboot
  • Installing a Wifi adapter can be tricky, in case of issue you can first plug an ethernet connection on USB (by sharing for example the internet connection from a mobile phone with an USB cable)

# Make sure the USB element is recognized
lsusb

# Update Ubuntu packages and distribution
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo reboot
  • Plug the Widi adapter, make sure it's up (light on?)

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      optional: true
      dhcp4: no
      addresses: [10.0.0.1/24]
  wifis:
    wlan0:
      optional: true
      dhcp4: no
      dhcp6: no
      addresses: [192.168.86.139/24]
      gateway4: 192.168.86.1
      nameservers:
      addresses: [8.8.8.8, 4.4.4.4]
      access-points:
        "mywifiname":
          password: "mypassword"
# Review Wifi configuration
iwconfig

# Look at available wifi networks
iwlist scan

# Enable network (multiple solutions)
ip link set wlan0 up # doesn't work on my config
nmtui

# Apply configuration change
sudo netplan apply

# Check IP
ip a
ping google.com

# If there are any issues, enable DHCP and disable it afterwards

# Look at services
systemctl list-unit-files | grep enabled

# Allow SSH in firewall
sudo apt install openssh-server
sudo apt install ufw
sudo ufw enable
sudo ufw allow ssh

# Check service status
sudo systemctl status ssh
sudo service ssh status

# Check opened ports
sudo netstat -plnt
`

Create /etc/netplan/config.yaml (Ubuntu now uses , see and )

Check internet connection and enable SSH (see )

Wikipedia
Etcher
20190910-minimal
Netplan
odroid forum topic
configserverfirewall post
2daygeek post