Linode can not be ssh
3 Replies
cat /etc/network/interfaces
systemctl status networking.service -l
ifdown -a && ifup -a
That will help us point you in the right direction. Thanks in advance!
@scrane:
Hey there! I'm sorry to hear you're having issues. This could be an issue with the network interfaces not being raised after boot. Are you currently running Ubuntu? To get a better idea of what's going on, can you run the following commands after logging in as "root" in the Lish console and provide us with the output?
cat /etc/network/interfaces
systemctl status networking.service -l
ifdown -a && ifup -a
That will help us point you in the right direction. Thanks in advance!
Thanks for your reply. Yes, it's ubuntu. I solved this problem by disabling the auto-config network and replacing it by static. Also put the ipv4 configuration ahead of ipv6 in interfaces file.
Do ip link show
and find which ensX applies to you
/etc/network/interfaces
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet dhcp
Then just sudo service networking start