packetradio-guide/docs/install/linux.md

71 lines
1.8 KiB
Markdown

# Linux Native Stack
The linux native stack is highly configurable and can be easily installed on all Debian distros.
More detailed configuration instructions and explanations can be found [here](../config/linux.md)
## Install
To get a basic node setup, the minimum viable software is:
`apt install libax25 ax25-tools ax25-apps uronode`
### BBS
To set up a BBS install fbb
`apt install fbb`
## Basic Config
We shall set up a single AX.25 port to receive calls and display Uronode to calling stations.
### ax25 ports
Set up your ax25 ports in `/etc/ax25/axports`
The following example is for a NinoTNC:
```
# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#
uhf UR0CAL-10 57600 255 2 UHF 9600bd
```
Modify the callsign to your own or your station's call.
This has to be attached as to the modem, in effect telling the computer to
listen to the modem's output. Run the below as root:
`kissattach /dev/ttyACM0 uhf`
### ax25d
ax25d (ax25 daemon) listens to incoming data and directs calling stations to the application you want them to use.
It can present different applications based on any combination of the callsign calling you, the callsign and SSID the calling station is calling and the port they are calling to.
ax25d is controlled by `/etc/ax25/ax25d.conf`
```
# /etc/ax25/ax25d.conf
#
# ax25d Configuration File.
#
# AX.25 Ports begin with a '['.
#
[UR0CAL-10 via uhf]
NOCALL * * * * * * L
default * * * * * * - root /usr/sbin/uronode uronode
```
Note the callsign, SSID and port are aligned with the axport in this example. Similar to axports, modify UR0CAL to our own callsign or your station's callsign.
ax25d is started by running the below as root:
`ax25d`
Stations should be able to call uronode on your system using AX.25.