Running my own DX Cluster again

A few years ago I set up a DXCluster using AR-Cluster on my old Mac Mini with Windows XP installed.  It ran for a long time, I had good connections into the network and although it was listed on the DX Cluster info page, nobody ever connected to me.  This was fine, the cluster was really for my own personal use.

I decided that I didn’t want to run a full blown PC 24/7 just for a DXCluster and so I bought a Raspberry Pi and spent some time trying to get DXSpider working on it with little success.  I was very new to the Pi and didn’t really understand what I was doing, why it didn’t work and how to diagnose the problems I was having.

I gave up and found other things for my Raspberry Pi to do.  Since then, I’ve become quite fond of the Pi and now have multiple Pis around the house doing useful stuff.  I’ve learned a lot more about Linux and am now fairly competent when it comes to getting things working.

Last week I decided to have another go and building a DXSpider on a Raspberry Pi3 I had spare.  It didn’t take long to get it all working using the guide here and relatively quickly, I’d set up some partner connections and got the cluster running fully.

I’m not fishing for users but if anyone wants to connect to my DXCluster, please feel free – Simply telnet to g6nhu.changeip.net:7300.

Posted in Amateur radio, Raspberry Pi | Tagged , | Leave a comment

An unexpected QRP entry into the DMC RTTY 2018 contest

I keep a regular eye on the contest calendars as although I don’t have a lot of time for serious entries, it’s nice to be able to give away a few points.  For example – I worked around one hundred stations in the IARU HF World Championship last weekend without too much effort.

This weekend was the DMC RTTY contest and I fired the wireless up yesterday afternoon for half an hour or so and only noticed after I’d finished that it was still set to just 10W output following a WSPR session where I was specifically trying be spotted in Canada on 10m.

This morning, I worked a few more stations in the same contest and left the radio on low power deliberately so I could make an entry in the QRP section.  It’s quite fun to operate just the last hour of a contest because (in theory), you should get a lot of stations wanting to work you and it’s possible to get a decent rate going.

In the last 55 minutes of the contest, I worked 42 stations which for a QRP setup isn’t bad.  It’s not going to be anywhere near a decent score but I’ve submitted my entry anyway.

Map of stations worked in the DMC RTTY contest 2018

Map of stations worked in the DMC RTTY contest 2018

Posted in Amateur radio, Contesting, Data, HF, RTTY | Tagged , | Leave a comment

Statistics for the second quarter of 2018

Although this blog hasn’t been very active over the last few months, I’m still operating the radio regularly.  The warmer weather has appeared in the UK and I’m spending a lot of time outside walking, riding my bike, eating ice-cream and topping up my sun tan.

During the second quarter of 2018, I’ve made just under 900 QSOs and worked 99 DXCC entities using three callsigns, G6NHU, GR6NHU for the Royal Wedding and M7P.  I’ve worked one All Time New One, 3B7A (Agalega and St Brandon) on 17m CW and you can hear that QSO on my Audio snippets page.  I’ve been sending out some direct QSL cards and I’m happy to say that I’ve now worked and confirmed 275 entities.  Every new one is a struggle these days, especially with conditions the way they are so any new one is a fairly major achievement.

A lot of my QSOs have been data again and I’m still sitting around 89% data, 10% phone and 1% CW.  I’ve left the inverted L in place and have been continuing to work the lower bands with a bit more effort to try and pick up countries on 80m, 40m and 30m.  I’m still a long way from 80m and 30m DXCC but only a handful of countries away on 40m.

Map of stations worked during April, May and June 2018 (click for large version)

Map of stations worked during April, May and June 2018 (click for large version)

Because I’ve been aiming to work more of the lower bands, the percentage of European QSOs is even higher this quarter than earlier in the year.  I’m not concentrating quite so much on 17m now so that band has fewer QSOs than before.  Not listed in the band breakdown are the 36 contacts on 6m or the 13 I’ve had on 60m.

 

Posted in Amateur radio, Data, HF, New DXCC | Leave a comment

Changes to QSO365

I’ve recently made some updates to this site to make things better for my readers.

Firstly, there’s a new “Subscribe” button up in the top right hand corner so you can receive email updates whenever I make a new post.  Simply enter your email address and hit the “Subscribe” button.  You can also subscribe to comments as well so if you make a comment on any entry, you will automatically receive replies. This is a nice feature which I’ve found very useful on other sites.

Next, I’ve changed the method used to share posts – At the bottom of each post there are new buttons to share the item to Twitter, Facebook, Google+ (does anyone still use this?), WhatsApp, email and a few others. Each post also now has a “Like” button.  If you enjoy what you read, please share it.

Finally, there’s now a Mobile theme for this site which should make things easier to read on Smartphones. If you prefer the full site then there’s a link at the bottom of each page to switch to the Desktop version.

