Re: reboot upon loss of ping

From: Barry S (barry_at_nospam.4.me.thx.com)
Date: 07/24/04


Date: Fri, 23 Jul 2004 22:27:35 -0500

In article <40D201F8.5000703@tampabay.rr.com>, James wrote:
> Hello,
>
> I have a piece of electrical (110Vac) equipment that has an ethernet
> port on it. It hangs periodically for unknown reasons. When we roll a
> truck and get a technician to cycle power, all if fine again and in
> answers the pings again(so we know it's alive.
>
> I have an embedded linux board, TS5500 that runs a 2.4 kernel and
> busybox. The distro is called TSlinux. And it has a Elan SC520 (386)
> processor.
>
<snip>

I'm assuming that the piece of equipment and the embedded linux board
are two different pieces of equipment?

If so, then have the linux box run something like fping occassionally to
see if your equipment stays alive. Depending on how robust this linux
box is, you may want to consider using 'mon'. Its a software monitoring
solution that would probably greatly speed up your development time.

With mon you can define network services to watch and events that should
occur if a service goes down (ie. If no pings for 3 consecutive tries,
then run special code to reboot hung device + email me a report).

-Barry



Relevant Pages

  • Re: [SLE] Hardware comments wanted
    ... I suppose it might be *possible,* but it's awfully expensive equipment to buy just to hack Linux onto it. ... The really sticky points would be the very low-level interactions with the one purely-proprietary piece of hardware, the special interface card that executes most of the kinematics and hardware-based-RT functions in dedicated firmware. ...
    (SuSE)
  • [opensuse] legalities
    ... OS does is check to see that the user is doing what Microsoft feels is ... Linux on the other hand, in its' many flavors, including SuSE, spends ... *all* of its' time doing what the owner of the equipment wants, ... Where companies like Novell make their money is not by selling Linux, ...
    (SuSE)
  • Re: [opensuse] Re: opensuse for 486
    ... as much as I hate to admit it. ... there are other distros catering for that market. ... It is really nice to know that with Linux, ... making more changes that obsolete older equipment just because it is ...
    (SuSE)
  • Re: Best OS for recording
    ... about whether Linux was any good for DAW use, ... You'll recall that I said that there may be wonderful DAW software running ... That equipment generally performed as well as equipment that I could ... Linux based open source sofware running DAWs find their way out of hobbyists ...
    (rec.audio.pro)