Install paclink-unix
- Configure a single MTA
This is an old revision of the document!
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
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
directories:
/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
ax25-up script to customize at least for your call sign and ax.25 port name.
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
Make sure all these scripts are executable. Look for the x in the ls -al response. If the scripts are not executable then give them that permission as root.
chmod +x /etc/init.d/ax25 chmod +x /usr/local/etc/ax25/ax25-up chmod +x /usr/local/etc/ax25/ax25-down </bash> ===== 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 [[plu:install_ax25:tnc | here]] ===== Misc Notes ===== ==== Network Broadcast All ports ==== * Note that bringing up another network interface, like AX.25 on Linux, causes any daemons that broadcast out ALL ports to broadcast out the new port as well. * Examples: Samba, DropBox, ntp * Depending on what is installed on your Linux machine you will have to go to each daemon's config to specify which ports they're allowed to broadcast on. === ntp broadcast check === * NTP is implemented via UDP over port 123, * restrict ntp to using eth0 and **not** ax0 in ///etc/ntp.conf// * when using //netstat -an// you should **not** see any reference to the 44.128.0.0 net <file> interface listen eth0 interface ignore ax0 </file> * If you see ntp using the 44.128.0.0 net then check /etc/ntp.conf <code bash> $ netstat -an | grep 123
#INTERFACES="all" INTERFACES=wlan0 #HOTPLUG_INTERFACES="all" HOTPLUG_INTERFACES=wlan0