These are the main changes that you’ll notice but there have been other tweaks behind the scenes which should make for smoother reading.

Posted in Not amateur radio | Tagged | Leave a comment

The return of GR6NHU

Last weekend saw the Royal Wedding of Prince Harry and Meghan Markle which wasn’t an event I was particularly interested in but all UK radio amateurs were given the opportunity to use a special prefix to celebrate.  The last time we were allowed to use a GR prefix was back in 2011.

I applied for the NoV to use GR6NHU and managed to make a decent number of QSOs over the three days we were allowed to use the prefix.

I made 217 QSOs to 47 DXCC entities using SSB and various data modes and had a thoroughly enjoyable weekend.  The special callsign seemed popular and it was unusual for me to call CQ and not receive a reply which is in contrast to 2011 where I noted that I struggled to get replies to CQs.  Back then I was working with a small and inefficient ‘long’ wire aerial compared to my Hexbeam now.

Map of stations worked using GR6NHU to celebrate the Royal Wedding in 2018

Map of stations worked using GR6NHU to celebrate the Royal Wedding in 2018

Breakdown of continents worked using GR6NHU

Breakdown of continents worked using GR6NHU

Breakdown of countries worked using GR6NHU

Breakdown of countries worked using GR6NHU

Posted in Amateur radio, Data, HF, SSB | Leave a comment

Updated guide to setting up an APRS RX only iGate using a Raspberry Pi, RTL-SDR dongle and a pre-built image

** image has been updated as of 21/04/2018 to resolve the problems some people had booting their Pi **

This post is an updated version of the original article I wrote in February 2017.  It’s using Raspbian Stretch rather than Raspbian Jessie, has Direwolf 1.4 instead of Direwolf 1.3 and the method used to start the gateway has changed.  Direwolf is now running as a service and can be easily started, stopped, restarted, enabled or disabled through simple commands.  It has been tested on a Raspberry Pi Zero, a Pi Zero W, a Pi 2B, a Pi 3B and the latest Raspberry Pi 3B+.  You now only need to edit one file to get a working gateway unless you want to select a different frequency from 144.800MHz, then you’ll need make an additional edit.

The instructions are very similar to my previous post except the process of automatically starting Direwolf which has been simplified.  Even if you are familiar with the previous image, please ensure you read the entire article, especially if you need to change the frequency as the file structure has changed.

The entire process detailed here should take less than half an hour to complete.
You will only need to edit one or perhaps two files.

First, download my custom built Raspberry Pi image from here (the filename is aprs-igate-stretch.img) or preferably as a torrent from here.  This is a 2.2Gb file which will expand to approximately 8Gb when you decompress it.  Unzip it and write it to an SD card.  The image was created using an 8Gb SD card but I recommend you use a 16Gb card in your Raspberry Pi.  4Gb cards are practically impossible to find these days and 8Gb cards are going the same way.  I’ve found SanDisk Ultra 16Gb cards to be about the best when it comes to performance and price and they can be picked up for about £8.  This image is fully up to date as of 21st April 2018.


There are two methods of downloading the Raspberry Pi image. The first is direct from SourceForge (aprs-igate-stretch.img) and the second is as a torrent.  If you use the torrent method, please seed the file for as long as possible because the more people who seed, the quicker the download will be for others.
Thank you.

MD5 of aprs-igate-stretch.zip is f8469173f3e3d9c420dbaefaff7d9875
MD5 of aprs-igate-stretch.img is 22998d62e7dd1b3f270834f6bfd5f089

If you get a CRC error when trying to unzip the downloaded file, first check the MD5 to make sure it’s correct. Assuming it is, then you should use a third party tool such as WinRAR to extract the image from the .zip file.
I have successfully decompressed this file using Windows XP, Windows 7, Windows 8, Windows 8.1, Windows 10, MacOS and Ubuntu.

Connect your RTL-SDR dongle and a network cable to your Raspberry Pi and boot it.  I thoroughly recommend you use a dongle with TCXO as it won’t drift in frequency and you shouldn’t need to do any frequency calibration.  I’m using an RTL-SDR R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio (Dongle Only) device which is the latest model, complete with TCXO.  Other dongles are available such as this NooElec version from Amazon which is a little cheaper and will arrive quicker or you can search eBay for similar dongles.

These instructions are written to do everything from a command line.  If you plug in a monitor, mouse and keyboard and boot to the Graphical User Interface (GUI), you will see an icon on the desktop called Dire Wolf. DO NOT click on this icon, it does not start Direwolf.  You’ll get an error message telling you it can’t open an audio device.

