LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-14-2005, 02:43 PM   #1
thijser
LQ Newbie
 
Registered: Sep 2004
Location: Netherlands
Distribution: Debian, Suse, Knoppix & Ubuntu
Posts: 9

Rep: Reputation: 0
Debian losing network connection


I have a very frustrating issue with my debian server box. Every few days, it loses the network connection. 'ifconfig' shows a normal result (IP address and everything), but any network action gives "network is unreachable".
A plain "ifdown eth0" followed by "ifup eth0" solves the problem. dmesg gives no clue, neither does /var/log/messages.
 
Old 05-14-2005, 03:34 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well as long as you haven't found the problem you might want to run a cron job that does the ifdown and ifup every so often. Like a couple of seconds planned downtime is better than hours not planned. But could it be that your dhcp lease runs out?
 
Old 05-14-2005, 03:43 PM   #3
thijser
LQ Newbie
 
Registered: Sep 2004
Location: Netherlands
Distribution: Debian, Suse, Knoppix & Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, I was thinking about a cronjob too, but I figured there must be a solution to the problem.
The DHCP lease runs out every 3600 seconds, and the problem occurs every 2-3 days. I found that in /var/log/daemon there is a nice renewal every hour, but when the problem occurs the computer doesn't seem to get a new lease (which is probably not the DHCP servers fault, as 100+ windows computers continue to run fine all the time)
 
Old 05-14-2005, 04:03 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well let's see. Ifup only sets everything up again you have in the /etc/interfaces file. I'd also say some setting is going wrong. In my network I usually get the same IP both for my computer local and my router's IP so it could be ifconfig does not show that it's not working and simply display the old address.

I must admit I'm not really an expert on this thing so I'm guessing a bit too if you don't mind Which program is trying to get the dhcp lease every hour or is it a script?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Losing network connection drburgh66 Debian 10 04-27-2004 03:12 PM
losing network connection Ian Fleeton Linux - Networking 3 05-21-2003 07:44 AM
Keep Losing Network Connection pojokunam Linux - Networking 4 04-23-2003 04:28 PM
losing network connection when uploading nouse66 Linux - Networking 0 03-06-2003 12:42 AM
losing network connection tangle Linux - Hardware 0 12-17-2002 12:46 PM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration