Table of Contents

AX.25

Below is a collection of links of good tutorials for setting up AX.25. I recommend you read them as what follows in this wiki is just a summary of what is needed to get AX.25 configured to run paclink-unix.

Install AX.25 library, apps & tools

Building the 3 tarballs

echo "/usr/local/lib" >> /etc/ld.so.conf && /sbin/ldconfig
apt-get install libncurses5-dev
tar -xvzf libax25-0.0.12-rc4.tar.gz
tar -xvzf ax25-apps-0.0.8-rc4.tar.gz
tar -xvzf ax25-tools-0.0.10-rc4.tar.gz
cd <appropriate directory>
./configure
make
sudo make install

Configure AX.25

Basic Setup for Config files

Starting AX.25 at boot up

cd /etc/init.d
update-rc.d ax25 defaults 95

AX.25 start-up & config scripts

startup script install

/etc/init.d/ax25
/usr/local/etc/ax25-up
/usr/local/etc/ax25-down
/etc/init.d/ax25 stop
/etc/init.d/ax25 start
/etc/init.d/ax25 status
echo $PATH
ls -al /etc/init.d/ax25
 
-rwxr-xr-x 1 root root 2533 Feb 24  2011 /etc/init.d/ax25
 
ls -al /usr/local/etc/ax25/ax25-*
 
-rwxr-xr-x 1 root root  1743 Feb 24  2011 /usr/local/etc/ax25/ax25-down
-rwxr-xr-x 1 root root  2758 Dec  1 16:32 /usr/local/etc/ax25/ax25-up
chmod +x /etc/init.d/ax25
chmod +x /usr/local/etc/ax25/ax25-up
chmod +x /usr/local/etc/ax25/ax25-down

Linux AX.25 & TNC's

Note about KISS mode

Unlike the Windows programs RMS Express & Airmail, Linux AX.25 does not know about different TNCs and their command modes. The kissattach program assumes the TNC is in KISS mode. You can ensure that the TNC is in KISS mode by modifying the AX.25 startup script before kissattach is run. In the example described in this wiki that would be in the ax25-up script in /etc/ax25 or /usr/local/etc/ax25 directories.

A brief comparison of TNCs can be found here

Misc Notes

Is AX.25 Enabled in your kernel

netstat --ax25

Network Broadcast All ports

ntp broadcast check

interface listen eth0
interface ignore ax0
$ netstat -an | grep 123

USB WiFi dies after kissattach

#INTERFACES="all"
INTERFACES=wlan0
#HOTPLUG_INTERFACES="all"
HOTPLUG_INTERFACES=wlan0