Follow George M1GEO: http://www.george-smart.co.uk/wiki/Compiling_WSPR Linux and
Another useful site is VK2TPM: http://blog.marxy.org/2014/11/wspr-on-ubuntu-1410.html Linux
I used older instructions as here:
http://www.george-smart.co.uk/w/index.php?title=Compiling_WSPR&oldid=5027 I am using Linux Mint-17 and have no direct experience of running WSPR under Windows.
WSPR-4 is a bit flaky, particularly in uploading to the database and maps, in both Linux and Windows. There is a newer version, WSPR-X, and this appears to be even more flaky according to various forums.
Uploading Spots to WSPR database:
Spots are held in file ALL_WSPR.TXT. This file is a complete log of all WSPR activity rx and tx.
It can be cleared from the gui. The location of the file is not too obvious:
They are uploaded to the WSPR database. Confusingly there are references to the “old database interface” although this is the working interface.
1. In real time: check “Upload spots” box in WSPR gui; starts from the time when the box is checked. Sometimes data is not shown in interface, but it is always registered.
2. To upload all new spots manually. Open site http://wsprnet.org; click on “Database” in top right-hand corner; scroll to bottom of Database; click on Link to old database interface. Enter callsign and Maidenhead locator. In the box labelled “Location of ALL_MEPT.TXT” enter the location of ALL_WSPR.TXT. Then click on “Upload spots”.
3. To upload all new spots automatically.
1. Obtain a copy of curl. In linux : sudo apt-get install curl . This is a general program for transferring data to/from a server, with a huge number of options.
2. The key command is, all on one line:
curl -F allmept=@Desktop/ALL_WSPR.TXT -F call=g3udi -F grid=JO02de
Desktop/ALL_WSPR.TXT is the location of ALL_WSPR.TXT, callsign and Maidenhead locator are obvious, allmept is the receiving file at the wsprnet target. The rest of the mumbo-jumbo are curl options.
3. Under Windows the procedure is similar.
4. See attached for my Linux script and the Windows option of N8FQ, taken from the WSPR site. Also screenshot of operation using HiQSDR + Quisk software.
Bob g3udi 18/3/2016
#Program to run WSPR
printf "\n\n Setup Program for WSPR and SPOTs transfer \n\n"
printf "\n \n Enter: \n\n w to start wspr \n u to upload ALL_WSPR.TXT \n p to ping WSPR database\n q to quit \n\n"
printf "\n User is "
# echo $com
if [ "$com" = "w" ]
printf "Running WSPR \n\n"
elif [ "$com" = "u" ]
printf "\nUploading ALL_WSPR.TXT\n\n"
curl -F allmept=@ALL_WSPR.TXT -F call=g3udi -F grid=JO02de wsprnet.org/meptspots.php
elif [ "$com" = "p" ]
printf "\n Pinging WSPR site \n\n"
ping -c 3q wsprnet.org
elif [ "$com" = "q" ]
printf "\n Leaving setup routine \n \n"
To upload a file for processing, you need a way to submit it
as an HTTP POST. The file must be an element called "allmept",
and your callsign and grid must be specified with the "call" and
One way to do it is with cURL. Download the cURL Win32 binary from:
Unzip to your WSPR directory, then create a batch file with the
"C:\Program Files\WSPR\curl.exe" -F allmept=@"C:\Program Files\WSPR\ALL_MEPT.TXT" -F call=URCALL -F grid=AA00aa http://wsprnet.org/meptspots.php
ping -n 200 127.0.0.1 >nul
The ping command is used as a delay of approximately 4 minutes.
If you have cygwin, just install cURL if you haven't already, then
enter this at a BASH prompt:
curl -F allmept=@/cygdrive/c/Program\ Files/WSPR/ALL_MEPT.TXT -F call=URCALL -F grid=AA00aa http://wsprnet.org/meptspots.php > /dev/null;
Both of these methods assume you have installed WSPR in the 0.4
default location of C:\Program Files\WSPR. Change the location
of ALL_MEPT.TXT as appropriate.