-
-
Save mquin/2fd9098eb1f9660a21d7c958d12023ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/ax25/ax25ipd.conf | |
socket udp 10095 | |
mode tnc | |
device /var/ax25/pty/axip1 | |
speed 115200 | |
loglevel 2 | |
broadcast QST-0 NODES-0 | |
route REMOTECALL remote.hostname d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/ax25ipd.service | |
[Unit] | |
Description=AX.25 over IP (AXIP) daemon | |
After=network.target | |
StartLimitInterval=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=5 | |
ExecStart=/usr/sbin/ax25ipd | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/kiss-socat-axip.service | |
[Unit] | |
Description=Socat interconnect for AX25 AXIP | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
WorkingDirectory=/var/ax25 | |
ExecStart=socat -d -d -ly pty,raw,echo=0,link=/var/ax25/pty/axip1 pty,raw,echo=0,link=/var/ax25/pty/axip2 | |
ExecStartPost=/usr/bin/bash -c 'while ! [ -h /var/ax25/pty/axip2 ]; do sleep 1 ; done' | |
ExecStopPost=rm /var/ax25/pty/axip1 /var/ax25/pty/axip2 | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/kiss-tnc@.service | |
[Unit] | |
Description=AX25 KISS TNC %I | |
[Service] | |
ExecStart=/usr/sbin/kissattach $TNC_TTY %i | |
ExecStop=pkill -f "kissattach $TNC_TTY %i" | |
ExecStartPost=/usr/bin/bash -c 'while ! /usr/sbin/kissparms -c 1 -p %i; do sleep 1; done' | |
TimeoutStopSec=5 | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/kiss-tnc@axip.service.d/override.conf | |
[Unit] | |
After=kiss-socat-axip.service | |
[Service] | |
Environment=TNC_TTY=/var/ax25/pty/axip2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment