nic@pype ~/dhcp-restart-to-save-ubuntu-22-04-server-networking
infra · automation · writing
role: Disciple · Husband · Father · Developer

DHCP Restart to Save Ubuntu 22.04 Server Networking

I moved a computer to a remote location for an off-site backup but when it was powered on it wouldn't show up on any networks. A solution that got me back in was a friend restarting the dhcp client for me:


sudo dhclient -r -v <interface> && sudo dhclient -v <interface>