No connection after reboot

April 3, 2015 8.6k views
Networking

I rebooted my droplet, as I've done before, but now I can't connect to it with putty and pinging the IP address from outside results in timeout.

I can use the Console Access feature in Digital Ocean website. Executing e.g. ping 8.8.8.8 results in destination host unreachable messages.

Unfortunately I don't have skills to troubleshoot this problem any further. Any suggestions for the next steps?

3 comments
  • Have you recently run updates on your droplet. If the kernel within your filesystem has been updated you may need to change the kernel image being used to boot your droplet in the control panel to match. A mismatch can cause networking to fail. To do this:

    1.) From the console run the following command to list the currently installed kernel version:

    ls /lib/modules
    

    2.) Make note of the highest version number listed there and in the control panel navigate to Droplet -> Settings -> Kernel and select this version (for your OS) from the drop down and click "Change".

    3.) Reboot your droplet from the control panel for the change to take effect.

    If after this you continue to encounter networking issues I would recommend opening a ticket with our support team and they can guide you in additional troubleshooting steps.

  • Thanks for the quick reply. I followed the suggested steps but it didn't solve the problem, so I've opened a support ticket.

  • I was able to solve the problem via support ticket. It appears that using a reboot command wasn't enough, I had to completely power off the droplet and start it again.

5 Answers

This question was answered by @autti:

I was able to solve the problem via support ticket. It appears that using a reboot command wasn't enough, I had to completely power off the droplet and start it again.

View the original comment

I followed this and loaded the latest kernel.,
https://www.digitalocean.com/community/questions/no-connection-after-reboot
And droplet is pinging now.

But im still not able to ping my domain whose DNS is set to DO IP

Ok rebooted the server again and again ping gone.
Bloody hell.

Experiencing the same issue here. A simple reboot from terminal "sudo reboot" caused my server to go nuts. Still no access.

Had this problem a few times lately. One of the reasons was the default networking interface changed from eth0 to something else (don't remember right now). The steps I took:

ifconfig -a

from there I can see which devices are available (sometimes this only works after a power cycle), in my case 'eth0'

then edit /etc/network/interfaces with a static IP to correspond to that one, mine looks like this:

auto eth0
iface eth0 inet static
  address xxx.xxx.xxx.xxx # your droplet IP here
  netmask 255.255.255.0
  gateway xxx.xxx.xxx.1 
  dns-nameservers 8.8.4.4

your settings may vary, but this should correspond the original configuration that was on the droplet. the main point is to match the interface to whatever ifconfig -a outputs.

then it's just a matter of calling

sudo service networking restart
Have another answer? Share your knowledge.