Since I get questions about how to use the current kernels for axip or
axudp tunnel setups, here is my solution for this, using socat:
Here is an example for an axip tunnel.
First, create a transparent pty pair, lets say axip an kip located in
/var/ax25 (names and locations can be chosen freely):
/usr/bin/socat pty,link=/var/ax25/axip,raw,echo=0
pty,link=/var/ax25/kip,raw,echo=0 &
Next, attach the kernel side to one end and create a ax25 port let say
'aprs' with address 44.128.1.1 and netmask /32:
/usr/bin/kissattach -l /var/ax25/kip aprs 44.128.1.1
ifconfig ax0 netmask 255.255.255.255 (ax0 is the first port created by
kissattach)
Also, configure port 'aprs' in the ax25 daemon and start it...
/usr/sbin/ax25d
The other end needs to be configured in the ax25ipd daemon config file
to use the other end provided by socat:
mode tnc
(...)
device /var/ax25/axip
(...)
route n0call 44.128.2.3. b
(...)
I think this will help,
Marius, YO2LOJ