I don’t know why it happened . I just rebooted my droplet in order to make some maintenance and now no internet connection.
I have a message which says network is unrecheable when I ping 8.8.8.8 and if I perform sudo apt-update all mirrors.digitalocean.com fail saying temporary failured couldn’t resolve …
I have 2 droplets so I tried to copy /etc/resolv.conf nameserver value to my current failing droplet but also didn’t work.
I don’t know what to do and digitalocean takes very much time to answer me.
Already have opened support ticket and none status changed.
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.
Hello, @randomspider
What happens when you execute ifconfig -a
can you see the eth0 interface listed? If this one is not present then we will need to sort this out.
I know that sometimes some packages can be uninstalled somehow on reboot and there are cases where cloud-init is one of them. You can check if the package is present and currently installed on your droplet as well.
A similar issue was reported here as well: https://www.digitalocean.com/community/questions/no-internet-connection-after-droplet-reboot
You can check the answer posted from lukasea17033bb7e7ecf80fc21 and see the suggested steps if needed.
/etc/udev/rules.d/70-persistent-net.rules
file/etc/netplan/50-cloud-init.yaml
fileapt update
and apt upgrade
Also have you tried to power off the droplet and then start it again instead of just rebooting it? You can perform this action from the control panel.
Let me know how it goes.
Regards, Alex
Click below to sign up and get $100 of credit to try our products over 60 days!