Debian sheevaplug 互联网不工作

Debian sheevaplug 互联网不工作

我有一个带有 debian 5.0 的 sheevaplug。直到今天为止,互联网一直运行良好。我有一堆电脑通过无线连接到我的路由器,并且互联网工作正常。从今天开始,我的 Debian 无法连接到互联网,我不知道为什么......当我运行时,ping google.com我得到这个:

ping google.com
PING google.com (173.194.35.8) 56(84) bytes of data.
^C
--- google.com ping statistics ---
443 packets transmitted, 0 received, 100% packet loss, time 442006ms

永远这样,我什么也得不到。以下是一些可能有用的信息:内容/etc/network/interfaces

# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

输出ifconfig

eth0      Link encap:Ethernet  HWaddr f0:ad:4e:01:40:78
          inet addr:192.168.2.12  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::f2ad:4eff:fe01:4078/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2200 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2926 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:229615 (224.2 KiB)  TX bytes:466378 (455.4 KiB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

内容/etc/resolv.conf

nameserver 192.168.2.1

这是输出netstat -rn

debian:~# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG        0 0          0 eth0

输出arp -na

debian:~# arp -na
? (192.168.2.1) at 00:1a:2a:27:c0:68 [ether] on eth0

输出route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
default         .               0.0.0.0         UG    0      0        0 eth0

我尝试了所有方法:静态 IP、重新启动网络连接、重新启动路由器,但都没有成功... 有什么想法可能出在哪里吗?


编辑:这是输出route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
default         .               0.0.0.0         UG    0      0        0 eth0

编辑:这是输出netstat -rn

debian:~# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG        0 0          0 eth0

arp -na

debian:~# arp -na
? (192.168.2.1) at 00:1a:2a:27:c0:68 [ether] on eth0

相关内容