Lee

Did you load the modules with
modprobe ax25
modprobe mkiss

I run Debian 6 for xastir and other variants of Debian (mostly Mint 9 KDE) for the office and the laptop. The modules are there but they need to be loaded. Below is one of my rc.ax25 files from a recent installation. Some entries are left over from a very large system I used to run but they are no longer necessary and are remarked out. My current xastir system is on Debian 6 and it uses a similar rc.ax25, except that I've reverted to a Baycom USCC>4 card and not serial ports for TNC's.

By way of explanation, the last entry, /usr/local/sbin/axsetparms, sets the kernel ax25 parameters at boot to override the kernel defaults. The file, axsetparms, is part of a suite that came from John Ackerman some years ago. They allow one to get, display and set the ax25 parameters for each port. If attachments are permitted on this list I'll post them here because they are useful tools.

Ray vk2tv

#!/bin/sh
#
# This is /etc/init.d/rc.ax25
#
# Start AX25/NetRom/Rose networking devices/daemons.
# AX25 config for VK2TV
# DATE      Who      Comment
#------------------------------------------------------------------
# 16-12-10  TV     Kernel ax25 configured for Mint 9 KDE
#-----------------------------------------------------------------
 test -f /usr/local/sbin/ax25d || exit 0


#       
#       echo -n "Configuring serial ports"
#       /bin/setserial -v /dev/ttyS0 uart 16550A port 0x3f8 irq 4
#       /bin/setserial -v /dev/ttyS1 uart 16550A port 0x2f8 irq 3
#
        modprobe ax25
        modprobe mkiss
#       modprobe rose
#       modprobe netrom
#
        echo -n "starting ax interfaces"
#
#
         echo -n " configure the ax0/5175 device"
        /usr/local/sbin/kissattach  /dev/ttyS0 5175 44.136.56.25 -m 255
/sbin/ifconfig ax0 44.136.56.25 netmask 255.255.255.0 broadcast 44.136.56.255 arp
        #
        echo -n " configure the ax1/30m device"
        /usr/local/sbin/kissattach  /dev/ttyS1 30m 44.136.56.25 -m 255
/sbin/ifconfig ax1 44.136.56.25 netmask 255.255.255.0 broadcast 44.136.56.255 arp
        #
        echo -n " configure the ax2/5825 device"
        /usr/local/sbin/kissattach  /dev/ttyUSB0 5825 44.136.56.25 -m 255
/sbin/ifconfig ax2 44.136.56.25 netmask 255.255.255.0 broadcast 44.136.56.255 arp
        #
        #
        /bin/netstat -rn        
        #
        #
        echo -n "Setting KISS parameters for 5175"
        /usr/local/sbin/kissparms -p 5175 -r 125 -t 270 -s 20 -f n -l 20
         #
         echo -n "Setting KISS parameters for 30m"
        /usr/local/sbin/kissparms -p 30m -r 20 -t 400 -s 20 -f n -l 40
        #
        echo -n "Setting KISS parameters for 5825"
        /usr/local/sbin/kissparms -p 5825 -r 125 -t 250 -s 20 -f n -l 10
        #
        #
        echo -n "Starting ax25d"
        /usr/local/sbin/ax25d &
        #
        #
        echo -n "Starting mheardd"
        /usr/local/sbin/mheardd &
        #
        #
        echo -n "Setting AX25 /proc parameters"
#
        /usr/local/sbin/axsetparms
        #
#---------------------------------- end ------------------------------------




On 05/07/11 05:36, Lee Bengston wrote:



Wow, lsmod | grep mkiss results in a big fat nothing.  That has to be
the problem.

uname -r shows 2.6.32-5-686.  I didn't expect a relatively new Debian
kernel to be without this stuff

Thanks,
Lee


On Mon, Jul 4, 2011 at 12:52 PM, Curt, WE7U<[email protected]>  wrote:
On Mon, 4 Jul 2011, Lee Bengston wrote:

aprs    K5DAT-10        9600    255     2       APRS

# /usr/sbin/kissattach /dev/ttyUSB0 aprs 44.24.250.249
# /usr/sbin/kissparms  -p aprs  -t 500  -s 200    -r 32       -l 100  -f n

But I got the following response:

'axconfig:port aprs not active'
'kissparms: no AX.25 ports configured'

Everything looks nearly identical to what I have, except I've changed the
255 to a 256 in the first line.  That won't make a difference.

Do you have the proper kernel modules available?  I've been playing with YAM
modems a while back so there's at least one module you don't need here, but
my lsmod looks like this:

    >  lsmod | grep mkiss
    mkiss                  10272  1
    ax25                   67422  4 yam,mkiss
    crc16                   1715  2 mkiss,ext4

Make sure you have the ax25/mkiss/crc16 modules available and they got
loaded into your kernel.

--
Curt, WE7U.        http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to