Linux-Hams archive - November 1997: Re: AXIP between Linux & TNOS ?

Re: AXIP between Linux & TNOS ?

Richard Adams (abb@powertrain.com)
Sat, 1 Nov 1997 09:20:21 +0000 (GMT)


According to Leszek A. Szczepanowski SQ9ANR, While burning my cpu.:
>
> TNC is connected to kissattach in my linux, ax0 port is
> created. So, how it is possible to use mode tnc in ax25ipd ??
>
> I want to use axip between linux and tnos, because I want the
> people can access TNOS as my AX.25 BBS at user port !
> SP9YZT is my Linux-node, it responses on this callsign.
> SP9YZT-4 is Linux itself, this SSID launches axspawn.
> And I want my TNOS BBS under SSID 8 ! If someone call
> SP9YZT-8 on user port, should get TNOS interface.
> Exactly the same as in my old configuration when TNC was
> connected VIA Tnos kiss drivers ! How to do this ?

Right, well you can achive this by other more simple means, i have one
machine running a program called "net", it runs under linux in the same way
in which you have described, i use net2kiss to echo packets heard on certain
interfaces.

It is very simple, once you have attached the radio interface, but before
you start tnos do:

net2kiss -i ax0 /dev/ptyx1 &
Look into your /dev directory for a suitable pty/tty combination.
Now make a line in your autoexec.nos something like the following.
attach asy /dev/ttyx1 - ax25 ifc1 1024 1024 9600 <callsign>
Use ifconfig accordingly for that interface.
For IP traffic you can now attach tnos to linux in the normal 'slip'
manner using another pty/tty pair.
Using this combination you can still have node listen on the same radio
interface but then with a seperate SSID.

Now Tnos is directly accesable from an RF port without having to connect to
linux first. Further more there are other programs which can achive the same
goal, rxecho, kissbridge, etc.

axdigi would also be allegable for this purpose, that will also echo packets
from one interface to another.

You can also make an internal kiss interface with mkiss, look in your
ax25-utils dir ./etc/oh7lzb/rc.d/rc.ax25 this will give you more ideas on
how to achive what you want and of course tha 'man pages' for the different
programs, and the AX25-HOWTO for more gerneral information.

> --
> 73! de Leszek, SQ9ANR

-- 
Regards Richard, 73.              | "I see" said the blind man to his
AX25  pa3gcu@pi8mid.#zld.nld.eu   |  deaf en dumb daughter, who replyed,
smtp  tuckv.xmgzl@hku.hk      | "Yes" Linux AX25. NET/ROM, "I have heard
inet  jcabmp.xdnfzng@rtcol.com |  that what you see is what you get".