0

I am running a debian box and i use it as a sandbox for developing web applications etc. In 7-8 days the server loses all network connectivity and i have to reboot it by hand, it cannot get connection and i cannot SSH to my server. I have tried things like restarting networking and for this week i have disabled a few features of the server's NIC (tx checksum). Could this be a dns issue?.

4
  • While DNS is the culprit in far too many problems, this appears to be a very random guess in this case. Do you have any log file entries from around where you had to restart the machine?
    – Sven
    Aug 9, 2011 at 8:35
  • Did you take a look at dmesg and /var/log/messages after you can ssh?
    – quanta
    Aug 9, 2011 at 8:36
  • Fixed IP on the server? How do you connect to it? Try using the IP. Aug 9, 2011 at 8:44
  • I connect by IP, its a local box. I think DHCP might be the culprit.
    – kartaju
    Aug 9, 2011 at 8:53

1 Answer 1

0

Could be DNS. The way to test this is to ssh to the IP address, not the name. If you can get to the IP address but not the name, then DNS is partially guilty.

Do you get the address with DHCP? If so, how long is the DHCP lease?

2
  • I cannot form ssh connection to the IP address when this happens. I think DHCP might be the culprit. After a bit of searching on the subject it seems my /etc/network/interfaces might be missing something related to this (auto eth0, iface eth0 dhcp).
    – kartaju
    Aug 9, 2011 at 8:51
  • SOLVED! DHCP lease was expiring. Added auto eth0 iface eth0 inet dhcp to /etc/network/interfaces
    – kartaju
    Aug 25, 2011 at 8:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .