Question

Dist upgraded Did a reboot - Lost outbound connectivity

My problem is straightforward. I did a sudo apt dist-upgrade. Nothing came up for me to respond to whatever for me to say I tweaked something wrong

I did a sudo reboot

Now I don’t have access to any outbound traffic. I did the dist-upgrade yesterday, 3rd november.

This is frustrating.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Oke, I just found the solution. Maybe this is can help you.

First, the problem is the upgrade makes eth0 changed to a different name, in my case changed to ens3. You can see it using command ifconfig -a.

So, the solution is simple.

  1. The easiest solution, you just need to change the config from eth0 to ens3. In my VPS, the config located in /etc/network/interfaces.d/50-cloud-init.cfg. Generally, the config located in /etc/network/interfaces.
  2. Other solution, you could bring back the ens3 to eth0. You could follow this tutorial. http://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html

Last step, just restart the networking sudo systemctl restart networking. And voila!