ADS-B Receiver Project Setup Scripts

The link to download Piaware 3.0.4 image (SD Card) from Flightaware site is given on page:
http://flightaware.com/adsb/piaware/build.

For your convenience, I am copying below the download link from above page:
http://piaware.flightcdn.com/piaware-sd-card-3.0.4.img.zip

.

@abcd

Thanks for the link. When I get back home Sunday afternoon , I shall try it again. My new antenna is in the country and hopefully delivered Monday, so some better figures expected. So to reiterate, down load that image file, from your link above, onto a naked micro sd and then carry out the downloads, file additions and corrections etc, from your page 51 post and hopefully this time at the other end, a working 3.04 ver with the good bits like the portal etc :slight_smile:

n
no it will not fit with the pi b usb ports I have just a usb cabke fir wifi and I had to struggle to get it in above the smart, not the most best option also for heat dissapation, but it works, for now

next to each other will probably work, but didn’t test that

Joe, how goes your endeavours?? I hope it is not too many problems for you. :slight_smile:

Sorry, but that sounds a little bit strange to me…Nobody forced him to do this project… Let’s try it again with ā€œHey Jo! How are you? A lot of people appreciate your work and want to ask if there will be a new release in the futureā€ā€¦ Sounds nicer than ā€œHave you fixed the problemā€ā€¦ Probably just for me :slight_smile:

Well he must be working on something because now ā€œFeeder Type: PiAware (Debian Package Add-on) 2.1-5ā€ has appeared. The only problem is when you are refreshing your working ver 1.15, it doesn’t work any more.

Sorry if that looks abrupt, but last Thursday he found a problem and was fixing it. Just a brief note would be suffice to let people know how it is going, now my working 1.15 ver has refreshed to ver a 2 15 which can’t be finished because it doesn’t work. If there are other problems that affects what he is doing, let people know so they are not wasting their time trying to get something to work that isn’t finished.

Calm down… All that business is just for fun… for everyone. Let him work on it… because it’s just a hobby for him too… and it should be for longer time. Anyway, have fun while watching planes, searching for tupperware in the woods is much stranger (Geocaching) :slight_smile: As I am not a native english speaker, I apologize if I didn’t understood your posting right… Just kidding. :slight_smile: Anyway, a little bit of thanks or something like that sounds much more nicer…

how do you access that file??

[quote=ā€œjprochazkaā€]

[quote=ā€œcmuncyā€]
So after using abcd567’s instructions to get Joe’s most awesome script installed, I have run in to a problem.
Both the Portal Home[/quote]

link and the Live Dump1090 Map point to /dump1090.php instead of /dum1090-fa/ and I have no idea where to get that fix.

Anyone have any clues?

I will take a look at the links but the dump1090 link should still point to the dump1090-mutability map.
I am not familiar with the maps which are displayed by the PiAware image in particular dum1090-fa and if they are that different from those in dump1090-mutability. I know the clocks were removed in the fa version of dump1090 not sure if anything else has changed between the two versions due to the fact I never setup the PiAware 3 image yet…

I think I am nearly there. I have all the graphs loaded but not showing as live map not going where it should. Noob, how do I get into look at the above files, to edit them as suggested?

ABCD or someone please tell this NOBO how to access the files CMUNCE said that need to be edited to add ā€œ-faā€?? I have I think nearly got this to work, 3.04 with the graphs etc, just stuck on these last file edits…



cd ~
sudo nano /var/www/html/templates/default/master.tpl
#ctrl+w, then type search key words: href="/dump1090.php" and press enter key.
#the cursor will jump to the key word.
#change "/dump1090.php" to "/dump1090-fa/"
#save (ctrl+o) and close nano (ctrl+x)
#reload/refresh your browser


The code allowing users the ability to choose between the dump1090-mutability and dump1090-fa map has been committed to the branch which is ear marked to become v2.2.0 which is scheduled to be released within a couple hours after or at the most a day after v2.1.0 which will be released officially tonight. That is of course unless some major issue pops up in v2.2.0 which I honestly do not foresee happening.

