piHPSDR-Improved – Development Update

With our last release of piHPSDR-Improved v2.451 proving to be very popular on the download chart, The Three Amigos have been busy continuing with development.

We’ve actively been on a bug squashing mission and believe we have finally resolved the colour issues with parts of the piHPSDR-Improved window that render both text and background colour the same on some Linux desktops when using a light desktop theme.

We’re determined to squash the long standing bugs that have plagued piHPSDR whilst at the same time adding enhancements that add real value to the SDR package.

Development of the TCI server has progressed well and it now not only streams both RX and TX audio but, also gives direct access to the I/Q stream. This opens up a whole host of new possibilities that we’ve already started taking advantage of.

One enhancement many have asked for is a QO-100 Beacon Lock. This is a facility that is already available in SDR-Console on the Windows platform and one that many people moving from Windows to Linux regularly request.

We’ve developed this from scratch as a new piHPSDR-Improved module. It’s currently in early alpha but, is looking very promising.

Having just released piText, a fun little app that sends text messages directly onto the receiving station’s waterfall, we’ve also been developing piMorse in parallel.

piMorse - Decode Morse code real time and send directly from your keyboard.
piMorse – Decode Morse code real time and send directly from your keyboard.

piMorse is a really nice add on for piHPSDR-Improved that brings Morse Code decode and encode to the Linux desktop in a modern form. Testing is pretty much complete and we’re just putting the finishing touches to the user manual before packaging it up and sending it for release.

As you can see, The Three Amigos have been busy over the last few weeks continuing with their mission to bring new and exciting functionality to piHPSDR-Improved.

The list of enhancements is by no means near exhaustion and I’m sure over the next year or so HPSDR on the Linux platform will be on an equal standing with the Windows platform, if not ahead.

Coming soon - piMorse from The Three Amigos!
Coming soon – piMorse from The Three Amigos!

More soon …

piText – SDR Waterfall Messaging App

piText - Send short messages via the waterfall
piText – Send short messages via the waterfall

piText is a fun little app that I put together as an exercise to learn how to use the Transceiver Control Interface (TCI) capability in piHPSDR-Improved.

piText lets you type a short message and “write” it into the waterfall of anyone watching your signal.

It converts the text to audio whose spectrogram (frequency across, time down) spells out the message, and passes that audio to piHPSDR-Improved over the TCI WebSocket protocol. piHPSDR transmits it like any other SSB audio.

Written in Python it runs on any Linux computer but, is squarely aimed at Debian based distro’s like Ubuntu/Kubuntu/Linuxmint/RaspberryPi OS etc.

True to our promise, piText comes with its own GUI installer, just like all our Pi series of apps, making it easy to install and run on any Linux computer without the hassle of having to manually install packages and compile code.

piText - GUI Installer
piText – GUI Installer

piText was never intended for release into the wild as it was just a project for me to learn about the piHPSDR-Improved TCI but, we decided to share it with the HAM community as it has a number of use cases that others may find useful or fun.

This of course means it’s been through The Three Amigos testing phase during the development cycle so, you can rest assured it’ll work out the box. We’ve tested it in our shacks so you can just install it and have fun.

piText Main Window
piText Main Window

piText has a simple user interface, a field to enter your message into and a display field showing what the message will look like in an SDR waterfall.

Settings to connect to piHPSDR-Improved are also user changeable so that the SDR software can run either locally on the same computer as piText or on a remote computer. Just change the host and port settings accordingly.

A full user manual is included in the docs folder detailing how to set the Row S, Font and Hz/Col to get the best results. The manual also goes into the technical detail of how the messages are generated for those that are interested in what’s under the hood.

Like all our apps, just download the zip file, unzip it into a directory of your choice and double click the installer. You’ll be ready to go in no time at all.


We’re actively developing new apps for piHPSDR-Improved that will bring enhanced functionality to the HPSDR platform for the Linux user.

As always, thanks to Steve (M0XVT) and Alan (G1SQB) for help in putting this app together and for all their hard work testing and debugging it. Without them I’d still be searching for bugs!

More soon …

piLog v1.0 – A New Approach to Amateur Radio Logging


The Three Amigos, Steve (M0XVT), Alan (G1SQB) and Mike (M0AWS) are delighted to announce piLog v1.0, a new Linux logging application for Amateur Radio Operators, with close integration for piHPSDR-Improved and support for FLRig. Designed to make logging simple without getting in the way of operating, piLog follows your radio and handles much of the routine work involved in recording a QSO.

piLog - A New Approach to Amateur Radio Logging
piLog – A New Approach to Amateur Radio Logging


