发布于2024年7月19日7月19日 -------------------------------------------------------------DD Debian 12完成後,SSH無法連入,可能網路卡無法配置?-------------------------------------------------------------這需要主機商有提供noVNC,可藉由noVNC並用root帳號登入 DD完成後,無法SSH登入,如果是IP設置跑掉的情況,要自己修改靜態IP如果DD前沒記下,只能Reinstall後,記下自己的VPS IP配置,再DD一次Debian網路卡配置在 /etc/network/interfaces vi /etc/network/interfaces這些設置參考用,每一家主機商的配置都不一樣# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 47.1.1.18 gateway 47.1.1.255 netmask 255.255.255.0 dns-nameservers 8.8.8.8 8.8.4.4 ESC儲存並離開:wq 重開機reboot 查看公網IP有無設置上ip addr -----------------關閉IPv6-----------------DD之後,好像IPv6跑出來了,還是關閉IPv6關閉IPv6,修改vi /etc/sysctl.conf 底下加入net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 ESC儲存並離開:wq 重開機reboot再次加載/etc/sysctl.conf的設置sysctl -p 本帖最后于2月10日2月10日,由Jack编辑
创建帐户或登录后发表意见