You will need to know what IP address your Raspberry Pi has on the network.  I do this by looking at my router and checking what devices have connected and then set up a DHCP reservation so each particular Raspberry Pi I own will always have the same address each time it reboots.

Open up a terminal/dos prompt or whatever client software you’re going to use to connect to the Raspberry Pi and log in.  In my case, the Raspberry Pi is on 192.168.1.144 so I use the command
ssh pi@192.168.1.144

You’ll be prompted for a password – It’s currently set to raspberry.
Use the following command to enter the Raspberry Pi config utility:

sudo raspi-config

It’s very important to expand the filesystem – You do this by selecting option 7 Advanced Options, then A1 Expand Filesystem, then select OK and you’ll be returned to the main screen.

Now select the first option Change User Password and press enter.  Press enter again and you will be prompted to Enter new UNIX password.  Type a new password, press enter and re-type your new password again.  You will get a message telling you your password has been changed successfully.

Use the arrow keys again to move down to 4 Localisation Options and press enter.  Use the arrow keys again to select Change Timezone and press enter.  First select your Geographical area and press enter and then select your Time zone and press enter.

Now you should set your Wi-Fi country – By default, this image is set to GB (Great Britain) so if you’re in a different country you should change this to ensure that the Pi uses the correct frequencies.  Select 4 Localisation Options and press enter.  Scroll down to I4 Change Wi-fi Country and press enter. Find your country, press enter and then press enter again to return to the main screen.

Finally, select 2 Network Options and press enter.  Press enter again on N1 Hostname and give your Raspberry Pi a suitable name.

You will now be returned to the main Raspberry Pi Software Configuration Tool main screen.  Use the tab key to select <Finish> and press enter.  You will be asked if you would like to reboot now.  Press enter to reboot and once your Pi has rebooted, log back in using the new password you set earlier.  Make a note of this password because if you forget it, you’ll need to start from scratch.

You will need an APRS passcode so use the APRS Passcode Generator at Magicbug to generate one.

All the software has been pre installed, all you need to do is edit one (or possibly two) files.

cd ~
sudo nano -c sdr.conf

Scroll down to line eight and change the xxx to your callsign and required SSID.  I use -10 as my SSID so this line reads MYCALL G6NHU-10.  Please use your own callsign, mine is just shown as an example.

In the section below, edit the line starting with IGSERVER to be the correct one for your region.  I’m in Europe so my line reads IGSERVER euro.aprs2.net

Scroll further down and you’ll find a line that starts with IGLOGIN.  Change the xxx to be the same as the callsign you entered above (including SSID) and then change the numbers 123456 to the passcode you obtained from the APRS Passcode Generator.

At the bottom of that file there is one long line that starts with PBEACON.  Replace xx.xxxxxx with your latitude, yyy.yyyyyy with your longitude and zz with your callsign (including SSID).

Save the file by pressing ctrl-x, then hit the Y key and then press enter.

You can now perfom a test using the following command
(144.800 is the APRS frequency in the UK, change as required).

rtl_fm -f 144.80M - | direwolf -c sdr.conf -r 24000 -D 1 -

If all is well, you should see something like this.

Initial test of the RPi and RTL-SDR Dongle APRS RX only iGate using Raspbian Stretch

Initial test of the RPi and RTL-SDR Dongle APRS RX only iGate using Raspbian Stretch

Press ctrl-c to exit the test.

If you’re using a Mac and connecting to your Raspberry Pi via the terminal you may notice the screen flashes badly.  You can fix this easily and quickly by going into the terminal Preferences/Profiles and make sure the box “Allow blinking text” is not ticked.


*** IF YOU GET AN ERROR WHEN RUNNING THE TEST ***
On some Raspberry Pis, you may get an error when you try and run the initial test.  There are two possible errors, the first is:
Signal caught, exiting!

User cancel, exiting…
Illegal instruction

The second error which has been spotted in testing is:
Dire Wolf version 1.4
No supported devices found
Illegal instruction

