Rpi-aprs-axports

From wikipost
Revision as of 10:29, 8 November 2014 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
/etc/ax25/axports

The axports file configures the link between an AX.25 interface and the callsign it's working for.

# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#
sm0     VK2HAQ-1        1200    255     7       VHF APRS (1200  bps)


The first column [name] (here 'sm0', without /dev/) needs to match the system's interface name:

Example:

root@aprs:/etc# ifconfig sm0
sm0       Link encap:AMPR AX.25  HWaddr VK2HAQ-1
          inet addr:44.128.0.2  Bcast:44.128.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:256  Metric:1
          RX packets:113 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:8662 (8.4 KiB)  TX bytes:0 (0.0 B)

root@aprs:/etc#


The second column [callsign] (here 'VK2HAQ-1') needs to match the '$mycall' variable in /etc/aprx.conf:

Example:

<interface>
   ax25-device   $mycall
   tx-ok         false  # transmitter enable defaults to false
   #telem-to-is  false # set to 'false' to disable
</interface>