I am using modern versions of Ubuntu that use network-manager, and I would like release and renew my network settings through the commandline.
In the olden days when Ubuntu used the
interfaces file, I would simply do:
sudo /etc/init.d/networking restart but now that no longer works.
I am looking for functionality similar to Windows'
ipconfig /release and
How can I release and renew network settings from the commandline interface?