Connect to piHPSDR-Improved through its rigctl CAT server or to FLRig using XML-RPC, and piLog follows frequency, band and mode in real time. It also reads the active receiver, split operation, satellite mode and PTT status. Frequency, mode and band are all filled in automatically whilst entries remain editable. piLog can also be used without a connected rig if required.

piLog Single Entry Log Mode
piLog Single Entry Log Mode


Logging a contact is straightforward. Enter a callsign and piLog can retrieve station details from its local QRZ cache, your previous log entries or QRZ.com , when configured (QRZ XML subscription required). Name, QTH, grid square and other available information are filled in automatically. Add signal reports, power or comments and press Save. Every contact is written to a local, standard ADIF file first, so your log is retained even when an online service is unavailable.


A major feature of piLog v1.0 is Net Mode. Instead of working with just one QSO form, operators can add multiple entries and prepare contacts as stations check into a net. Each entry is saved independently, avoiding the need to repeatedly clear and reuse a single form.

We believe piLog is the first amateur radio logging application to provide this kind of Net Mode logging, allowing more than one log entry to be entered at a time. It is a feature many amateurs have been asking for and, as far as we can establish, one not previously offered by another logging application.

piLog - Net Mode
piLog – Net Mode


Contacts can be organised automatically into ADIF files by mode, power (QRP or QRO) and satellite use, or kept together in one file. Optional background uploads send contacts to QRZ Logbook and eQSL. If an upload fails, piLog keeps it in a retry queue and tries again when connectivity returns. Satellite contacts, split operation and transverter/upconverter frequency offsets are also supported.


Beyond logging, piLog includes searchable log history, statistics by band, mode and power, and a world map showing stations worked. Its integrated DX Cluster view displays live spots on a zoomable map; click a spot to tune the connected radio and put the callsign into a QSO log entry. Distance and beam heading are displayed when grid information is available.

You can also send spots into the DX Cluster Network simply by adding a callsign and comment into the fields provided, the frequency is taken from the current active VFO and the spot is sent immediately into the DXC network once the “Spot” button is clicked.

piLog DX Cluster Map
piLog DX Cluster Map


Staying true to our promise of providing a simple to use GUI installer for all our creations, getting started is a breeze using our custom built piLog graphical installer. Built with Python and PyQt6, piLog is designed from the ground up as a Linux application, and its use of the widely supported ADIF format makes QSO data easy to use with other logging software and online services.

piLog GUI Installer
piLog GUI Installer

We’ve also written a detailed User Manual that you’ll find in the docs folder. It covers every aspect of piLog including details about where data is stored, how it’s stored and a lot more.

piLog v1.0 has been tested on Debian Linux 12/13, Linuxmint, Kubuntu, Ubuntu and of course RaspberryPi OS 12/13 and is ready for the amateur radio community.

We’ve put a lot of effort into testing over the last few weeks and have been using piLog whilst on air to ensure it’s as easy to use as possible and doesn’t get in the way of enjoying your air time.

We hope it makes everyday logging easier, and that Net Mode proves especially useful to operators running or taking part in on air nets by handling multiple contacts with ease.

You can get piLog simply by clicking the Download button below, unzip the file into a directory and run the installer. You’ll be ready to go in seconds.


More soon …

piSync v1.1 Released: Two Way Sync and Named WebSDRs

Steve (M0XVT), Alan (G1SQB) and Mike (M0AWS) are pleased to announce the release of piSync v1.1.

piSync Logo
piSync Logo


piSync keeps a KiwiSDR or PA3FWM WebSDR receiver tuned to the frequency, mode and band of your piHPSDR powered SDR transceiver or any radio supported by FLRig, the same as winSync does on Windows.

Version 1.1 is now released and brings a couple of important updates since v0.9.

piSync v1.1 has now gained a way to steer your radio from the WebSDR receiver, a friendlier drop down receiver list, and a detailed user manual.

Two Way Sync


Until now piSync only worked in one direction: radio to WebSDR receiver. v1.1 adds an optional Two Way Sync checkbox on the control page. When it is ticked, a frequency or mode change you make in the KiwiSDR or WebSDR page is sent back to the radio: to piHPSDR over CAT, or to FLRig over XML-RPC. This makes it easy to click on a signal in the WebSDR waterfall and have your radio follow.

piSync v1.1 with Two Way Sync
piSync v1.1 with Two Way Sync


The feature is deliberately cautious:

  • It is off by default.
  • Changes are debounced and the last change wins, so dragging across the band does not flood the radio.
  • piSync recognises the echo of its own changes and does not re-apply them, so the two sides cannot fight each other.
  • Nothing is sent while the radio is transmitting.
  • piSync may only write frequency and mode. Commands that key the transmitter or switch receivers (TX, RX, ZZTX, FR, FT, and PTT in FLRig) remain forbidden and are blocked.


