Ubuntu 服务器 12.04 LTS:互联网连接不工作,已尝试论坛修复

Ubuntu 服务器 12.04 LTS:互联网连接不工作,已尝试论坛修复

因此,我安装了 Ubuntu Server 12.04 LTS,因为它在我修复的以前的计算节点上占用的处理器/内存最少。我的目标是通过我的有线调制解调器/以太网将它连接到我的家庭互联网,这样我就可以安装编译和运行粒子模拟包所需的各种包。不幸的是,我尝试了包括这个论坛在内的几个论坛上提供的标准方法,但没有成功。

我对这一切还只是个新手/绝对的​​初学者,所以我很感激大家的时间和帮助!

以下是我迄今为止尝试过的:

sudo ifconfig eth0 up

然后我编辑了网络接口文件,使其看起来像这样:

#The loopback network interface
auto lo
iface lo inet loopback

#The primary network interface -- use DHCP to find our address
auto eth0
iface eth0 inet dhcp

现在我执行这个:

dhclient -r

sudo /etc/init.d/networking restart

我得到这个:

*Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
*Reconfiguring network interfaces...
ssh stop/waiting
ssh start/running, process 1355

然后当我尝试 ping google 时:

ping 64.233.169.104

我什么也没显示....

现在,当我运行时:

route -n

我明白……

Kernal IP routing table 
Destination    Gateway       Genmask        Flags  Metric  Ref    Use   Iface
0.0.0.0        98.180.56.1   0.0.0.0         UG     100    0      0     eth0
98.180.56.0    0.0.0.0       255.255.252.0   U      0      0      0     eth0

我非常感谢您能给我的任何帮助!

谢谢你,

马特

答案1

对我来说,这听起来像是电缆问题。其他问题可能是交换机上的端口插入问题或计算机出现问题。最终原因可能是以太网卡。

你的以太网卡是否支持 12.04 LTS 版本?请务必尝试最新版本 12.04.2 LTS 以确保无误。

相关内容