From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: John Hurst <jhurst@utac.net>
Cc: Chuck Hast <wchast@gmail.com>, Linux-Hams <linux-hams@vger.kernel.org>
Subject: Re: ax25ipd issue
Date: Sun, 12 Jun 2005 21:05:53 +0200 [thread overview]
Message-ID: <42AC8791.6080401@ccr.jussieu.fr> (raw)
In-Reply-To: <68826e6e97da1023788e9ddc026b6e0d@utac.net>
Hi all,
Some hams using ROSE / FPAC packet switch through AXIP connexions faced
this problem with non permanent IP stations.
We solved it by running a script every hour that calls host to resolve
the ip address and append the route at the end of an original
ax25ipd.conf without the no-ip route. Then this file is copied onto
ax25ipd.conf.
Finally ax25ipd is killed and started again.
This solution works fine.
For those who are interested I put here an example of the script for one
specific station.
Note : the two calls to ax25ipd at the end are intentional.
-----------beginning of the script ------------
#!/bin/bash
# Syntax: "majip.f5mtz.sh"
# by F4BVC, F1TE and F6BVP
#
/usr/bin/host f5mtz.no-ip.org > ip-f5mtz
export IP=`more ip-f5mtz | grep -w address | cut -b 29-`
cp /etc/ax25/ax25ipd_sav.conf /etc/ax25/ax25ipd.conf
if test "$IP" ; then
echo "route F5MTZ-0 $IP udp 10093" >> /etc/ax25/ax25ipd.conf
fi
/usr/bin/killall -KILL ax25ipd
sleep 1
/usr/local/sbin/ax25ipd -l4
sleep 1
/usr/local/sbin/ax25ipd -l4
#
-----------------end of the script---------
73 de Bernard, f6bvp
> On Jun 11, 2005, at 6:38 AM, Chuck Hast wrote:
>
>> Folks,
>> I am using ax25ipd to route some connections over the wire to other sites
>> while we get the RF paths back up and running. The issue I am having is
>> that some of these sites do not have fixed addresses, and the lease exp-
>> ires every 12 hours or so. If I use the domain name address it will
>> pick up
>> the numerical address when ax25ipd is first started but once started it
>> appears to cash the address it got and continue to use it rather than try
>> to resolve the domain name each time it needs to make a connection.
>>
>> In my particular case I am trying to make connetions to people using
>> the no-ip.com domain, but I tried it with another and the same thing
>> happens. It resolves the first time and continues to use that address
>> even after the dhcp assignment has changed which indicates to me
>> that it is only doing address resolution when ax25ipd is starting.
>>
>> --
>> Chuck Hast
next prev parent reply other threads:[~2005-06-12 19:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-11 13:38 ax25ipd issue Chuck Hast
2005-06-11 15:41 ` John Hurst
2005-06-12 19:05 ` Bernard Pidoux [this message]
2005-06-12 21:37 ` Chuck Hast
2005-06-13 9:50 ` [fpac] " Bernard Pidoux
2005-06-13 11:19 ` Chuck Hast
2005-06-11 19:43 ` Tomi Manninen
2005-06-11 19:54 ` Jeremy Utley
2005-06-11 20:09 ` Tomi Manninen
2005-06-11 20:19 ` John Hurst
2005-06-11 20:32 ` David D. Hagood
2005-06-11 20:51 ` Chuck Hast
2005-06-11 20:45 ` Chuck Hast
2005-06-23 11:51 ` Steve Fraser
2005-06-23 12:15 ` Chuck Hast
2005-06-23 16:13 ` Bernard Pidoux
2005-06-11 23:03 ` Steve Fraser
2005-06-12 4:50 ` Jeremy Utley
2005-06-12 14:24 ` Tomi Manninen
-- strict thread matches above, loose matches on Subject: below --
2005-06-11 20:18 dplatt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42AC8791.6080401@ccr.jussieu.fr \
--to=pidoux@ccr.jussieu.fr \
--cc=jhurst@utac.net \
--cc=linux-hams@vger.kernel.org \
--cc=wchast@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.