Named WebSDRs


The WebSDR receiver drop-down used to show only URLs. v1.1 adds a “Description” box next to the URL field (See screenshot above). The drop-down now shows your own name for each WebSDR receiver with the URL underneath. A pencil button lets you edit the name later. Names are stored with the list in ~/.config/piSync/urls.json; lists saved by older versions of piSync still load as before.


A Detailed User Manual


There is now a User Manual in the docs folder. It covers installation (graphical installer and terminal based setup.sh), the launcher, the control page, using KiwiSDR and WebSDR receivers, Two Way Sync, a configuration reference and troubleshooting. We believe a picture is worth a million words and so we’ve included screenshots in the manual to help remove any confusion as to how piSync works.

Summary

piSync v1.1 brings Two Way Sync, WebSDR Receiver Names and a new, Detailed User Manual which round off nicely our latest release of this extremely popular little app that adds some great functionality to piHPSDR-Improved and FLRig for amateur radio operators around the world.


More soon …

piSync v0.9 Released – Bringing Synchronised WebSDR Access to More Radios

Steve (M0XVT), Alan (G1SQB) and I are pleased to announce piSync v0.9, bringing synchronised WebSDR access to Linux users running piHPSDR-Improved and now, a much wider range of transceivers through FLRig.

Windows users have enjoyed this kind of functionality through applications such as CatSync for some time. To the best of our knowledge, piSync may be the first Linux application to offer an equivalent solution for both piHPSDR-Improved and the huge range of transceivers supported by FLRig.

piSync v0.9 with FLRig support
piSync v0.9 with FLRig support

Bringing New Life to Existing Radios

The addition of FLRig support is a significant step forward. piSync can follow your radio’s frequency, operating mode, active VFO and PTT status, allowing a compatible WebSDR receiver to follow you around the bands.

Whether you’re using a modern SDR or a conventional transceiver, piSync opens up new possibilities for exploring propagation and comparing signals received at different locations around the world — without replacing your existing radio.

What’s New in v0.9?

This release also introduces several improvements:

  • Persistent WebSDR list: Your receiver URLs are now saved on your PC and restored after restarting piSync, rather than being stored in your web browser.
  • Improved audio muting: Fixes muted WebSDR audio unexpectedly returning after transmit/receive cycles.
  • WebSDR map: A new launcher button provides quick access to the WebSDR World Map.
piSync v0.9 - Synchronising WebSDR's to your Radio.
piSync v0.9 – Synchronising WebSDR’s to your Radio.

Easy Installation for Linux Users

Getting started with piSync is easier than ever, thanks to its new GUI installer. Designed to simplify installation and setup, it makes piSync more accessible to everyone, including amateur radio operators making the move from Windows to Linux.

Alongside the GUI installer developed for piHPSDR-Improved, this is another step towards making Linux a practical and welcoming platform for amateur radio enthusiasts.

piSync GUI Installer - One Double Click and it's ready to use.
piSync GUI Installer – One Double Click and it’s ready to use.

We’ve Kicked the Tyres, So You Can Hit the Airwaves!

piSync has been tested on Raspberry Pi, Kubuntu (KDE Plasma), Linux Mint (Cinnamon), Debian 13 (Trixie) and Ubuntu. While we can’t test every Linux distribution, it should work on most Debian and Ubuntu based systems. We’ve done the testing so you can spend less time setting up and more time enjoying your radio!

Get piSync

If you’re a Linux-based amateur radio operator, whether using piHPSDR-Improved or a transceiver supported by FLRig, piSync is worth a look.

Synchronised WebSDR access, on Linux, using the radio you already own.

UPDATE: PiSync v1.1 has been released, download from this article.


More soon …

piHPSDR-Improved – Our First Release

piHPSDR-Improved Logo from The Three Amigos development team
piHPSDR-Improved Logo from The Three Amigos Development Team

For some time now Steve (M0XVT), Alan (G1SQB) and I have been working on a version of piHPSDR to use with our Hermes Lite 2, Anan 200D, Adalm Pluto, Pluto+ and LibreSDR transceivers. The biggest problem we’ve had is the constantly changing code on github that often would stop the software from working on one device or more each time we updated and then we’d have to spend hours finding the issue and fixing it.

Eventually we got tired of this and decided to build our own stable version that doesn’t get anything from github and is made up of all the parts necessary to create a version that just works on the devices that we use on a daily basis.

Using piHPSDR on the QO-100 satellite and the HF bands across a number of very different types of hardware is a challenge in itself, especially when the devices use different protocols and only certain library sets work with certain firmware on some devices, the combinations get complicated to say the least.

