Linux-Hams archive - June 1998: Re: TCP/IP and ax25 digipeater : how ?

Re: TCP/IP and ax25 digipeater : how ?

Richard Adams (jxhnghe.geazyhqj@byggforsk.no)
Tue, 2 Jun 1998 08:43:31 +0000 (GMT)


According to Alexandre Fornieles: While burning my CPU.
>
> Hi everyone there,
>
> Two days ago i started setting up my kiss interface to work with TCP/IP on
> it. I'm running a 2.0.33 + modules-14f + utils-2.1.42a + nettools 1.33,
> (based on a slackware 3.3) all as mentionned in the ax25HOWTO.
>
> All the ax25 works well to me but now i would like to know how to make the
> tcp/ip packets sent to my kiss interface beeing digipeated by the outgoing
> port of the Flexnet node that is on the other side of the kiss wire link
> (on another computer).
>
> This is easy to achieve in plain ax25 but while testing the tcp/ip stuff i
> can see my <UI> tcp/ip packets sent on the kiss interface adressed to
> 'QST' but i don't know how to make these packets beeing sent to
> xxx via F1CAY
> (F1CAY beeing the call of the outgoing ax25 port to reach my tranceiver)
>
> Here's what i added to my rc.ax25 for TCP/IP after the kissattach
> and kissparms commands :
>
> # /sbin/ifconfig ax0 44.151.40.1 netmask 255.255.255.0 up
> # /sbin/ifconfig ax0 broadcast 44.151.40.255 mtu 512
> # /sbin/route add -net 44.151.40.0 netmask 255.255.255.0 ax0
>
> In fact this has been mostly inspired by the ax25HOWTO examples but maybe
> it needs to be modified/improved.
> When i try 'ping 44.151.40.2' that's what i can see on the ax0
> interface with listen :
>
> # Port kiss: AX25: F1CAY->QST <UI> pid=ARP
> # ARP: len 30 hwtype AX25 prot IP op REQUEST
> # sender IPaddr 44.151.40.1 hwaddr F1CAY
> # target IPaddr 44.151.40.2
>
> So it seems to work (doesn't it ?). I also suppose that QST is the default
> adressing but how to setup an ax25 digipeater callsign ?
> I tried these commands (alternatively) but no success :
>
> # /usr/sbin/axparms -route add kiss default F1CAY
> and then
> # /usr/sbin/axparms -route add kiss QST F1CAY
>
> Other misc files :
>
> /etc/hosts
> 127.0.0.1 localhost
> 44.151.40.1 f1cay.ampr.org f1cay
>
> /etc/networks
> loopback 127.0.0.0
> amprnet 44.0.0.0
>
> Well I think this is almost all the information I can give for what i
> expect to be a single line to add to one of my cfg files :-)
>
> Thanks for taking time to read and let me wish you all a nice week end :-)
>

If i understand your situation correctly then ax25rtd will help you out on
this one.
ax25rtd has its own directory in the ax25-utils.
ax25rtd.conf must reside in /etc/ax25

>
> ---
> Alexandre FORNIELES
> 40150 Hossegor - FRANCE
> ax25 : F1CAY @ F1CAY.FAQI.FRA.EU
> EMail : ckk.ksuxdegvfy@yr.co.il
>

-- 
Regards Richard.
bazx@idial.com.br