Linux-Hams archive - September 1998: Re: help ax25ipd drops out

Re: help ax25ipd drops out

Steve Fraser (klnezay@roskapostia.tunk.net)
Wed, 02 Sep 1998 14:11:03 +1000


At 09:17 PM 8/24/98 -0500, John Bauerly wrote:

>I have noticed a problem with ax25ipd dropping out. It occurs
>when the internet link drops as well. It sounds like a 'typical' problem
>but is a problem on re-starting the system. the internet link restarts
>itself if it goes down. Is there a method to keep ax25ipd alive during
>this reset time?
>
I have a similar problem when my SLIP (PSTN based) link drops. I invoke the
following, after another script which is used every few minutes to check
the status of the SLIP link.

73
Steve, vk5asf

# !/bin/sh
# script to ensure that ax25ipd is still running
typeset -i j
j=`ps -ax|grep ax25ipd|grep -v grep|wc -l`
if [ $j -ge 1 ]; then
echo ax25ipd is already running......
else
echo restarting ax25ipd.....
ax25ipd
fi