To differentiate our build of piHPSDR from all the others available on the internet today we decided to call it piHPSDR-Improved.

So what is piHPSDR-Improved?

piHPSDR-Improved is a version of piHPSDR that has the fixes and enhancements in it that we’ve dreamt of having over the last couple of years. Some of the fixes are simple things like being able to detach the toolbar from the main window thus giving more space for the two panadapter/waterfall displays and have all the toolbar buttons on another screen in a floating toolbar. Other enhancements were more involved and addressed some of the most annoying issues like none of the settings for VFOB (RX2) were saved and so, every time you started the program you had to setup the RX2 all over again from scratch. These sound like simple fixes but, believe me, they’re not.


Another thing we wanted to do was make piHPSDR-Improved easy to install. Many Windows users transitioning from Windows to Linux often regret it the moment they have to use the Linux command line to install piHPSDR.

We’ve committed to having GUI installers for all the applications that we develop and release, regardless of how much extra work this entails.

It’s time installing software on Linux desktop PCs was as easy as it has been on Windows PCs for decades.

piHPSDR-Improved GUI Installer
piHPSDR-Improved GUI Installer

We’ve taken a modular approach to building piHPSDR-improved. Rather than putting everything into the one application, we’re going to be releasing add on modules that will bring new functionality over time. This way we can build on a structured, stable base keeping everything operational all of the time.

The first module we’re releasing is piSync and we’ve included it in the zip file that you’ll download to install piHPSDR-Improved.

piSync Logo
piSync Logo

piSync adds functionality to piHPSDR-Improved that Windows Thetis users have had for a long time, namely the ability to use an online WebSDR along side their own SDR transceiver and have it track the frequency, band and mode automatically. This functionality has proven to be incredibly useful when you are struggling to hear a weak DX or QRP station.

With piSync you can now use an online WebSDR receiver closer to the DX station to aid getting that QSO in the log. It’s like having another receiver in your radio that is located anywhere in the world, for free!

We believe this is a first for the Linux platform and we’re really pleased to be able to share it with the Linux community.

We’ve had great fun with piSync during testing and we think you’re all going to find it extremely useful too.

We’re also planning on adding support for FLRig in the next version of piSync so that you’ll be able to use a WebSDR with any transceiver that is supported by FLRig.

Of course it goes without saying, all of our software is Opensource. When you download and install piHPSDR-Improved or any of the new modules you will get the full source code every time and be free to do whatever you like with it. Every module will also have it’s own GUI installer, no more command line, just double click and go.

Both piHPSDR-Improved and piSync have been tested on RaspberryPi 5/500+, Linuxmint Cinnamon, Kubuntu, Debian 12 (Bookworm) and Debian 13 (Trixie) so, we’re pretty confident it’ll work on most Debian/Ubuntu based Linux distro’s on Intel/AMD PCs and the current versions of the RaspberryPi SBCs.

piHPSDR-Improved, piSync and a WebSDR running on a pi 500+
piHPSDR-Improved, piSync and a WebSDR running on a pi 500+

Inside the zip file you’ll find a file called README.1st, do make sure you read this before installing any of the software as it contains some important information that’ll make installation as easy as possible.

To download both piHPSDR-Improved and piSync in an easy to use zip file, just click the Download button below.


Note: A newer version of piHPSDR-Improved is available here and a newer version of piSync is available here.

We’ve got lots of ideas for new features, modules and bug fixes (Yes there are still some bugs in there!) which we will be releasing over time. Don’t expect this to happen overnight as Steve still works full time and Alan and I are both enjoying our retirement.

This is just another facet of our hobby and we don’t like to rush things. We do like to use our radios on air, pretty much daily and so we do this software development in between all the other fun things that Amateur Radio has to offer.

To be clear and open we do use Claude Code to help with development. I go through as much of the code as I can without spending days and days just reading code. I am retired after all and have spent enough of my life professionally writing and debugging both my own code and other people’s code. We do a lot of testing on a good number of Linux distros before we even consider releasing the software to the wider world and use it on air as part of the testing process, so we’ve done as much as we can to ensure we’ve not introduced new bugs to the software. Keep in mind we do this as part of our Amateur Radio hobby and so, it needs to be fun and enjoyable.

We hope you enjoy using the software and find it useful. If you’ve got ideas for new things you’d like to see in future versions then please feel free to contact any of us via our contact details on QRZ.

UPDATE: We’ve fixed a little bug in piSync and released an updated version. You can download it from this article.

More soon …

Coding a new version of adi2html in Python3

