🛠 Mettre le B+ en réseau par Ethernet et piloter en SSH

Raspberry Pi Model B+ (2014) — Board Sheet · intermediaire · Schéma : IMG-model-b-plus-intermediaire-3-modelbp-reseau-ssh.svg — Raspberry Pi Model B+ relié par câble Ethernet à une box/routeur (pas de WiFi ni Bluetooth embarqués), un ordinateur portable se connectant en SSH, l'adresse IP affichée sur l'écran.

Objectives

Make the Model B+ usable without a screen: obtain an IP address via DHCP on its 10/100 Ethernet port (the board has neither WiFi nor Bluetooth), enable the SSH server, connect to it from a computer, and secure access with a key. This is the foundation for all subsequent tutorials.

Hardware

Complete code

# Sur le B+ (première fois via écran HDMI + clavier, ou raspi-config)
sudo raspi-config      # 5 Interfaces de connexion > SSH > Oui
# Sur les images legacy, alternative : créer le fichier d'amorçage
touch /boot/ssh && sudo reboot
# Connaître l'adresse IP obtenue par DHCP (interface eth0 uniquement)
ip -br addr show eth0
hostname -I
# --- Depuis l'ordinateur ---
ssh pi@192.168.1.42
# Clé publique pour éviter le mot de passe
ssh-keygen -t ed25519
ssh-copy-id pi@192.168.1.42
# Diagnostic du bus partagé : Ethernet et USB sont derrière le même LAN9514
ethtool eth0           # 100baseT/Full attendu
vcgencmd get_throttled # 0x0 = aucune sous-tension enregistrée

Expected verification

ip -br addr shows eth0 as UP with an address within the router's range. ssh pi@<ip> prompts for the password and then opens a remote shell; after ssh-copy-id, the connection is passwordless. ethtool confirms 100 Mbit/s full duplex.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials