Accessing PiAware Output File


#1

Hey All-

Looks like my RPi hasnt checked in with FlightAware for the last couple hours and I’ve received an anomoly report again. I suspect it could be something on FlightAware’s side, because I have a friend who’s Pi hasn’t reported in the same timeframe mine has, and we live within 10 miles of each other. It seems odd that both our units would be behaving the exact same way. I rebooted my Pi and am hoping that will fix the issue, but I’d like to satisfy my curiousity and see if I can access the Pi’s output file on PiAware. However, I’m not quite sure how to access it. I know the code is


/tmp/piaware.out 

but when I enter that in the command line, I don’t get any output. Is there something I need to put in front of that?


#2


tail /tmp/piaware.out


or



tail -f /tmp/piaware.out


…will update in real-time and hit control-c to end it.


#3

You need to use some type of text editor…

‘vi’ would work for sure, but it’s not easy to use unless you know how to use it…

‘cat’ would also work, but it dumps everything into the terminal window and you could miss some data if your terminal buffer isn’t on unlimited.

Therefore, try ‘less’. That way you can read from the top all the way down and go back up in the file.

Thanks,
Paul


#4

same problem here,… piaware out is giving this output:

11/11/2014 17:39:57 connecting to FlightAware eyes.flightaware.com/1200
11/11/2014 17:40:03 FlightAware server SSL certificate validated
11/11/2014 17:40:03 encrypted session established with FlightAware
11/11/2014 17:40:56 3706 msgs recv’d from dump1090 via faup1090 (1829 in last 5m); 0 msgs sent to FlightAware
11/11/2014 17:40:57 connecting to FlightAware 70.42.6.203/1200
11/11/2014 17:41:01 FlightAware server SSL certificate validated
11/11/2014 17:41:01 encrypted session established with FlightAware
11/11/2014 17:41:57 connecting to FlightAware eyes.flightaware.com/1200
11/11/2014 17:42:03 FlightAware server SSL certificate validated
11/11/2014 17:42:03 encrypted session established with FlightAware
11/11/2014 17:42:57 connecting to FlightAware 70.42.6.203/1200
11/11/2014 17:42:58 got ‘couldn’t open socket: connection refused’ to adept server at 70.42.6.203/1200, will try again soon…

and those last 2 lines keep repeating

Something seems to be wrong at flightaware side


#5

Something seems to be wrong at flightaware side

I agree. At first, my unit was able to connect to FlighAware, but then I saw this:

11/11/2014 17:49:34 ADS-B data program ‘dump1090’ is listening on port 30005, so far so good
11/11/2014 17:49:34 i see dump1090 serving on port 10001
11/11/2014 17:49:34 connecting to dump1090 on port 10001…
11/11/2014 17:49:34 piaware is connected to dump1090 on port 10001
11/11/2014 17:49:34 dump1090 is listening for connections on FA-style port 10001
11/11/2014 17:49:36 piaware received a message from the ADS-B source!
11/11/2014 17:50:04 12 msgs recv’d from dump1090; 0 msgs sent to FlightAware
11/11/2014 17:50:33 connecting to FlightAware 70.42.6.203/1200
11/11/2014 17:50:33 got ‘couldn’t open socket: connection refused’ to adept server at 70.42.6.203/1200, will try again soon…
11/11/2014 17:51:33 connecting to FlightAware eyes.flightaware.com/1200

And it keeps repeating.


#6

Server problems at the moment.


#7

PiAware service is back online – apologies for any confusion or wasted time.


#8

Things look good. Waiting for the anomoly to clear on the ADS-B page.

11/11/2014 19:53:25 ADS-B data program ‘dump1090’ is listening on port 30005, so far so good
11/11/2014 19:53:25 i see dump1090 serving on port 10001
11/11/2014 19:53:25 connecting to dump1090 on port 10001…
11/11/2014 19:53:25 piaware is connected to dump1090 on port 10001
11/11/2014 19:53:25 dump1090 is listening for connections on FA-style port 10001
11/11/2014 19:53:25 piaware received a message from the ADS-B source!
11/11/2014 19:53:25 logged in to FlightAware as user mwshell
11/11/2014 19:53:56 7 msgs recv’d from dump1090; 6 msgs sent to FlightAware
11/11/2014 19:53:56 piaware has successfully sent several msgs to FlightAware!
11/11/2014 19:54:41 server is sending alive messages; we will expect them


#9

:question: