PDA

View Full Version : [SOLVED] Internet disconnects every 3 hours



nethompson
May 2nd, 2011, 02:19 PM
Hey everyone, I have a minor Internet issue. I have a static IP address with the modem acting as a gateway only to my ISP. My Ubuntu server hosts my public IP address and I use pppoeconf to connect. Every 3 hours I lose Internet. I have wrote a short script to reconnect. I doubt that it is my ISP trying to renew that often. Could anyone tell me if it is me or my ISP?

lz1dsb
May 2nd, 2011, 03:25 PM
What kind of connectivity do you use? Sorry, but it's not clear to me. You mention a modem and than PPoE. Is it some sort of xDSL connection?

nethompson
May 2nd, 2011, 03:52 PM
I apologize for not being clear. The connection is an ADSL. The modem is just there to make the line connection to the ISP. The Ubuntu server is what provides the credentials for the ISP. I hope that makes sense.

lz1dsb
May 2nd, 2011, 09:24 PM
There's always a possibility that the ADSL modem has some issues. I had such problem with my connection. So you need to check it out.
Could you give more details about the PPPoE settings. How did you configure it? Did you use the Network-Manager?
Do you see anything in the logs? For example cat /var/log/messages

nethompson
May 2nd, 2011, 10:01 PM
/var/log/messages states a modem hangup every 180.4 minutes. My connection is configured through pppoeconf.

lz1dsb
May 3rd, 2011, 08:08 AM
Could you post the conf file? Is it each time exactly the same period when your connection is dropped?
When you use your ADSL modem to authenticate you, do you experience the same issues?

nethompson
May 4th, 2011, 01:23 AM
Which conf file do you need? It happens at the same interval every time. I haven't tried through the modem yet, i'll have to give it a shot.

lz1dsb
May 4th, 2011, 10:05 AM
/etc/ppp/pppoe.conf
Just remove the username and passowrd from the file.
But you should also try to terminate the PPPoE tunnel on the ADSL router directly.

nethompson
May 6th, 2011, 06:11 PM
Anybody got anything on this? I am running Ubuntu 10.04 lts. I could really use some help on this.