Install paclink-unix
- Configure a single MTA
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plu:example_config_files:systemd [2018/11/23 12:59] gunn [Files in /etc/ax25] |
plu:example_config_files:systemd [2018/11/23 15:55] (current) gunn |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== systemd files in /etc/systemd/system ===== | ===== systemd files in /etc/systemd/system ===== | ||
+ | * Up-to-date files can be found in nwdigitalradio/n7nix repo [[https://github.com/nwdigitalradio/n7nix/tree/master/systemd/sysd | here]] | ||
=== ax25dev.service === | === ax25dev.service === | ||
<file> | <file> | ||
Line 85: | Line 86: | ||
</file> | </file> | ||
===== Files in /etc ===== | ===== Files in /etc ===== | ||
+ | * Up-to-date files can be found in nwdigitalradio/n7nix repo [[https://github.com/nwdigitalradio/n7nix/tree/master/systemd/sysd | here]] | ||
=== direwolf.conf === | === direwolf.conf === | ||
<file> | <file> | ||
Line 127: | Line 129: | ||
CHANNEL 1 | CHANNEL 1 | ||
- | PTT GPIO 12 | + | PTT GPIO 23 |
MODEM 1200 | MODEM 1200 | ||
MYCALL N7NIX-2 | MYCALL N7NIX-2 | ||
Line 141: | Line 143: | ||
</file> | </file> | ||
===== Files in /etc/ax25 ===== | ===== Files in /etc/ax25 ===== | ||
+ | * Up-to-date files can be found in nwdigitalradio/n7nix repo [[https://github.com/nwdigitalradio/n7nix/tree/master/systemd/ax25 | here]] | ||
+ | |||
=== ax25dev-parms === | === ax25dev-parms === | ||
<file> | <file> | ||
Line 208: | Line 212: | ||
firmware_vendorfile="/sys/firmware/devicetree/base/hat/vendor" | firmware_vendorfile="/sys/firmware/devicetree/base/hat/vendor" | ||
- | PROD_ID_NAMES=("INVALID" "INVALID" "UDRC" "UDRC II" "1WSpot") | + | PROD_ID_NAMES=("INVALID" "INVALID" "UDRC" "UDRC II" "DRAWS" "1WSpot") |
NWDIG_VENDOR_NAME="NW Digital Radio" | NWDIG_VENDOR_NAME="NW Digital Radio" | ||
Line 316: | Line 320: | ||
/etc/ax25/ax25dev-parms ax0 | /etc/ax25/ax25dev-parms ax0 | ||
;; | ;; | ||
- | 3) | + | 3|4) |
- | echo "UDRC II installed" | + | echo "UDRC II or DRAWS installed" |
# use port 2 with mkiss | # use port 2 with mkiss | ||
pseudoterm=$($SBINDIR/mkiss $SERIALPORT_DIREWOLF /dev/ptmx /dev/ptmx | tail -1) | pseudoterm=$($SBINDIR/mkiss $SERIALPORT_DIREWOLF /dev/ptmx /dev/ptmx | tail -1) | ||
Line 333: | Line 337: | ||
echo " Port ${PORTNAME_2} attached to ax1" | echo " Port ${PORTNAME_2} attached to ax1" | ||
;; | ;; | ||
- | 4) | + | 5) |
echo "One Watt Spot installed" | echo "One Watt Spot installed" | ||
# use port 1 with mkiss | # use port 1 with mkiss | ||
Line 420: | Line 424: | ||
echo "ax25-downd finished" | echo "ax25-downd finished" | ||
exit 0 | exit 0 | ||
+ | </file> | ||
+ | === axports === | ||
+ | <file> | ||
+ | # /usr/local/etc/ax25/axports | ||
+ | # | ||
+ | # Use simple descriptive names for the ports, to make debugging | ||
+ | # other associated software easier. | ||
+ | |||
+ | # | ||
+ | # The format of this file is: | ||
+ | #portname callsign speed paclen window description | ||
+ | udr0 N7NIX-10 9600 255 2 Winlink | ||
+ | </file> | ||
+ | === ax25d.conf === | ||
+ | <file> | ||
+ | # /usr/local/etc/ax25/ax25d.conf | ||
+ | # | ||
+ | # ax25d Configuration File. | ||
+ | # | ||
+ | # | ||
+ | [N7NIX-10 VIA udr0] | ||
+ | NOCALL * * * * * * L | ||
+ | NOCALL * * * * * * L | ||
+ | default * * * * * * - rmsgw /usr/local/bin/rmsgw rmsgw -l debug -P %d %U | ||
+ | # | ||
+ | [N7NIX VIA udr0] | ||
+ | NOCALL * * * * * * L | ||
+ | default * * * * * * 0 gunn /usr/local/bin/wl2kax25d wl2kax25d -c %U -a %d | ||
+ | # | ||
</file> | </file> |