I’ve spent some considerable time of late coding a new version of adi2html that I use to convert my ADIF log files into online web pages for all my HAM Radio logs.

The old version that I wrote quite some time ago was written using BASH shell which was quick and easy at the time but, as the logs grew in size it got slower and slower to process the ever increasing number of log entries.

Now I’m retired I have the time to revisit these things and write better, more modern versions of my various programs that run silently in the background.

Writing the new version of adi2html in Python3
Writing the new version of adi2html in Python3

It’s taken a little over a week to put this code together, test and debug it, I don’t like to rush these things!

I’ve finally put v1.2 into production today.

The 585 lines of code produce a very nice, modern looking web page and can be used to convert any ADIF file into HTML. The code is extremely quick, taking less than a second to process almost 2500 log entries, a huge improvement over the old version of adi2html.

New look M0AWS Log web page
New look M0AWS Log web page

All of my logs are available here on my blog under the Logs menu above, feel free to have a look at them.

I now need to rewrite the log search functionality so that it uses the same format of presentation for the results.

More soon …

Automated RaspberryPi/SHARI Node Build

NOTE: The info in this article is out of date and does not work with the latest version of AllStarLink. The Debian O/S it is based on is no longer in support.

After writing my article on how to build an AllStarLink node using a RaspberryPi 3b and SHARI radio device I was asked by a few people if I could possibly automate the process to make it easier for those who aren’t Linux command line junkies like me.

Over the last couple of days in-between doing other things I’ve been writing and testing a BASH shell script that will completely configure a fully working AllStarLink node.

M0AWS - Coding the BASH script for the automated AllStarLink installation
M0AWS – Coding the BASH script for the automated AllStarLink installation

To use the script you must already have your RaspberryPi (preferably a Pi 3b) connected to your LAN with full internet access using the Raspbian based version of the AllStarLink software downloadable from here.

The specific version I use is:

asl-2.0.0-beta.6-kc1kcc-20210324-rpi-armhf

I have tested the BASH script using this specific version of O/S only.

Once your RaspberryPi 3b is up and running, has full internet access and is accessible on your local LAN, using SSH login in as the user ‘repeater‘ using the password ‘allstarlink‘.

It’s important you only use this login to configure the node as this is the user the script is expecting to be run by. You must login via SSH as the SHARI device needs to be connected to the RaspberryPi 3b and you won’t be able to connect a keyboard and mouse at the same time. (If you are using two USB cables for the SHARI device then you can use a keyboard and mouse along with a monitor attached to your RaspberryPi instead of using SSH).

Once logged in as user repeater run the following wget command to download the zipped install script:

wget https://m0aws.co.uk/AllStarLink/AllStarLinkBuild.zip

Once downloaded you need to unzip the program from the zip file and make it executable using the following commands:

unzip ./AllStarLinkBuild.zip
chmod 755 ./install.sh

You are now ready to build your AllStarLink node. Before you run the script make sure you have your node number and node secret to hand. These are obtained from the AllStarLink portal.

Once you’ve got all your node information you can run the script using the following command:

./install.sh

The script will now take you through the full process of updating the operating system as necessary, installing all the required packages and software. It will then reboot the RaspberryPi and you will need to login and run the script a second time using the command above.

On the second run the script will install some python specific software, ask you to enter your callsign, node number and node secret and will then configure your node. The last thing it does is configure the Allmon2 and Supermon Web Admin websites. During this process it will ask you to enter a password twice for the Admin user for the two websites, make sure you make a note of this password as you will need it to login and control your node.

Once the node is configured it will be rebooted and you will then be able to connect to your node using your favourite web browser and the user admin and the password you set above.

To access the Allmon2 web-admin system use the following URL:

http://your-RaspberryPi-IP-Address/allmon2
M0AWS - Allmon2 WebAdmin interface
M0AWS – Allmon2 WebAdmin interface

For those of you who prefer Supermon you an use the following URL:

http://your-RaspberryPi-IP-Address/supermon
M0AWS - Supermon Web Admin view
M0AWS – Supermon Web Admin view

I have also pre-populated the Favorites button with a list of nodes that I use often. You can easily change these entries by editing the favorites.ini file in the /var/www/html/supermon directory as user root.

M0AWS - Supermon pre-populated Favourites drop down list
M0AWS – Supermon pre-populated Favourites drop down list

When you first login to your node via your web browser you’ll notice that it says your node isn’t in the database. You can update the database by using the following URL in your web browser:

http://your-RaspberryPi-IP-Address/allmon2/astdb.php

This will force an update of the database and your node information should now be displayed correctly.

Hopefully this will make it much easier for the non Linux people to build an AllStarLink node using a RaspberryPi 3b and a SHARI radio device.

