LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2010, 03:54 PM   #1
pavel989
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 13

Rep: Reputation: 0
ubuntu gateway box loses connection


hey everyone,
i have an ubuntu server box as my gateway and firewall. for days at a time itll run fine, then one or two days out of the week, it will drop connection often because it drops its ip addr. when renew an ip, itll work fine for about 5 minutes and drop again.

ive tried different nics, different wire, my logs dont mention anything, my cron files dont have anything suspicious.
 
Old 10-28-2010, 05:12 PM   #2
f14f21
Member
 
Registered: Sep 2008
Distribution: rhel
Posts: 42

Rep: Reputation: 6
hi, we need more detail
how do you know it drops connection ? is it because network icon turn on/off or you make a connection and lost it ?
generally speaking when nic negotiate with dhcp server for new ip after expiration, it wont drop connection, it's just extended.so it souldnt be your dhcp leasing time . is it accurately 5 min interval ? is your net cable ok ?
 
Old 10-28-2010, 05:41 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
In my case when something similar was happening to me it was the MODEM that went bad. However, it would drop consistently and not just one or two days of the week.

Last edited by michaelk; 10-28-2010 at 05:43 PM.
 
Old 10-28-2010, 05:53 PM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Just an idea, are there any cron running on irregular intervals?
Maybe something that makes a reconnet every now and then?
Or maybe some download software that needs a new IP?
You're the only one on that connection?
 
Old 10-28-2010, 06:16 PM   #5
pavel989
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
well this is a server edition, no gui, so there is no icon. but an ifconfig will often either tell me that there is an ip address, but regardless, i cant use the internet.
i tried changing the lease time in the dhclient.conf file, nothing helped. i changed nics and cords, still nothing.

all i see in my error logs is a lot of crap from ntpd and named

and to be honest, i tried calling verizon and convincing them that the modem is broken, but instead the associate spent most of the time explaining that fios doesnt use modems, and that what i was describing, is a terminal. guy didnt even know what linux was
 
Old 10-28-2010, 06:19 PM   #6
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Maybe a firmware update of your modem might solve it. Had it once. My Modem always screed it up and i had to reset it...
 
Old 10-28-2010, 06:46 PM   #7
pavel989
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
well the thing is, i have no access to a modem. what they call the terminal is just how my gateway or any router access the fiber optic network, so i cant update any firmware on it.

i tried looking for cron files, couldnt find anything out of the ordinary. Im not the only one using the internt connection, however i dont think that there are any applications on my network which would ask the gateway to get a new ip or anything like that.

i just did a dpkg-reconfigure bind9 to see if maybe thatll help
 
Old 10-29-2010, 01:41 AM   #8
f14f21
Member
 
Registered: Sep 2008
Distribution: rhel
Posts: 42

Rep: Reputation: 6
Quote:
Originally Posted by pavel989 View Post
... an ifconfig will often either tell me that there is an ip address...
could you use a static ip and let us know what happens ?
 
Old 10-29-2010, 04:04 PM   #9
pavel989
LQ Newbie
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
unfortunately i can't use a static ip because fios doent allow as such. when i tried, i couldn't get on the internet.
 
  


Reply



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
browser loses mobile orange 515m connection - Ubuntu 9.10 jweir Linux - Wireless Networking 1 04-17-2010 07:38 AM
Ubuntu 9.04 loses network connection after reboot. bubnoff Linux - Desktop 2 08-20-2009 07:29 PM
Sharing an XP net connection with a Ubuntu box - Ubuntu config query. uncle-c Linux - Newbie 2 11-06-2007 10:09 AM
Ubuntu 7.04 Linux Box as internet gateway trox Linux - Networking 1 05-05-2007 06:21 PM
box loses network connection BrianG Linux - Networking 6 01-17-2002 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration