Posts

Showing posts from July, 2026

I Lost Internet on an Ubuntu Server.... due to a Blank YAML File.

I expected the difficult part of setting up my Ubuntu Server to be Docker. Instead, I couldn't even run apt update . Package installations were failing because the server couldn't reach Ubuntu's repositories. At first, it looked like a VirtualBox problem but the VM was running, the network adapter was attached, and everything appeared normal. The problem turned out to be much simpler: Ubuntu had no usable network configuration. Where Ubuntu Gets Its Network Configuration Modern Ubuntu Server uses Netplan to describe how network interfaces should be configured. The configuration files live under: /etc/netplan/ Normally you'll find a YAML file that tells Ubuntu which interface to bring up, whether to request an IP address through DHCP, and which DNS servers to use. The configuration file was completely blank. That meant Ubuntu had nothing telling it to bring the interface online. Looking in the Wrong Place When a server has no...