I want to change the IP address persistently on a running rPi, by running a script. I tried now to change the
/etc/dhcpcd.conf file and running
sudo systemctl restart networking
sudo systemctl restart dhdpcd
ip a l still shows the old IP address (the new one is added though)
How can I change the address without needing to reboot? Of course I want to keep the new changes after a reboot.