我在我的服务器上运行 Ubuntu 12.04,但自从 10.04 升级后,我无法再访问服务器的任何外部资源。
我可以通过 SSH 进入盒子,但从这里我无法访问任何东西。至少,我不能ping,挖掘等。
我已经提供了所有我认为可能会给我更多信息的东西,但在这里看不到任何明显的错误。
解析
root@sub:~# resolveip google.com
resolveip: Unable to find hostid for 'google.com': try again
Run Code Online (Sandbox Code Playgroud)
平
root@sub:~# ping google.com
ping: unknown host google.com
Run Code Online (Sandbox Code Playgroud)
路由 -n
root@sub:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 77.68.108.1 0.0.0.0 UG 100 0 0 eth0
77.68.108.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Run Code Online (Sandbox Code Playgroud)
iptables -L
root@sub:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy …
Run Code Online (Sandbox Code Playgroud) 我有 5 个内部驱动器和 3 个外部驱动器。
我希望内部驱动器的文件归我的默认用户所有 hutber
我试图用 sudo chown 它们,如下所示:
我不确定是否可以更改,但这是我的驱动器安装选项
并且只是所有驱动程序的概述。显示有问题的驱动器。