Networking
| Interface | Address | Purpose |
|---|---|---|
wlan0 | <LAN_IP>/24 | Home LAN over Wi-Fi (static) |
tailscale0 | <TAILSCALE_IP> | Tailnet, see 07 - Tailscale |
eth0 | not connected | — |
How it’s managed
- NetworkManager handles networking. The Pi OS imager created the profiles through netplan, so their names start with
netplan-. - The Wi-Fi profile name may contain spaces, so always quote it.
- Keep the static IP outside the router’s DHCP range, or reserve it on the router.
Inspect
ip -br addr
nmcli con show
nmcli -g ipv4.method,ipv4.addresses,ipv4.gateway,ipv4.dns con show "<WIFI_PROFILE>"Set a static IP
sudo nmcli con mod "<WIFI_PROFILE>" ipv4.method manual \
ipv4.addresses <LAN_IP>/24 ipv4.gateway <GATEWAY_IP> ipv4.dns "1.1.1.1 8.8.8.8"
sudo nmcli con up "<WIFI_PROFILE>"Note
Netplan YAML may also exist in
/etc/netplan/. Check there if a change doesn’t persist after a reboot.
Back: 00 - Overview