Either error can be resolved by redownloading and compiling Direwolf using these commands (copy and paste them one at a time exactly as written below:

cd ~
sudo cp sdr.conf sdr.old
sudo rm -r direwolf
git clone https://www.github.com/wb2osz/direwolf
cd ~/direwolf
make
sudo make install
make install-rpi
make install-conf
cd ~
sudo mv sdr.old sdr.conf

Now reboot your Raspberry Pi and run the test again.


You may find that rtl_fm doesn’t report that it’s tuned to exactly the correct frequency, this is nothing to worry about because the RTL-SDR works by mixing the incoming RF with a local oscillator and then IQ sampling the resulting base-band (difference) signal.  The local oscillator therefore needs to be offset a little so that the wanted signal doesn’t fall at the 0Hz point.  rtl_fm automatically selects an appropriate offset for the chosen sampling rate and displays the resulting “offset oscillator” frequency, not the actual “tuned” frequency.

If your local APRS frequency is NOT 144.800MHz then you will need to edit an additional file.
sudo nano /usr/local/bin/dw.sh

You’re looking for this line.


Change 144.80M to whatever your local APRS frequency is.
Save the file by pressing ctrl-x, then hit the Y key and then press enter.

Direwolf is already installed as a service so you must enable it by typing the following command
sudo systemctl enable direwolf

With the service enabled, you have more commands to use

This starts the service
sudo systemctl start direwolf

This command stops the service
sudo systemctl stop direwolf

If you want to disable the service so it doesn’t start automatically on reboot, use this command
sudo systemctl disable direwolf

This very useful command will show the status of the service and see the last few lines of output to demonstrate that it’s all running correctly.
sudo systemctl status direwolf

Sample of the output from running sudo systemctl status direwolf

Sample of the output from running sudo systemctl status direwolf

There is an even more useful command which you can run either via SSH in a terminal window or when you’re logged onto the Raspberry Pi via the GUI which will give you a constantly updating display of the stations heard.  This command is

sudo journalctl -o cat -af -u direwolf

Output from sudo journalctl -o cat -af -u direwolf

Output from sudo journalctl -o cat -af -u direwolf

(press ctrl-c to stop the display)

After enabling the service, reboot your Raspberry Pi and once it’s restarted, it will automatically connect to the APRS network and operate as a receive only iGate. There is an enforced two minute delay from the Pi starting to the gateway connecting, this is to allow all the system services to start up.  Nothing will be echoed to the display while it’s running like this so you can check your status on aprs.fi by searching for the callsign you entered (including SSID).  You don’t even need to log into the Raspberry Pi, the gateway will start automatically within about two and a half minutes from rebooting.

It’s been mentioned that you might like to calibrate the frequency of your RTL-SDR dongle.  I didn’t and I didn’t notice any performance issues but it’s likely that if you’re using an older or cheaper dongle then it might be a little off frequency.  If you’d like to do this, it’s very straightforward to do requiring that you edit just one file.  I’ve written some instructions which you can see by clicking here.

Please note – I am not claiming originality for this setup method, I’ve simply followed what’s already available out there on the internet and created an image based on those instructions for your convenience.  My two source documents were Raspberry Pi SDR IGate and Raspberry Pi Packet TNC.  I thoroughly recommend you familiarise yourself with both of them to see what’s been done here.  You can also read my previous blog article where I list each command I used to create this image.  It’s also worth downloading the full Dire Wolf user guide.  I learned how to add the service by reading a post from Josh, VK2HFF on the Direwolf Yahoo reflector.

I hope this image is useful and as always, I’d appreciate any feedback, comments or thoughts below.

Addendum

On the 25th April 2018 a massive thunderstorm passed overhead here and caused the Raspberry Pi Zero which runs my APRS iGate (MB7UIV) to crash.  It had ben running flawlessly without a reboot for nearly three hundred days.  I decided to rebuild it using the method above and the total time it took, including writing the SD card and reinstalling Direwolf using the instructions provided was around forty minutes.

Posted in Amateur radio, APRS, Data, FM, Raspberry Pi, VHF | Tagged , , , , , , | 58 Comments

Statistics for the first quarter of 2018

I’ve had a good first quarter of 2018, partly helped because I dropped the legs of my OCFD towards the end of last year, cable tied my smartuner to the bottom of the mast and put up an inverted L which gave me access to the lower bands.  It works better than my old doublet did but it’s still very much a compromise aerial.  The OCFD is still there and it won’t take me long to reinstate it.

In the first three months of 2018 I’ve made just over 1,000 QSOs and worked 113 DXCC entities using both G6NHU and M7P.  A fair few of these are contest QSOs using RTTY or PSK which have added a lot to my data count and FT8 has been a very useful tool for me during the winter doldrums.  Much has been written about whether FT8 is ‘real’ radio or not.  To me, it’s the next natural progression from JT65 and JT9 and I’ve decided that I do enjoy using it.  It’s not as much fun as the older and more traditional data modes but it’s still an enjoyable mode to operate.

Breakdown of QSOs made during the first quarter of 2018 using G6NHU and M7P

Breakdown of QSOs made during the first quarter of 2018 using G6NHU and M7P

Map of stations worked during January, February and March 2018

Map of stations worked during January, February and March 2018 (click for large version)

Despite there being a good number of QSOs here, this really does show to me how poor conditions are at the moment with the bulk of contacts being within Europe.  It’s also very obvious how I’ve been working towards DXCC on 17m using just FT8 due to the number of contacts on that band.

 

Posted in Amateur radio, Data, DXCC-17m-FT8, HF | Leave a comment