🛠 Réseau : Ethernet Gigabit unique et module Wi-Fi en M.2 E-key

BeagleBone AI-64 (TI TDA4VM / J721E) · intermediaire · Schéma : IMG-beaglebone-ai64-intermediaire-1-reseau-gige-et-module-wifi-m2.svg — BeagleBone AI-64 avec un câble RJ45 sur son unique port Ethernet et un module Wi-Fi M.2 E-key glissé dans son connecteur, annotation « PCIe bridé à 2,4 Gbps ».

Objectives

Configure the AI-64 network, which features only a single Gigabit Ethernet port (MCU CPSW port, DP83867 PHY) and NO Wi-Fi/Bluetooth: you will configure static Ethernet via systemd-networkd, then install a Wi-Fi module into the M.2 E-key connector (PCIe + USB + SDIO signals) and manage its documented hardware limitations.

Hardware

Complete code

# 1. Ethernet : identifier l'interface et son lien
ip -br a
sudo ethtool eth0 | grep -E "Speed|Link"   # attendu : 1000baseT/Full

# 2. Configuration statique reproductible (systemd-networkd)
sudo tee /etc/systemd/network/08-eth0.network > /dev/null <<'EOF'
[Match]
Name=eth0
[Network]
Address=192.168.1.50/24
Gateway=192.168.1.1
DNS=192.168.1.1
EOF
sudo systemctl enable --now systemd-networkd
sudo systemctl restart systemd-networkd

# 3. Module Wi-Fi en M.2 : carte alimentée ÉTEINTE, insérer le module, visser
sudo lspci | grep -i -E "network|wireless"
dmesg | grep -iE "pci|link.*gen" | tail    # vérifier la vitesse négociée
sudo apt install firmware-atheros           # paquet selon module (iwlwifi/realtek...)
sudo systemctl enable --now NetworkManager
nmcli dev wifi connect "MonReseau" password "monmotdepasse"

Expected verification

After rebooting, ip a shows the static address on eth0, ethtool reports 1000baseT/Full, and ping succeeds towards the gateway. The M.2 module appears in lspci and nmcli displays “connected”; ping goes out through wlan0 (verify with ip route).

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials