LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04: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, 06: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, 06:41 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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 06:43 PM.
 
Old 10-28-2010, 06:53 PM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,467
Blog Entries: 11

Rep: Reputation: 184Reputation: 184
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, 07: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, 07:19 PM   #6
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,467
Blog Entries: 11

Rep: Reputation: 184Reputation: 184
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, 07: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, 02: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, 05: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


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


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration