I am currently running a webserver with Debian 5.0.2. It has been working (more or less) fine for the past 2-3 years but recently it went down due to some power-outage. Ever since I have brought it back online it has been unable to connect to the network.
I have disabled and re-enabled the ethernet port but still can't connect. Here is the following information when running ifconfig eth0:
Link encap: Ethernet HWaddr:00:02:a5:95:e6:21
inet6 addr:fe80::202:a5ff:fe95:e621/64 scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255593 errors:0 droped:0 overruns:0 frame:0
TX packets: 15 errors:0 droped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21904751 (20.8MiB) TX bytes:5821 (5.6KiB)
As well, in the etc/network/interfaces file I do have the line:
iface eth0 inet dhcp
I am afraid I am stumped as to why it will not connect. I understand that there is still a value missing for the inet address, but it should be getting this from the network (and before anyone asks; everything is fine with the network, it is a university wide network) yet it cannot connect to it... The Ethernet port and cable are also functioning correctly.
tcpdump -qni eth0on one virtual console, and then on another restart your network interface? You might be able to see the problem. You should be seeing at least some traffic even if you don't restart the network. – Zoredache Nov 19 '12 at 21:58iptables -nvL? What happens if you doifdown eth0; ifconfig eth0 down; ifup eth0? – Gilles Nov 19 '12 at 23:41