Need some help... one pi not reporting to piaware


#1

One pi not reporting to piaware…but it shows that it is connected…

flightaware.com/adsb/stats/user/ … tats-12393


#2

This may be a case of the blind leading the blind.
is there a script in /etc/init.d for dump1090? Can you launch it manually
"sudo /etc/init.d/dump1090 start"
Does it start successfully?


#3

I have no idea. It shows up on the status page as online within 1 minute, but it is not feeding data


#4

You need to find out why dump1090 isn’t running.

What happens if you run this command?


$ sudo invoke-rc.d fadump1090.sh start


#5

Last login: Wed Sep 30 02:41:01 2015 from harlan-pc.local
pi@piaware ~ $ sudo invoke-rc.d fadump1090.sh start
....] Starting dump1090 server: dump1090....] 0pi@piaware ~ $ sudo piaware-sta                                                                   tus
dump1090 is not running.
faup1090 is not running.
piaware is running.
no program appears to be listening for connections on port 30005.
faup1090 is NOT connected to port 30005.
piaware is connected to FlightAware.
got 'couldn't open socket: connection refused'
maybe dump1090 is NOT producing data on port 30005.
pi@piaware ~ $ sudo /etc/init.d/dump1090 start
sudo: /etc/init.d/dump1090: command not found


it was working and then stopped…
I have updated everything… reinstalled… still nothing
I guess I will have to reflash the sd card…any tips before I do that?


#6

I can’t tell from the posted message which PiAware is offline?

From here I see ID 12308 is online, but 13293 is not.


#7

Try starting dump1090 from the command line; maybe it is failing because it can’t find the dongle or something like that.
(Unfortunately the init.d script doesn’t log the output, so you need to start it from the command line to see that sort of error)



$ dump1090 --net --gain -10 --net-fatsv-port 0


If all is well this should start spitting out details of all the messages received (you can stop it with control-C)


#8

correct… 293 is saying it is online, but not reporting anything…

Data Feed: 22-Sep-2015 - 13 days ago
Feeder Check-in: Live - about 1 minute ago
Joined: 21-Sep-2015
Longest Streak: 2 days (21-Sep-2015 - 22-Sep-2015)



pi@piaware ~ $ sudo piaware-status
dump1090 is not running.
faup1090 is not running.
piaware is running.
no program appears to be listening for connections on port 30005.
faup1090 is NOT connected to port 30005.
piaware is connected to FlightAware.
got 'couldn't open socket: connection refused'
maybe dump1090 is NOT producing data on port 30005.
pi@piaware ~ $



#9

login as: pi
pi@192.168.11.30's password:
Linux piaware 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Oct  5 13:53:17 2015 from harlan-pc.local
pi@piaware ~ $ sudo /etc/init.d/dump1090 start
sudo: /etc/init.d/dump1090: command not found
pi@piaware ~ $ sudo invoke-rc.d fadump1090.sh start
....] Starting dump1090 server: dump1090....] 0pi@piaware ~ $ sudo /etc/init.d/dump1090 start
sudo: /etc/init.d/dump1090: command not found
pi@piaware ~ $



#10

Make sure your RTL-SDR devise is connected.
To do so you may need to install the usbutils package.


sudo apt-get install usbutils

after confirming the USB utilities are installed run the following command.


sudo lsusb

You should see something like so listed if in fact the device is connected:


Bus 001 Device 0003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T

If you do not see and RTL-SDR device connected that may be the problem.


#11

Thank you! I just reflashed the card before I saw this and it is working fine again.