Any ideas how to update to 3.7.1 on the N2 ?
I followed @abcd567 previous recs at: https://github.com/jprochazka/adsb-receiver/issues/471 and changed the version to 3.7.1. That did not seem to do much for the adsb-receiver. Apparently even the compiling was done on version 3.6.3. Do I have to download and compile separately outside of the adsb-receiver install script?
First check out 3.7.1: (the main branch isnāt on 3.7.1 yet.) git checkout v3.7.1
Then follow the build process outlined in the readme.
(Which is different for both projects)
You shouldnāt need dump978 unless you have a 2nd antenna and dongle
I actually do have a second antenna and dongle for 978. Currently they run on an a separate Pi. Would like to consolidate to 1. It is using the regular orange FA dongle. The Airspy is running for the 1090. So, I would need to ensure that the Airspy picks up the right antenna.
dump978 wonāt touch the airspy if ārtlsdrā is defined as a driver.
airspy_adsb wonāt touch rtl-sdr devices.
So no need for serial numbers.
But yeah youāll have to build dump978-fa as well.
(Unless you just install it which should be possible now that you have armhf enabled as an architecture on your arm64 device)
just as a regular armhf package? I suppose that works. Will try the compiling first. If that fails I can do the armhf version. Though the package install would simplify future updatesā¦ tempting. May have to change my mind
apt-get install piaware
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
piaware:armhf : Depends: tcllib:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.
These are apparently the repositories it is set to look for packages in:
Thank you. I just finished up doing that. Went fine. Although I did it the long way (the way I reall didnāt prefer to - using the adsbreceiver.net script) . Itās working, Airspy and all. But iāll likely re-image tomrorow and just install things more manually (not use the adsbreceiver.net script). I wasnāt aware of piaware_builder until I saw a reference to it when running the other script.
Thanks for your efforts. Everything went very smoothly after having followed your directions.
git clone https://github.com/flightaware/piaware_builder.git
cd piaware_builder
git checkout v3.7.1
#Note: checking out 'v3.7.1'.
#........
#HEAD is now at 908fdef... Release v3.7.1
CODENAME=(`lsb_release -sc`)
echo ${CODENAME}
# above command outputs distro's codename
#("bionic" in this case)
# if it outputs blank, then in next two lines
# replace ${CODENAME} by bionic
./sensible-build.sh ${CODENAME}
cd package-${CODENAME}
sudo dpkg-buildpackage -b
cd ../
sudo dpkg -i piaware_3.7.1_*.deb
Configure Piaware
(use actual feeder-id in place of xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx )
@mtindor
Just using CODENAME=stretch probably provides best results in most cases.
The builds for ubuntu versions arenāt really maintained and ubuntu should be 99% compatible with debian stretch.
I was building on Armbian. It detected stretch properly. Only thing different from what abcd4567 showed as that after build, the deb that i needed to install was piaware_3.7.1_arm64.deb rather than piaware_3.7.1_armhf.deb, since the created package was piaware_3.7.1_arm64.deb.
I havenāt yet switched it over to use the Airspy instead of a dongle yet; havenāt rebooted; am updating piaware-config on the Odroid to match values from my RPI3 (except for feeder ID). Iām going to test this install using the previous feeder ID that was created yesterday, and using no-amp and a 770 mhz yagi lol.
Should I be setting image_type (to piaware) and manage-config (to yes) ? The RPI3 Iām trying to mimick is running the piaware 3.7.1 SD image, where as I installed piaware as an addon on the Odroid. So Iām not sure if I should set these values to mimick what is on the RPI3 or not.
Thank you. Iāve already done the AIrspy install part (did it manually, via your great instructions, since I didnāt have piaware installed at that point). So I obviously didnāt finish up the manual configuration. Iāll either finish up the manual or run your automatic. Weāll see.
Can you explain to me why the receiver-type and receiver-port are different depending upon whether Iām using the SD image or the add-on via piaware-builder ?
My current RPI3 with the piaware SD-image is running an AIrspy and receiver-type - relay and receiver-port = 29999. But your instructions suggest that on my Odroid (not an SD-image) I should be setting them differently.
FYI - I have a weird way of doing things on the RPI3 which Iāll be duplicating. On the RPI3 I have the mlat-results being sent additionally to my VRS box at DigitalOcean. And then I have modesmixer listening on my RPI3, connecting to 30005 (beast-splitter) to get the ADSB, and then modesmixer is making outbound connections to (a) my remote VRS and (b) ADSBExchange.
So, as you can guess, the ports in use for various things is getting quite confusing. Adding to that confusion is that I set up three additional listening receivers in VRS for the ODROID traffic so that itās separate from the RPI3 traffic for now. (Thatās only temporary, as at some point Iāll be repurposing the RPI3 for 978 UAT.
PS: Actually I think Iām pretty confused. Your manual instructions for the Airspy say to do things one way for an SD-image, and another way if one installed piware/dump1090-fa via apt-get. Since I used piaware-builder, is the configuration the same as if I had installed via apt-get ? Or do I use the instructions for sd-image ? Iām unclear as to whether piaware-builder and āvia apt-getā are the same thing as far as your instructions go.
The piaware builder builds the debian piaware package (which you can normally get via apt-get).
The sd-card is created in a completely different process. (using the debian package but still)
So you are an package install (dpkg -i install packages after all )
With the package setup port 30005 will be served by dump1090-fa, beast-splitter is not used.
dump1090-fa gets its beast data pushed into port 30004 by airspy_adsb.
Thatās at least how the script does it. Not quite sure about the manual instructions.
Been some time since i dug through that, no one is complaining so far but most use the script.