Richard Ferryman wrote:
>
> I now have Slackware 4 with 2.2.6 kernel and have X running. Now I need to
> get ax25 working for 3 kiss links to tncs in kiss mode. I notice that there
> are a number of ax25 files in /usr/linux-2.2.6/net/ax25 and elsewhere in
> that tree..
> I've read the HOWTO which in section 4.1 says
> # mv linux linux.old # why?
> #cd /usr/src
> #tar xvfz linux-2.0.31.tar.gz #Was this a 'new' kernel? is the step
> necessary?
> #tar xvfz /pub/net/ax25/ax25-module-14e.tar.gz # This would be the
> matching ax25 tools
> #patch -p0 </usr/src/ax25-module-14//ax25-2.0.31-2.1.27-2.diff # this gets
> confusing :-(
> #snip....
> I'm not sure what version of ax25 tools I should have for kernel 2.2.6.
> Getting this bit right seems to be crucial.
> the make config looks relatively straightforward. All other configuration
> seems not to involve the kernel so it will be easier to correct mistakes.
> (I havn't made a kernel since about 0.9).
> Richard
Hello Richard,
The AX25-HOWTO is quite old and not up-to-date anymore.
It talks about 2.0.x kernels which need to be patched with a
module-14-something patch.
All this is not needed anymore with recent kernels. (either 2.0.36,
2.0.37, or 2.2.x)
You could re-compile kernel 2.2.6 as is with AX.25 stuff enabled.
As for the ax25utils...
You could use ax25utils-2.1.42a with kernel 2.2.6.
The utils won't compile under 2.2.6. But once compiled under a 2.0.x
or 2.1.x kernel, they work just fine while running kernel 2.2.6.
Recently a new set of ax25libs and utils were released (alpha).
These are for kernel 2.2.x but also need glibc2.1.
Slackware is still libc5 based, so you'll have to stick with the 2.1.42a
utils.
I have some pre-compiled slackware packages for the ax25utils-2.1.42a in
http://www.iae.nl/users/paularno/linux/
You can install these with pkginstall.
As with the original source installation you still need to change the
configuration files in /etc/ax25/ and add kissattach and whatever in
rc.local or rc.something.
One thing to keep in mind is that with kernel 2.2.6 you need to specifiy
an IP-number with kissattach. Even if you don't intend to use IP. Use a
number from the 10.0.0.0 range if you don't have a number assigned to
you.
73, Arno pe1icq