Comments on: How to Assign Static IP Address on Debian 12 https://www.linuxtechi.com/configure-static-ip-address-debian/ Sat, 16 Sep 2023 07:15:33 +0000 hourly 1 By: Mandeep https://www.linuxtechi.com/configure-static-ip-address-debian/#comment-43785 Mon, 31 Oct 2022 01:26:11 +0000 https://www.linuxtechi.com/?p=13043#comment-43785 Nice Guide. Appreciate it.

In case someone has used “sudo raspi-config” > Advanced Options > Network Interface Names > Would you like to enable predictable network interface names ?

pi@pi-san-rasp:~ $ sudo nmcli connection modify Wired\ connection\ 1 ipv4.addresses 192.168.1.10/24
pi@pi-san-rasp:~ $ sudo nmcli connection modify Wired\ connection\ 1 ipv4.gateway 192.168.1.1
pi@pi-san-rasp:~ $ sudo nmcli connection modify Wired\ connection\ 1 ipv4.method manual
pi@pi-san-rasp:~ $ sudo nmcli connection modify Wired\ connection\ 1 ipv4.dns ‘8.8.8.8’
pi@pi-san-rasp:~ $ sudo reboot

]]>