🛠 Ethernet Gigabit et accès SSH
Objectives
Configure the ODROID-M1 as a headless server: Gigabit Ethernet (Realtek RTL8211F transceiver on GMAC RGMII) followed by SSH connection from another machine. Note: the board has no built-in WiFi/BT (confirmed by all datasheets) — an RJ45 cable is mandatory, or a Hardkernel USB WiFi dongle.
Hardware
- ODROID-M1 running Armbian, Cat5e Ethernet cable, box/router
- Optional keyboard, or serial console on the dedicated UART header
- Optional HDMI 2.0 monitor for the first boot
Complete code
# Sur la carte (première connexion locale) :
ip -br a # interface end0 ou eth0
sudo nmtui # ou éditer /etc/network/interfaces
# Vérifier le lien Gigabit (et non 100 Mb/s) :
sudo ethtool end0 | grep -E 'Speed|Link'
# Créer un utilisateur et activer SSH
sudo adduser projet
sudo systemctl status ssh
# Depuis le PC :
ssh projet@odroid-m1.local
# Copier des fichiers à pleine vitesse (~100 Mo/s sur GbE) :
scp rapport.txt projet@odroid-m1.local:~/
Expected verification
ip -br a displays an address in 192.168.x.x; ethtool indicates “Speed: 1000Mb/s”; the SSH connection succeeds and scp transfers files.
Common errors
- Looking for a
wlan0interface: there is no built-in WiFi on the M1, only wired (or USB dongle). - Link stuck at 100 Mb/s: defective Cat5 cable or old switch.
.localname not found: install avahi (apt install avahi-daemon).- Getting banned by fail2ban by retrying a wrong password without an SSH key.
- Undersized power supply causing disconnections: use the recommended 12 V/2 A.
Other tutorials for this board
Code examples for this board
clignotante.pyPythonbouton-gpio.pyPythoncapteur-i2c.shBashsurveillance-temperature.shBashcapteur-dht11.pyPythonservo-pwm-sysfs.shBash