The reasoning for the quick release can be found on the projects website.

Great and thanks!
Time for another formatting of microSD card. I prefer fresh install to avoid debugging often associated with upgrades.

Thanks for that next Linux bit of advice, I was able to modify the file/s. I will now wait for 2 20 and format a SD with the new release. I have a mixed results and noted 2.10 downloading. Interestingly in this trying to get something to work, a couple of times 3.04 version has downloaded from Flightaware, not an image download put on the sd card before script work. Anyone else noted that??

Great news Joe!!

I posted the v2.1.0 image tonight to GitHub. I am not going to make much fanfare for it due to the fact many people have already upgraded to it on existing installs and honestly it is a release which will be replaced tomorrow evening. It would have been made outdated even sooner if not for hardware issues on my end tonight.

Anyways…

If your installation has already been upgraded to v2.1.0 via Git there is no reason to attempt to upgrade again.

v2.1.0 includes the following changes:

Added password confirmation for MySQL database user to bash script. (advanced)
Changes applied to image configuration script including fixes for bugs and wording.
The device’s IP address is now properly displayed at end of the bash setup
process.MySQL upgrades failed to detect local or remote installs properly. (advanced
Changes to resolve PHP errors after running the PHP portal installer. (advanced)

Due to delays caused by hardware problems, in particular my SD card reader seeing every SD card I own as write protected, v2.2.0 which was scheduled for release tonight as well has been delayed and now scheduled for release tomorrow. Those still running v2.0.3 can feel free to skip the v2.1.0 release and go directly to v2.2.0 if they are patient enough to wait until this coming evening.

The image is available on GitHub for those interested.
github.com/jprochazka/adsb-rece … tag/v2.1.0

Many thanks Joe. Downloading image now and will post how the install goes, crossing fingers here and looking forward to 2.20 re MLAT features.

Jeff :slight_smile:

Unfortunately 2 attempts with clean sd format card each time failed. Portal version 2.10, system admin page appears correct, links to FA and ADSB Exchange. Graphs only showing tabs to graphs that should be there and 1090 live map just a spinning wheel (pointing to *****/dump1090.php). Downloaded image file 2.10 from ADSB, burnt on to clean SD card, loaded up into PI. Through all the install processes and adding FA and ADSB Exchange and Web Portal. :frowning:

@jlb56
Today (very) early morning, I tried the following two methods successfully (each method on a different microSD Card)

METHOD # 1

  1. Downloaded from github.com/jprochazka/adsb-rece … tag/v2.1.0 the img ā€œadsb-receiver_2.1.0_raspbian-jessie-lite.zipā€, unzipped, and burned the img on formatted microSD card.
  2. Insert microSD card in RPi, powered up, SSH, login
  3. Gave following commands:
    sudo raspi-config and expand file system, set time zone, change password
    cd ~/adsb-receiver
    sudo chmod +x install.sh
    sudo ./install.sh
    Repeat sudo ./install.sh

METHOD # 2

  1. Downloaded from raspberrypi.org/downloads/raspbian/ the img ā€œ2016-05-27-raspbian-jessie-lite.zipā€, unzipped, and burned img on formatted microSD card.
  2. Inserted microSD card in RPi, powered up, SSH, login
  3. Gave following commands:
    sudo raspi-config and expanded file system, set time zone, changed password
    sudo apt-get update
    sudo apt-get install git
    sudo git clone github.com/jprochazka/adsb-receiver.git
    cd ~/adsb-receiver
    sudo chmod +x install.sh
    sudo ./install.sh

Note: when in Method 2 (Jessie-Lt img) I used ./install.sh without sudo, it gave error ā€œpkg not found, installation haltedā€. This I understand is because I used sudo to clone ā€œsudo git clone github.com/jprochazka/adsb-receiver.gitā€.