More soon …

Meshtastic BBS

Meshtastic devices have really taken off in the UK over the last few months and there is now an established Mesh across a large portion of the UK mainland.

Looking to expand the device capability I stumbled across a really interesting little project that is still in the early stages of development but, is functional and worth trying out.

The TC²-BBS Meshtastic Version is a simple BBS system that runs on a RaspberryPi, Linux PC or virtual machine (VM) and can connect to a Meshtastic device via either serial, USB or TCP/IP. Having my M0AWS-1 Meshtastic node at home connected to Wifi I decided to use a TCP/IP connection to the device from a Linux VM running the Python based TC²-BBS Meshtastic BBS.

Following the instructions on how to deploy the BBS is pretty straight forward and it was up and running in no time at all. With a little editing of the code I soon had the Python based BBS software M0AWS branded and connected to my Meshtastic node-1.

M0AWS Meshtastic BBS Main Menu accessible on M0AWS-1 node.
M0AWS Meshtastic BBS Main Menu accessible on M0AWS-1 node.

The BBS system is very reminiscent of the old packet BBS systems of a bygone era but, it is ideal for the Meshtastic world as the simple menus and user interface are easily transmitted in seconds via the Mesh using minimal bandwidth.

The BBS is accessible by opening a Direct Message session with the M0AWS-1 node. Sending the letter H to the node will get you the initial help screen showing the menu above and then from there onwards it’s just a matter of selecting the menu item and following the BBS prompts to use the BBS.

The BBS also works across MQTT. I tested it with Dave, G4PPN and it worked perfectly via the Meshtastic MQTT server.

This simple but, effective BBS for the Meshtastic network will add a new message store/forward capability to the Mesh and could prove to be very important to the development of the Meshtastic mesh in the UK and the rest of the world.

More soon …

Venturing into the world of AllStarLink

Please note: This build is now deprecated and will no longer work. Please use the new AllStarLink 3 build process as documented on the AllStarLink website.

We’ve recently added a new room to the Matrix HAM Radio Space for Digital Voice modes as this was an area of interest that didn’t really fit into any of the other rooms.

The new Digital Voice room has attracted a lot of attention from members, with a lot of the focus being on the AllStarLink system. Michael, DK1MI built an AllStarLink node in the cloud for us all to use for Matrix Nets and so I decided I had to get in on the fun.

The Jumbospot SHARI SA818 Amateur Radio AllStarLink Radio Interface was originally designed by N8AR and implements a RaspberryPi 2/3/4 hosted AllStarLink node using a NiceRF SA818 embedded VHF/UHF radio module and sound card.

The two USB connectors on the SHARI device are position such that they plug into two of the available 4 USB ports on the RaspberryPi without the need for cables. This keeps the whole solution together in one neat package.

Before you start you will need to obtain a node number and secret (password) from the AllStarLink Portal. To get this you will need to provide proof to the AllStarLink administrators that you are a licensed Amateur Radio (HAM) operator. This is done by uploading a copy of the first page of your HAM licence to the website for the admin team to check. This can take 24hrs to be completed so make sure you get this all done before trying to build your node. You cannot build a node successfully without a node number and secret.

Of course you will also need a transceiver that can operate on the 438.800Mhz frequency or other frequency of your choice on the 2m or 70cm HAM band.

You will also need to open port 4569 on your internet router and setup port forwarding to the IP Address that you will be using on your RaspberryPi node. It’s important to use a static IP Address on your RaspberryPi.

There are quite a few different Linux based operating system (O/S) images that are available for the RaspberryPi devices that have been specifically tailored for the AllStarLink node and include all the necessary software and library packages out the box.

I decided to use the Raspbian GNU/Linux 10 (buster) based distribution as it is based on the very stable and reliable Debian Linux distro. You can download the exact version I am using from the Raspbian link above or directly from my website here.

Once downloaded you need to burn the ISO image onto a suitable SD card for your RaspberryPi. I use BalenaEtcher as it’s extremely quick and reliable at burning ISO images to SD cards.

Of course if you are a hardline Linux command line junkie you can always use dd to create the SD card.

Once you’ve got your O/S onto your SD card, slot it into your RaspberryPi making sure your SHARI device is connected to the two USB ports and then power it up. Make sure you have a good PSU for the RaspberryPi as the two devices together draw around 3A of current during the transmit cycle. (I use a 3.6A PSU from Amazon).

The default login for the Raspbian O/S is shown below. Login via SSH and configure your RaspberryPi for your local network. It’s important to use a static IP Address configured either directly on the RaspberryPi or via DHCP in your router.

