{{tag>raspberry pi networking}} ====== Raspberry Pi set static ip ====== ===== Debian 12 Bookworm ===== nmcli c m "Wired connection 1" ipv4.addresses 192.168.99.134/24 ipv4.method manual && nmcli c m "Wired connection 1" ipv4.gateway 192.168.99.11 && nmcli c m "Wired connection 1" ipv4.dns 192.168.99.11 && nmcli c down "Wired connection 1" && nmcli c up "Wired connection 1" ====== Tested on ====== * ====== See also ====== * [[wiki:send_mail_raspberrypi|Send mail from raspberrypi using Gmail]] ====== References ====== * https://forums.raspberrypi.com/viewtopic.php?t=358069#p2172437 * https://networkmanager.dev/docs/api/latest/nmcli-examples.html