Linux-Hams archive - August 1998: Re: ax25ipd config question

Re: ax25ipd config question

Ronnie Hale (terhi.victor@logonet.com)
Fri, 14 Aug 1998 09:55:18 -0500 (CDT)


On Fri, 14 Aug 1998, John Ackermann N8UR wrote:

>
> I think I've successfully configured the ax25ipd daemon on my system,
> and have it talking to my primary radio interface (a PI card) using
> net2kiss and a pty. I've edited ax25ipd.conf (copy below) and it
> doesn't barf at startup.
>
> Now I have a couple of questions about the practical use of this setup.
> My goal is to provide axip links (digi, not netrom) for our local DX
> cluster (who access me via RF on the pi card port) to link to remote
> systems. (I previously had all this working with TNOS as the gateway;
> now I'm trying to transfer the functionality into kernel AX.25).

Hello John,
I am by no means an expert on this ax25ip, but I did set it up here to
learn and test it, and found during testing, that some rules weren't so
apparent. I found the file, README.ax25ipd to be most informative. It
is in the source files, /usr/src/ax25-utils.../ax25ipd/ dir. The text
also contains some typical setup configs. I have included here, a brief
snip of one of the eye-openers that may be overlooked when testing and
configuring.

...from README.ax25ipd:
Modes and Routing
-----------------

There are two interfaces into and out of ax25ipd. The KISS interface
is a standard serial port, running speeds up to 38400 baud. The IP
interface reads and writes packets to an IP network in accordance with
the specifications in RFC1226. Several factors determine how AX.25
frames route within ax25ipd and through the IP network, although some
basic rules always apply:

A frame will never leave ax25ipd on the same interface it came in on.
This fundamental rule eliminates much complexity and much confusion on
how to set up ax25ipd.
----------

Thus, if a frame is received on your pi port, it must leave on a
different port.

> Apart from defining the "mycall" in ax25ipd.conf and setting up the
> routes to the remote gateways, is there anything else I need to do? In
> particular, do I need to put an entry in axports (or any of the other
> ax25 config files) for W8APR-7 or /dev/pi0a? Or, am I finished with
> what I show below in ax25ipd?

In axports, you need to declare the axip port itself, and probably waste
another ssid. Or, you may be able to assign it something like ax8apr-7,
with periodic legal ID in the beacon text.

>
> And, when I had the ax25ipd logging set at 2 or 3, I was seeing an
> error message along the lines of "I am destination" at frequent
> intervals. I believe this was caused by stations connecting to me via
> the PI card and using other services than ax25ipd. Is it correct that
> this message is harmless and I can ignore it?

See the above reference to in and out ports...


> Thanks for any pointers on this.
>
> 73,
> John N8UR
> pfiaqlgv@elektrotec.cz
>
> - --------------
> # ax25ipd.conf
>
> socket ip
> mode digi
>
> mycall W8APR-7
>
> device /dev/pi0a # this device is a pty created by net2kiss
> speed 9600
>
> loglevel 1
>
> route DAYIND 206.31.50.198
> route DAYYOU 198.228.192.70
>
>

--
73, Ronnie.
nmwltbp@uni-osnabrueck.de