HOWTO: Airspy mini and Airspy R2: Piaware / dump1090-fa configuration

I downloaded the file to my Laptop then sent it to my RPI, same error.
I extracted the file(untared and unzip) on my laptop then sent to my RPI and it worked.
I must be missing some gzip or tar files on the RPI.

Thanks.

Jon

1 Like

hm… tar is available in all installations, wonder what’s going wrong on your device.
But anyways if you have a workaround…

But there’s already something wrong with your download. tried it with my link above and it works with the correct size:

sudo wget https://github.com/wiedehopf/airspy-conf/raw/master/2.1RC/airspy_adsb-linux-arm64.tgz
--2021-08-30 21:10:33--  https://github.com/wiedehopf/airspy-conf/raw/master/2.1RC/airspy_adsb-linux-arm64.tgz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/wiedehopf/airspy-conf/master/2.1RC/airspy_adsb-linux-arm64.tgz [following]
--2021-08-30 21:10:34--  https://raw.githubusercontent.com/wiedehopf/airspy-conf/master/2.1RC/airspy_adsb-linux-arm64.tgz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39735 (39K) [application/octet-stream]
Saving to: ‘airspy_adsb-linux-arm64.tgz’


airspy_adsb-linux-arm64.tgz      100%[==========================================================>]  38.80K  --.-KB/s    in 0.1s    

2021-08-30 21:10:34 (356 KB/s) - ‘airspy_adsb-linux-arm64.tgz’ saved [39735/39735]

Your download above was 126.53k, so this is already incorrect

Just tried it by myself. You have obvioiusly downloaded the HTML page. This is what i get if using the page:

sudo wget https://github.com/wiedehopf/airspy-conf/blob/master/2.1RC/airspy_adsb-linux-arm64.tgz
--2021-08-30 21:13:19--  https://github.com/wiedehopf/airspy-conf/blob/master/2.1RC/airspy_adsb-linux-arm64.tgz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘airspy_adsb-linux-arm64.tgz’

airspy_adsb-linux-arm64.tgz.1        [   <=>                                                     ] 126.53K   238KB/s    in 0.5s    

2021-08-30 21:13:20 (238 KB/s) - ‘airspy_adsb-linux-arm64.tgz’ saved [129563]

exactly your result and this is for sure not extractable because it’s HTML:

Again, that’s exactly what I did.

On this page, it looks like Jon has right clicked the link and used that in the wget command.

That’s wrong.

Need to click the link and then use the download button for the actual URL to grab.

So on a 32 bit Pi, the correct command is

wget -O airspy.tgz https://github.com/wiedehopf/airspy-conf/raw/master/2.1RC/airspy_adsb-linux-arm.tgz

NOT

wget -O airspy.tgz https://github.com/wiedehopf/airspy-conf/blob/master/2.1RC/airspy_adsb-linux-arm.tgz
1 Like

Wonder how many did that too :wink:

I did the same thing yesterday… downloading and trying to unzip the HTML instead of raw .tgz file…

1 Like

More than will admit it :smiley: :smiley:

2 Likes

I didn’t think increasing gain setting would be a good idea considering the 2.1 RC change was just an RSSI measurement/reporting change if I read correctly. That said, your graphs don’t show any bad side effects from your 9db increased gain.

That’s what i thought already by checking my signal charts. I think it’S simply not comparable with the 2.0 or previous charts. Let’see see what the two developer guys will say :slight_smile:

I am reverting back to my original 19 as 20 does not show any improvement in the other graphs

I did also the same. Copied the link from that page and did download it by wget :rofl:

But anyway good work from the team. Also have the same effect with GND aircraft at vrs like twenteradar.

Hand up, who else?

me: :raised_hand:t4:

this is so confusing. where would one go to find a “primer” regarding this. there always seem to be some critical steps missing for those of us with limited linux knowledge. i entered the correct command, only because foxhunter showed it to me, but had no idea where it came from. when i click on the link referenced and then use the download button i get a zipped file…what do i do with it? (again sorry for being slow)

Same advice: if your software can’t deal with a few mistaken messages, you need to reduce the -e value to 5 and not use -C.
That should cut down misdecodes.

That’s why i provide a script for the regular versions that aren’t just for testing.
You could google: how to extract tgz linux and you’d likely find an answer.

Anyhow i’ll leave a “more useful” answer to others.

There isn’t one. This is the process I used.

First I made a temporary directory to store the downloaded files.

cd
mkdir airspy

Now change into that directory and download the new file - This is the link for the current RC for 32 bit RPi

cd airspy
wget -O airspy.tgz https://github.com/wiedehopf/airspy-conf/raw/master/2.1RC/airspy_adsb-linux-arm.tgz

That will give you a file called airspy.tgz

Exctact the file from the archive

tar xzf airspy.tgz

Now stop the service and copy the file.

sudo systemctl stop airspy_adsb
sudo cp airspy_adsb /usr/local/bin/

Now is the time to edit the config file if you want to make any changes.

sudo nano /etc/default/airspy_adsb

Save the file and restart the service

sudo systemctl start airspy_adsb

Then you can check the status - This doesn’t auto update, you’ll need to repeat it every ten seconds or so.

journalctl -eu airspy_adsb --no-pager
1 Like

The issue itself has nothing to do with Linux. The download from Github is not always clear and easy.

If you download the HTML instead of the compressed file, the following error occurs.

The only trick in Linux is that it does not give you a warning about the HTML download. It simply does what you request.

As keithma stated the download button is the key to success:

1 Like

Yes, it’ll be interesting to hear.

Have you tried this? :slight_smile:

sudo journalctl -eu airspy_adsb -f
1 Like

I hadn’t. But now I have, thank you :+1:

(/edit - To those who don’t know, ctrl-c will get you out of this view)

2 Likes

Me too, but I tweaked and now the performance is a lot better. Of course, it doesn’t help that I had a six hour internet outage today! :expressionless:

1 Like

There is nothing wrong not being able to test every single test release. Especially when they are keeping rolling at a pretty high pace. I’m pretty sure you won’t have to wait long before a regular version is available (and 2.0 is already a great version).