Every one said that setting a fixed IP was easy with dhcpcd, I never found it so, I found it easier to remove dhcpcd and then set up /etc/network/interfaces,It's most definitely possible now. In fact, I'd argue that it's easier now than it was using dhcpcd since it's fully embodied in a well-structured command line rather than editing an easy-to-bork config file, but others may have differing opinions.
NetworkManager documentation: https://networkmanager.dev/docs/api/latest/
NetworkManager nmcli arguments documentation: https://networkmanager.dev/docs/api/lat ... nmcli.html
With nmcli on bookworm, it is easy:
Code:
nmcli con mod "YOUR_NETWORK_INTERFACE_NAME" ipv4.address "THE_IPADDRESS_TO_USE"
Statistics: Posted by hortimech — Sat Sep 14, 2024 7:38 am