|
|
不得不说,Vultr的客服太渣了,推来推去就是不帮你解决问题,虽然最终自己解决了,但是也不准备用了,太伤神。
事件经过:http://www.205205.xyz/forum.php?mod=viewthread&tid=264759 感谢各位的热心关注
宕机原因:interfaces莫名其妙丢失,我确定没有做任何操作,就不能联网了。
SSH连不上,文件也不能备份,整个一孤岛。
解决办法:
好在后台view console可以打开,编辑 /etc/network/interfaces
配置如下: (networking configuration 这个也可以在面板IPV4中找到)
vim /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet static
- address 108.61.100.100
- netmask 255.255.254.0
- gateway 108.61.100.1
- dns-nameservers 108.61.10.10
- post-up ip route add 169.254.0.0/16 dev eth0
复制代码
编辑完ESC无效,ctrl+c 退出 输入 :wq 保存成功
/etc/init.d/networking restart 提示 couldn't read interfaces file :21 option with empty value
经过检查是ipv6 netmask 没设置,果断把IPV6的配置都删了,反正没用。
再次保存,退出 ,restart .
再次看到了久违的SSH,只想对vultr说bye. |
|