Networking Forums

Networking Forums > Computer Networking > Linux Networking > Running Redhat and cablemodem - periodic drops that are recovered by restarting dhcpcd

Reply
Thread Tools Display Modes

Running Redhat and cablemodem - periodic drops that are recovered by restarting dhcpcd

 
 
M Osborne
Guest
Posts: n/a

 
      10-03-2003, 05:11 PM
I run RH9 and use Insight Cable Modem service. Cable light always stays
lit, but about every hour or less I will loose my Internet connection.
I will have a continuous ping running in the background and see when it
dies -- I kill off dhcpcd and restart it and then I regain my
connectivity...EVERY TIME.

Seems odd, huh?

Is there an explanation (and fix) for this, or has someone already written a
similar script that will kill and restart a service (in my case dhcpcd) when
2-3 consecutive packets are lost?

I have made an appointment for a cable guy to come out and look at my
"intermittent" problem, but I suspect it will be difficult to pinpoint.

Thanks,
Mike
 
Reply With Quote
 
 
 
 
BR
Guest
Posts: n/a

 
      10-04-2003, 05:45 AM
On Fri, 03 Oct 2003 17:11:07 +0000, M Osborne wrote:

> I run RH9 and use Insight Cable Modem service. Cable light always stays
> lit, but about every hour or less I will loose my Internet connection. I
> will have a continuous ping running in the background and see when it
> dies -- I kill off dhcpcd and restart it and then I regain my
> connectivity...EVERY TIME.
>
> Seems odd, huh?
>
> Is there an explanation (and fix) for this, or has someone already
> written a similar script that will kill and restart a service (in my
> case dhcpcd) when 2-3 consecutive packets are lost?
>
> I have made an appointment for a cable guy to come out and look at my
> "intermittent" problem, but I suspect it will be difficult to pinpoint.
>
> Thanks,
> Mike


What do your logs say?


--
-- James Fenimore Cooper
The tendency of democracies is, in all things, to mediocrity, since the tastes,
knowledge, and principles of the majority form the tribunal of appeal.
 
Reply With Quote
 
Rob Ristroph
Guest
Posts: n/a

 
      10-04-2003, 11:19 PM
>>>>> "M" == M Osborne <M> writes:
M>
M> I run RH9 and use Insight Cable Modem service. Cable light always
M> stays lit, but about every hour or less I will loose my Internet
M> connection. I will have a continuous ping running in the
M> background and see when it dies -- I kill off dhcpcd and restart it
M> and then I regain my connectivity...EVERY TIME.
M>
M> Seems odd, huh?
M>
M> Is there an explanation (and fix) for this, or has someone already
M> written a similar script that will kill and restart a service (in
M> my case dhcpcd) when 2-3 consecutive packets are lost?
M>
M> I have made an appointment for a cable guy to come out and look at
M> my "intermittent" problem, but I suspect it will be difficult to
M> pinpoint.
M>
M> Thanks,
M> Mike

I have seen behaviour similar to this when using a flaky ethernet
card. You might try swapping out for another one if you have one.

But sometimes it seems to be the cable modem itself.

On one Road Runner connected machine I have, I put the following in a
file /etc/nettest.sh :

#!/bin/bash
ping 24.93.40.62 -c 1 > /dev/null;
if [ $? -ne 0 ]
then
/etc/init.d/networking stop
sleep 2
/etc/init.d/networking start
fi
exit 0

and then I cron jobbed it to run every ten minutes. Note that the IP
in question is my ISP's domain name server; choose an appropriate one
for you, I choose the domain name server because I figured if it
wasn't down but the network was up there was little harm in turning
the network on and off, as I likely wasn't getting work done anyway.

--Rob
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless connection drops when running P2P client (azureus) fjcurcio@gmail.com Wireless Internet 0 08-05-2005 11:58 PM
Dialup + Cablemodem Ac Windows Networking 2 01-01-2005 10:23 PM
Newbie: Have RedHat 7.3 running, want D-Link DFE-630TX+ NIC to work too. Stuart Cox Linux Networking 5 01-28-2004 10:33 AM
Running Redhat and cablemodem - periodic drops that are recovered by restarting dhcpcd M Osborne Linux Networking 2 10-03-2003 11:21 PM
Mandrake and cablemodem help PaulP Linux Networking 5 07-02-2003 11:57 AM



1 2 3 4 5 6 7 8 9 10 11