Login: repeater
Passsword: allstarlink
SSH port: 22

Once you have your RaspberryPi connected to your LAN you are ready to start configuring it for AllStarLink.

The first thing you need to do is login to the raspi via SSH and then become root user using sudo as shown below:

sudo su -

Once you are root user, you need to add the AllStarLink repo to the sources file and update the operating system using the following command:

curl -s http://apt.allstarlink.org/repos/repo_signing.key | apt-key add
apt update --allow-releaseinfo-change
apt dist-upgrade

Copy and paste each line one at a time into your terminal. Once the last command finishes, the system is up to date and can be rebooted as follows:

reboot

Once the raspi has rebooted, login again via SSH as user repeater and then become root user again.

You now need to install a couple of Python components that are required by the system to function. Use the commands below as user root:

apt-get install python3-dev python3-pip
pip3 install pyserial

Next you need to change directory into the asterisk config file directory using the command shown below:

cd /etc/asterisk

In this directory you will find all the default config files that come as part of the distro. For this build we’re not going to use them and so we need to move them out of the way ready for a set of config files that have already been configured correctly.

Using the following commands create a new directory, move into that new directory and then move all the unwanted configuration files into it:

mkdir ORIGINAL-CONF-FILES
cd ./ORIGINAL-CONF-FILES
mv ../*.conf ./
ls -la
cd ../

You should now be back in the /etc/asterisk directory which will now be empty apart from the custom directory which we left in place.

You now need to copy the correctly configured configuration files into the /etc/asterisk directory. Start by downloading the zip file containing the new configuration files

Download removed as deprecated.

Once downloaded, copy the .zip file into the repeater users home directory (/home/repeater) using either scp on the Linux command line or if using Windows you can use the FileZilla Client in SFTP mode using the login details above.

Once you have the .zip file in the repeater user’s home directory you need to copy the file into the /etc/asterisk directory as user root:

cp /home/repeater/AllStarLink-Config-v3.zip /etc/asterisk/

Next as user root, change directory into the /etc/asterisk directory and unzip the .zip file:

cd /etc/asterisk
unzip ./AllStarLink-Config-v3.zip

Once the file is unzipped you will have a directory called AllStarLink-Config in the /etc/asterisk directory. You now need to cd into the directory, copy all the files out of it into the /etc/asterisk directory leaving a copy in the AllStarLink-Config directory for future reference:

cd /etc/asterisk/AllStarLink-Config
cp ./* /etc/asterisk
cd /etc/asterisk

You now need to move a couple of files into the repeater users home directory using the following commands:

mv ./SA818-running.py /home/repeater
mv ./gpio /home/repeater

Once the files have been moved you need to set the correct ownership and privileges on the files using the following commands:

chown -R root:root /etc/asterisk/*.conf
chown repeater:repeater /home/repeater/gpio
chown repeater:repeater /home/repeater/SA818-running.py
chmod 755 /home/repeater/gpio
chmod 755 /home/repeater/SA818-running.py

The gpio BASH script and configuration details were supplied by Mark, G1INU in the Digital Voice room on the Matrix. It adds the COS light functionality to the setup. The COS light will now light every time the SA818 hears RF on the input.

The next thing you need to do is configure the SA818 radio device in the SHARI. The script I used was originally from https://wiki.fm-funknetz.de/doku.php?id=fm-funknetz:technik:shari-sa818 all I’ve done is change the entries to switch off CTCSS and change the frequency to 438.800Mhz. Configuring the SA818 is done by running the SA818-running.py Python programme that you moved into the repeater user home directory. Making sure you are still user root, run the following commands:

cd /home/repeater
./SA818-running.py

At this point your SHARI SA818 device will be configured to operate on 438.800Mhz and CTCSS will be disabled.

If you want to change the frequency or enable and set a CTCSS tone to access the node you will need to edit the Python programme using your favourite text editor and change the entries accordingly. Once changed rerun the program as shown above and your SHARI will be reconfigured to your new settings.

Next you need to move the allmon.ini.php file into the correct directory so that it enables access to the Allstar Monitor web page on the device so that you can manage connecting/disconnecting nodes. Use the following commands as user root to achieve this:

cd /etc/asterisk
mv ./allmon.ini.php /var/www/html/allmon2/
chown root:root /var/www/html/allmon2/allmon.ini.php
chmod 644 /var/www/html/allmon2/allmon.ini.php

The allmon.ini.php file needs to have your node name entered into it to work correctly. As user root, change directory and edit the file using your favourite editor.

cd /var/www/html/allmon2

Using your text editor, search for the line starting [XXXXX] and change the XXXXX to your node number. Save the change and exit the file.

At this point you are almost complete, all that is left to do is add your node number and node secret into the appropriate configuration files in the /etc/asterisk directory.

Since I am a Linux command line junkie I use vi to edit all the configuration files on the command line as user root, but you can use any editor of your choice.

cd /etc/asterisk

Start with the extensions.conf file. Search for the line starting with NODE = and delete the XXXXX entry and insert your node number. Save the file and exit it.

Next you need to edit the iax.conf file. This time search for the line starting with
register= and change the XXXXX for your node number and the YYYYYYYYYYYY for your node secret. Be careful not to accidentally delete any other characters in the lines otherwise it will corrupt the configuration file.

In the same file search for the two lines that start with secret = and change the YYYYYYYYYYYY for your node secret. Once you have changed both of the secret entries, save and exit the file.

The final file to edit is the rpt.conf file. Once again open the file using your favourite editor and search for the line starting with XXXXX = radio@127.0.0.1:4569/XXXXX, change the XXXXX entries for your node number making sure not to delete any other characters next to the XXXXX entries.

Further down in the same file there is a line that starts with [XXXXX], once again change the XXXXX for your node number making sure to keep the square brackets at each end of the node number as you edit it.

Finally move down to the very bottom of the file and find the two lines that start with /home/repeater/gpio, once again change the XXXXX entries for your node number.

The final thing to change in the rpt.conf file is to replace my callsign with your own callsign so that the node identifies itself correctly. Scroll through the file until you find the two lines shown below, delete M0AWS and add your own callsign instead making sure you keep all the spaces between words as shown below.

idrecording = |i DE M0AWS
idtalkover = |i DE M0AWS

Once this is done, save and exit the file. At this point your node should be fully configured and will only require a reboot to get it working.

As user root, reboot your raspi using the reboot command.

reboot

Once your raspi comes back online, login using SSH as user repeater and then become root user using the sudo command detailed above.

You now need to create the admin user password for the Allstar Monitor web page on the device. This is done using the following commands as user root:

cd /var/www/html/allmon2
htpasswd -c .htpasswd admin

You will be asked to enter a password twice for the admin user. Make sure you make a note of this user/password as you will need it to login to the web page.

Finally check that the controlpanel.ini.php file is in the /var/www/html/allmon2 directory:

ls -la /var/www/html/allmon2/controlpanel.ini.php

If the file isn’t shown in the directory, enter the following commands to create the file in the correct place as user root and then exit the SSH session:

cd /var/www/html/allmon2
cp ./controlpanel.ini.txt ./controlpanel.ini.php
cd
exit

Once this is done your configuration is complete, logout from the terminal session by entering exit once more and your SSH session will terminate.

Using your favourite web browser enter the IP Address of your raspi into the URL bar as shown below:

http://<Your-Raspi-IP>/allmon2

Note: remove the <> from the URL once you have entered the required information.

Once this is done you should be presented with your node control panel as shown below.

First visit to the AllStar Monitor Web Page
First visit to the AllStar Monitor Web Page

Login using Admin and the password you set above and you are now ready to start using your node.

It’s a good idea to connect to node 55553 which is a parrot test node to check your audio levels. You can do this by entering the node into the field at the top left and pressing the connect button.

M0AWS AllStarLink Node 61928 connected to 55553 Parrot
M0AWS AllStarLink Node 61928 connected to 55553 Parrot

Once connected, tune your radio to 438.800Mhz FM and transmit a test message using your callsign and test123, or something similar. The parrot will then play your recording back to you so that you can hear how you sound. It will also comment on your audio level as to whether it is OK or not.

You are now connected to AllStarLink network and have the world at your finger tips. Below is a small list of nodes in the UK, Australia and America to get you started chatting with other HAMs via your node.

57881	Matrix HAM Radio Space AllStarLink Node (Hosted by Dk1MI)
55553	ASL Parrot for testing
41522	M0HOY HUBNet Manchester, UK
60349	VK6CIA 439.275 Perth, Western Australia
51077	VK6SEG South West Hub B Albany WA
2167	M0JKT FreeSTAR UK HUB 2 freestar.network
53573	NWAG NW AllStar Group Lancashire, UK
27339	East Coast Hub Wilmington NC USA
M0AWS AllStarLink Node 61928 sitting on the equipment rack
M0AWS AllStarLink Node 61928 sitting on the equipment rack

Thanks to Michael, DK1MI for building and hosting the Matrix HAM Radio Space AllStarLink Node (57881) and getting us all started in the world of AllStarLink!

We hope to be having regular Matrix Net’s on the node soon for all Matrix members and visitors. We’ll organise days/times via the Digital Voice room.

More soon …