Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-06-2002, 11:02 AM   #1
LQ Newbie
Registered: Feb 2002
Posts: 5

Rep: Reputation: 0
Dropped DSL Connection w/Redhat 7.1

Hi All,

(sorry if its muddy; I'm still finding my way around)

I'm using DSL from SWB with a dynamic IP.
Recently I installed Redhat 7.1 telling it to use DHCP and everything went great.

However, the network connection drops every couple of hours and I can not figure out why.

I've checked messages and sometimes see a message that the lease on the address couldn't be renewed, but most of the time nothing in the log about dhcp or pump or the address lease.

When I check netstat I see address like default have disappeared.
When I check ifconfig it says everything is great (eth0 up and all)

Nameservers are in resolv.conf

If I restart the network or just bring eth0 down then up, everything is instantly OK again and not always accompanied by a change in IP.

At first I thought maybe it was somehow related to inactivity, but I used cron to do a ping every 15 minutes, and that didn't have any effect.

Other than having to cycle eth0 from time to time, it seems fine.

I think I have something screwy in my Linux setup because I tried a Mac and an NT machine and neither exhibits this behavior. (The NT machine complains frequently about difficulty renewing the lease in the log, but the connection doesn't seemt to every drop)

I'd love to where to start trying to work out this kink, any help would be greatly appreciated!
Old 03-06-2002, 04:04 PM   #2
Registered: Jan 2002
Location: Melbourne, FL.
Distribution: redhat
Posts: 168

Rep: Reputation: 30
sounds like a lease renewal issue.

What distribution? what dhcp client are your running?

If you are running /sbin/dhcpcd then check the files in /etc/dhcpc directory.

There should be a .info file for your card, it has the renewall and lease times. With that, you should be able to figure about when your lease expires. If it coincides with the outage then you are having issues renewing your lease.

Run dhcpcd with the -d option for extra debugging to syslog. Then you can grep your /var/log/messages file for dhcpcd complaints.
Old 03-12-2002, 07:49 AM   #3
LQ Newbie
Registered: Feb 2002
Location: Fort Worth, TX
Distribution: Redhat 7.2
Posts: 3

Rep: Reputation: 0
Dropped DSL Connection


Do you have a DSL filter on all your telephones?

When I first go DSL, I was short one filter so I did not put one on my daughter's phone since she was away at college.

My DSL connection (via linksys router) was dropping at least once a day. Over Christmas I bought a filter for her phone since she was home.

I have had only one or two drops in the last three months.
Old 03-16-2002, 09:27 PM   #4
Registered: Jul 2001
Location: Fort Wayne
Distribution: Redhat 9.0, Fedora2
Posts: 87

Rep: Reputation: 15
Had the same problem with my DSL dynamic setup it had to be the firewall script I was using at first, I switched to Firestarter and its been running 3 weeks without dropping
Old 04-19-2002, 09:29 PM   #5
Tom Cox
LQ Newbie
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
I'm having a very similar problem. I just intalled RedHat 7.2 and it appears my dhcp lease is getting renewed between 15 - 25 minutes.

I checked the setting in /etc/dhcpc/ and the leasetime appears to be set to about 4 days.

This is reinitializing the ip_forward setting and the ipchains rules and causing all the machines behind the linux box to lose their Internet access.

Any suggestions?

Old 04-25-2009, 03:12 PM   #6
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
I had the exact same issue in Ubuntu. My connection does not seem to drop after I wrote a small code to call a specific website and download the html content of the index page. This code is called in cron every 5 minutes.

For some reason, just pinging does not seem to work for me. But making a http call and getting something back seems to work for me.

This solution is hackish. There must be a more elegant solution involving some driver update or some tricky configuration. But until I find that - this stop gap works great for me.


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
Connection dropped by imap-server max_tcs Linux - Software 0 03-29-2005 01:05 PM
slow DSL connection with RedHat 9 jhava Linux - Networking 3 10-01-2004 05:54 PM
My modem is detected but the connection is dropped rrobn Linux - Newbie 3 11-08-2003 10:52 PM
Redhat 8.0 Dsl connection Mimicafe Linux - Networking 4 02-20-2003 03:03 PM
DSL Connection from T-Online with Redhat 8.0 Tom555 Linux - Networking 3 01-06-2003 03:04 PM > Forums > Linux Forums > Linux - Networking

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

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