🛠 Configurer l'Ethernet Gigabit et se connecter en SSH

ODROID-N2 / ODROID-N2+ (Hardkernel) · intermediaire · Schéma : IMG-odroid-n2-intermediaire-3-odroidn2-ethernet-ssh.svg — ODROID-N2 relié par câble Ethernet au routeur, session SSH ouverte depuis un ordinateur, adresse IP affichée, absence de WiFi rappelée.

Objectives

Set up the ODROID-N2 headless (without a screen): configure Gigabit Ethernet (Amlogic dwmac controller + Realtek RTL8211F PHY, measured at over 900 Mbit/s Tx/Rx by CNX) and control the board via SSH. Important: the board has NO built-in WiFi/BT — an Ethernet cable is mandatory, or you need a USB adapter.

Hardware

Complete code

# --- Sur la carte (première connexion via écran clavier ou série) ---
sudo nmtui          # ou éditer /etc/network/interfaces
# DHCP simple avec systemd-networkd :
cat <<'EOF' | sudo tee /etc/systemd/network/20-eth0.network
[Match]
Name=end0 eth0*
[Network]
DHCP=yes
EOF
sudo systemctl restart systemd-networkd
ip -4 addr show | grep inet          # noter l'IP, p. ex. 192.168.1.42
sudo systemctl enable --now ssh

# --- Depuis le PC ---
ssh odroid@192.168.1.42             # mot de passe par défaut de l'image
# Débit vérifié attendu (>900 Mbit/s) :
iperf3 -s                            # sur la carte
iperf3 -c 192.168.1.42               # sur le PC serveur iperf3 du LAN

Expected verification

ip -4 addr show displays a DHCP address on the Ethernet interface (commonly named end0/eth0 on meson-g12b). ethtool end0 | grep -i speed indicates 1000Mb/s. The SSH session opens on the first attempt; iperf3 approaches 940 Mbit/s. ping works from the gateway.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials