This has been the bane of my existence for some time until I finally decided to investigate and resolve this issue on my server in order to install proprietary Nvidia drivers through the Additional Drivers dialog.
The below netplan config shows my original config. After some googling, this post alerted me to the fact that my config is missing the renderer
key.
MY MISSION
This blog started nearly 10 years ago to help me document my technical adventures in home automation and various side projects. Since then, my audience has grown significantly thanks to readers like you.
While blog content can be incredibly valuable to visitors, it’s difficult for bloggers to capture any of that value – and we still have to work for a living too. There are many ways to support my efforts should you choose to do so:
Consider joining my newsletter or shouting a coffee to help with research, drafting, crafting and publishing of new content or the costs of web hosting.
It would mean the world if gave my Android App a go or left a 5-star review on Google Play. You may also participate in feature voting to shape the apps future.
Alternatively, leave the gift of feedback, visit my Etsy Store or share a post you liked with someone who may be interested. All helps spread the word.
BTC network: 32jWFfkMQQ6o4dJMpiWVdZzSwjRsSUMCk6
network:
ethernets:
eno1:
addresses:
- 10.1.1.2/24
gateway4: 10.1.1.1
nameservers:
addresses: [10.1.1.1]
search: []
enp79s0:
optional: true
dhcp4: true
ens4:
optional: true
dhcp4: true
version: 2
The render key allows netplan to play nicely with Network Manager and populate network interfaces in there.
network:
renderer: NetworkManager
ethernets:
eno1:
addresses:
- 10.1.1.2/24
gateway4: 10.1.1.1
nameservers:
addresses: [10.1.1.1]
search: []
enp79s0:
optional: true
dhcp4: true
ens4:
optional: true
dhcp4: true
version: 2
As soon as I added this key and tested/applied the configuration withsudo netplan try
andsudo netplan apply
, it resolved the issue for me.
Ubuntu software is now aware of the internet connection and is able to retrieve software repository information and updates.