Installing PiAware on Ubuntu

I had a Netbook laying around, so I installed Xubuntu on it. Installed Piaware and Dump1090-Mut V1.15 on it. It’s working pretty good. Frees up my one Pi so I can move that to a different location.

I was able to install Ubuntu Mate on the RPi 2. Installed Piaware 2.1-2 and Dump1090-Mut V1.15. It’s working good so far.

Hi everybody,

I have a strange problem , when i download the complete PI2 image from piaware and start to send data Mlat clients starts :

08/25/2015 15:53:57 piaware has successfully sent several msgs to FlightAware!
08/25/2015 15:53:57 mlat(5152): fa-mlat-client 0.2.3 starting up
08/25/2015 15:53:57 mlat(5152): Using UDP transport to 70.42.6.194:8161
08/25/2015 15:53:58 mlat(5152): Listening for Beast-format results connection on port 31003
08/25/2015 15:53:58 mlat(5152): Input connected to localhost:30005

When i download the package only and install on ubuntu i get no mlat client started and the mlat client is in the helper directory:

08/25/2015 15:45:08 piaware has successfully sent several msgs to FlightAware!

I did this test with the same data from my beast reciever, all configuration are the same, and mlat is enabled.
Any clue ?

Hike

Ahhhh, i found something … :

usr/lib/fa-mlat-client# ./fa-mlat-client
bash: ./fa-mlat-client: cannot execute binary file: Exec format error
root@:/usr/lib/fa-mlat-client#

This .deb binary from flightaware is not working on Ubuntu and Raspberry

Hike

You need to build it, did you follow the directions in the first post? You can’t use the package that was built for the Pi on the PC as is, you need to compile it to run on the PC. Just did this yesterday myself on a Debian install. Takes a little work to get all the packages installed to make everything happy but once you get it life it great. I will be moving site 6315 over to it this weekend, running a BEAST receiver now on a Debian install. I have it running in the basement window right now for testing site 12185, amazing I pick anything up at all down here LOL.

Made the change this morning, site 6315 is now running on Debian and using a BEAST receiver. Shall be interesting to observe the next week or two and see how it compares to running the dongle.

Obj,

I had this working before with no issue. I tried this again and it is working. Dump1090 is working and piaware is working. But I am not getting any MLAT.

Dump1090 V1.15-Dev.
Piaware 2.1-3

Is this right or not?

dump1090 is not running.
faup1090 is running.
piaware is running.
dump1090-mutab is listening for connections on port 30005.
faup1090 is connected to port 30005.
piaware is connected to FlightAware.
dump1090-mutab is producing data on port 30005.

Thanks for the help.

The mlat default port has changed. See his post at the top of the forum.

Thanks that fixed it

I was able to get dump1090-mutability on Ubuntu V1.15. And it shows the country flags when you pull up the map. How can I get that on my RPi running V1.15-dev? Would I use the same commands that obj posted earlier in this post. That’s the commands I used for my Ubuntu install. Thanks

Do a git pull and rebuild dump1090-mutability on the Pi:


~ $ cd ~/git/dump1090
~/git/dump1090 $ git pull
~/git/dump1090 $ dpkg-buildpackage -b
/git/dump1090 $ cd ..
~/git $ sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb


Worked for me and I have the flags on the Pi:)

Thanks I’ll give this a try tonight.

Thanks mgunther… Did what you said and the flags showed up… Thanks.

I’m trying to compile on ubuntu 14.04 - 64 bit.

Currently getting this error - paste.ubuntu.com/12623755/ (log)

Any ideas?

You have a non-package-installed copy of librtlsdr in /usr/local/lib that is interfering.

Thanks, sorted, compiled and now installed!

[quote=“antthomas”]
I’m trying to compile on ubuntu 14.04 - 64 bit.

Currently getting this error - paste.ubuntu.com/12623755/ (log)

Any ideas?[/quoted]

Did you install librtlsdr ? That appears to be your error.[/quote]

Well i’m lost. I’ve been tinkering for the better part of a week trying to figure it out before i relented and decided to ask for help.

I’ve got an ubuntu box running 14.04, I followed the instructions to the letter (except I used the installation of thedump1090 from CTassisF)
Dump1090 is working fine, but Piaware will not start, and I am out of theories why.

Piaware-status:


hscadmin@FlightAware:~$ sudo piaware-status
dump1090 is running.
faup1090 is not running.
piaware is not running.
dump1090 is listening for connections on port 30005.
faup1090 is NOT connected to port 30005.
piaware is NOT connected to FlightAware.
dump1090 is producing data on port 30005.

It just seems like Piaware and dump1090 aren’t talking… I can’t seem to find the piaware log either. my /tmp/ folder is empty.

I have tried using the config -restart command, to no avail.


hscadmin@FlightAware:~$ sudo piaware-config -restart
invoking: /etc/init.d/piaware restart
 * Stopping piaware server piaware                                        OK ] 
 * Starting piaware server piaware                                        OK ] 

another set of eyes on this would be appreciated. thank you!

A friend of mine had the same issue. Come to find out that he type his password wrong. Might want to rerun the following command.

sudo piaware-config -user “yourusername” -password

doing sudo piaware-config -show shows me the config. the username and password are correct.
*i’ve rerun the script anyway, no joy.

Thanks for your quick response.
-Ramos

I also thought it prudent to maybe add some more info:


hscadmin@FlightAware:/etc/init.d$ piaware
09/30/2015 19:40:47 No faup1090 found at /usr/lib/piaware/helpers/faup1090, cannot continue
hscadmin@FlightAware:/etc/init.d$ faup1090
faup1090: error opening the listening port 10001 (FlightAware TSV output): Address already in use


Now from what I read, I shouldn’t need faup1090, but piaware doesn’t seem to wanna go anywhere without it.