Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ?
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.
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?
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.