On Thu, 19 Aug 1999, Bob Meyer wrote:
> Ronnie Hale wrote:
>
> >
> > ftp://excelsior.kullen.rwth-aachen.de/pub/packet_radio/tnt/tnt1.9-pre1.tgz
> >
> > But, check with me for a patch to ax25k.c if you want to use the kernel/ax25
> > ports. (there is a line missing, and the correction hasn't made the release
> > as yet.) tnt1.8 is the current "stable" release. tnt1.9-pre1 is stable,
> > and tnt1.9-pre3 is also, but contains a ax25k.c file that is not backwards
> > compatible with 2.0.x kernels, or libc. This is all moot if you don't use
> > kernel/ax25 ports.
> >
> Go ahead and post that one line fix so we can all play with it.
>
> Bob
To qualify this patch, the ax25k.c file is from tnt1.9-pre1/src. It also
works in the ax25k.c file from tnt1.8 (stable) but the line numbers may be
slightly different. This patch, BTW, is from a discovery by Ivica
Smolcic, 9a4gc.
---cut---
--- ./ax25k.c.orig Sun Apr 25 07:03:27 1999
+++ ax25k.c Tue Aug 3 10:58:22 1999
@@ -551,6 +551,7 @@
ch_stat[i].access_level = 0;
ch_stat[i].pwwait = 0;
ch_stat[i].flchkmode = 0;
+ ch_stat[i].auto_xconnect = 1;
strcpy(ch_stat[i].call,notc_str);
}
---cut---
In addition, when using TNT with the kernel/ax25 ports, be sure to comment
out the default setting for "@t2 150" in /usr/local/share/tnt/conf/tnt.up
file.
While this parameter may be ok for hostmode or kiss tnc, it is passed
to the ax25 params during TNT startup, (/proc/sys/net/ax25/ax0/t2_timeout)
and results in an ax25 port response time of 15 seconds!
One more thing, it isn't necessary to run the ax25d, unless one just wants
to. A simple kissattach and ifconfig will make one or many ports available
to applications using the kernel/ax25 ports. TNT reads the /etc/axports
file.
--
73, Ronnie.
[EMAIL PROTECTED]