This is an old revision of the document!
AX.25
It is assumed that Linux kernel you have is
AX.25 ready if it is not you need to:
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.
-
Download the 3 files under 'Latest Versions' from right hand side
There are other versions of these packages that have been modified or patched to be 'better' but let's get this going with the vanilla sanctioned packages first.
The packages available from the Debian/Ubuntu repositories tend to be at least one rev behind current so don't install from them.
Building the 3 tarballs
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
After installing these 3 tar balls verify your AX.25 setup by running a
packet spy
By installing a
packet spy you will verify that your TNC, radio, cables & Linux AX.25 config are all working … and that's a big step.
Basic Setup for Config files
Starting AX.25 at boot up
You will need a script to start the ax.25 service at bootup.
The /etc/init.d/ax25 script points to /usr/local/etc/ax25/ax25-up to start and /usr/local/etc/ax25/ax25-down to stop the ax25 service.
Start by placing the ax25 script found below in /etc/init.d/ and update the start up process by executing this command as root:
cd /etc/init.d
update-rc.d ax25 defaults 95
AX.25 start-up & config scripts
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
Network Broadcast All ports
USB WiFi dies after kissattach
#INTERFACES="all"
INTERFACES=wlan0
#HOTPLUG_INTERFACES="all"
HOTPLUG_INTERFACES=wlan0