John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:radio:dormant:aprs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:radio:dormant:aprs [31/05/25 08:47 BST] johnpublic:radio:dormant:aprs [31/05/25 12:12 BST] (current) john
Line 9: Line 9:
  
 |Platform|Raspberry Pi| |Platform|Raspberry Pi|
-|software|aprx|+|Software|aprx 2.9.0|
 |Radio Hardware|FT-1500M| |Radio Hardware|FT-1500M|
 |Frequency|144.800MHz| |Frequency|144.800MHz|
Line 17: Line 17:
  
 iGate Software : [[https://thelifeofkenneth.com/aprx/|aprx]] or [[https://github.com/ha5di/DIXPRS|Dixprs]]  iGate Software : [[https://thelifeofkenneth.com/aprx/|aprx]] or [[https://github.com/ha5di/DIXPRS|Dixprs]] 
 +
 +==== Update May 2025 ====
 +
 +**dixprs** is no longer maintained, and after re-installing a fresh OS on my igate Pi I couldn't find the details for installing it, as the old google site [[https://sites.google.com/site/dixprs/]] that had the details has disappeared from the internet. 
 +
 +=== Additional info ===
 +
 +The Wayback Machine has some copies of the old google site for dixprs - here's one of them:
 +
 +[[https://web.archive.org/web/20201009100911/https://sites.google.com/site/dixprs/installa]]
 +
 +This might give enough information - but it looks as though it's more trouble than it's worth, when ''aprx'' works perfectly well.
 +
 +++++ Dixprs installation |
 +
 +Installation
 +Preparation
 +DIXPRS is distributed in form of Python scripts, which can be run on any OS which meets requirements below. There is a precompiled WIN32 executable available also, see WINDOWS section later.
 +
 +It requires Python 2.6.x or 2.7.x installed. It is not compatible with older versions nor Python 3.x Python is usually installed on most modern LINUX systems. If not, check availability with distros package manager.
 +
 +DIXPRS requires SQLite3. Usually it is part of Python installation by default. If not, install with your package manager. For WINDOWS it is available at http://python.org/
 +
 +DIXPRS also requires pyserial module to handle serial interface. If not installed already and not available in the disribution's repository, download from http://pyserial.sourceforge.net/pyserial.html
 +
 +Finally open a terminal window (or DOS window if installing DIXPRS source on WINDOWS), start Python and try to import sqlite3 and serial modules:
 +
 +
 +
 +As on the picture, no error message displayed.
 +
 +LINUX with AX.25 stack
 +On LINUX DIXPRS can communicate to a KISS TNC directly via a serial interface. However it is adviced to use TNC's and modems via AX.25 stack. It makes other type modems, like USCC card, BAYCOM modem, etc. usable with DIXPRS. It requires an additional Python module installed, developed for DIXPRS, called pyax25.
 +
 +Download pyax25.tar.gz and extract to a temporary folder. Then enter
 +
 +./compile_ax25.py build
 +./compile_ax25.py install
 +
 +Note: procedure requires libax25, Python development files and basic development toolchain with GCC installed.
 +
 +Check installation. Open a terminal, start Python and type
 +
 +import _ax25
 +
 +If everything is OK, only prompt displayed, no error message. 
 +
 +DIXPRS installation - LINUX
 +Download dixprs-xxx.tar.gz and extract to a folder - /usr/local/dixprs is a good choice to make installation of 3rd-party packages like munin plugins easier. Customize configuration file config.txt and start program:
 +
 +./dixprs
 +
 +It is a good practice to run DIXPRS in a screen terminal. In this case you can see what is going on and can disconnect terminal any time without stopping it. If you are not familiar with the screen utility, read this great article
 +
 +http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/
 +
 +DIXPRS can be run as a daemon using tools like daemonize or daemontools available in repository of most distros.
 +
 +
 +DIXPRS installation - WINDOWS binary
 +Download dixprs-xxx-win32.zip and extract to a folder - C:\dixprs or C:\Program Files\dixprs is a good choice. Customize configuration file config.txt and start program:
 +
 +dixprs.exe
 +
 +Configuration
 +Study supplied sample configuration files and use as a template to make your own. By default DIXPRS is looking for config.txt file. You can specify a different file with a command line argument:
 +
 +dixprs -c <configfile>
 +
 +or
 +
 +dixprs --config=<configfile>
 +
 +
 +++++
 +
 +++++ an ax_start.sh with the dixprs screen command |
 +
 +<code bash>
 +#!/bin/bash
 +
 +logger "AX-Start"
 +logger "kissattach..."
 +sudo /usr/sbin/kissattach /dev/ttyAMA0 1 10.0.0.1
 +#kissparms -p 1 -f n -l 50 -r 32 -s 320 -t 400
 +logger "kissattach ok"
 +logger "ifconfig"
 +sudo /sbin/ifconfig ax0 10.0.0.1 netmask 255.255.255.0
 +sudo /sbin/ifconfig ax0 hw ax25 GM4SLV up
 +logger "ifconfig ok"
 +logger "mheardd"
 +sudo /usr/sbin/mheardd
 +logger "mheard ok"
 +logger "ax25d"
 +sudo /usr/sbin/ax25d
 +logger "ax25d ok"
 +
 +#logger "aprx"
 +#sudo /sbin/aprx
 +#logger "aprx ok"
 +
 +screen -c /etc/screenrc -dmS dixprs /usr/local/dixprs/dixprs.py -c /usr/local/dixprs/config.txt
 +
 +#sleep 10
 +#screen -S dixprs -x -X screen bash -c 'python /home/gm4slv/selcall.py; exec bash'
 +</code>
 +
 +++++
 +
 +The software is still available on github [[https://github.com/ha5di/DIXPRS]]
 +
 +I've gone over to **aprx** which is still //alive// and easily installed.
 +
  
 Using Linux AX25 network device  Using Linux AX25 network device 
Line 33: Line 146:
 ++++ ++++
  
-Everything starts by a script, with options commented out as necessary to start whichever software is required.+Everything starts by a script, with options commented out as necessary to start whichever software is required. The script (belongs to root) is run at boot time via ++++ root's crontab |
  
 +<code>
 +# m h  dom mon dow   command
 +@reboot sleep 30 && /root/ax_start.sh > /dev/null 2>&1
 +
 +</code>
 +
 +++++
  
 ++++ ax_start.sh | ++++ ax_start.sh |
Line 129: Line 249:
  
  
 +
 +<digipeater>
 +    transmitter     $mycall
 +        <source>
 +                source         $mycall
 +                filter "-t/t"
 +                filter "t/*"
 +        </source>
 +
 +        <source>
 +                source APRSIS
 +                relay-type third-party
 +                via-path WIDE1-1
 +                msg-path WIDE1-1
 +                filter "-t/t"
 +                filter "t/*"
 +                regex-filter data ISBeacon
 +        </source>
 +</digipeater>
  
 </code> </code>
Line 328: Line 467:
 can't remember the details. can't remember the details.
  
 +**I've found it**
 +
 +  * Edit ''/boot/cmdline.txt'' and remove the phrase ''console=serial0,115200''
 +  * Edit ''/boot/config.txt'' and add the line ''enable_uart=1''
    
  
public/radio/dormant/aprs.1748677651.txt.gz · Last modified: by john