Install paclink-unix
- Configure a single MTA
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.
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
cd /etc/init.d update-rc.d ax25 defaults 95
/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
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
netstat --ax25
interface listen eth0 interface ignore ax0
$ netstat -an | grep 123
#INTERFACES="all" INTERFACES=wlan0 #HOTPLUG_INTERFACES="all" HOTPLUG_INTERFACES=wlan0