@jprochazka
============ FIRST ATTEMPT ===========
Tried to install adsb stuff using your script on Orange Pi PC / Ubuntu Vivid Mate.
first added user “pi”, included in sudo. then reboot, loged in as “pi”, ran the code on github wiki page.
After first attempt, checked, found
http : // … 404 NOT FOUND
http : // /dump1090/gmap.html … 404 NOT FOUND
http : // /graphs … 404 NOT FOUND
Rebooted, checked again, same result
Gave following command
pi@OrangePI:~$ cd adsb-feeder
pi@OrangePI:~$ sudo ./install.sh
It said it did not find dump1090 and web portal, then proceeded to installed these two. On completion, checked again, same result 404 Not Found
=========== SECOND ATTEMPT =============
Instead of debugging, I took an easy way. I formatted the microSD card, and burned “Ubuntu Vivid Mate.img” on it - a clean fresh install.
orangepi@OrangePI:~$ sudo adduser pi
orangepi@OrangePI:~$ sudo adduser pi sudo
orangepi@OrangePI:~$ sudo reboot
At reboot, loggedin as user “pi”
pi@OrangePI:~$ sudo apt-get install git
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package git
pi@OrangePI:~$ sudo apt-get update
pi@OrangePI:~$ sudo apt-get install git
pi@OrangePI:~$ git clone github.com/jprochazka/adsb-feeder.git
pi@OrangePI:~$ cd adsb-feeder
pi@OrangePI/adsb-feeder:~$ sudo chmod +x install.sh
pi@OrangePI/adsb-feeder:~$ sudo ./install.sh
It went through a long process then announced everything installed successfully. checked, found 404 Not Found
pi@OrangePI:~$ sudo reboot
Again checked, found everything working except:
(1) Max Range Graph.
(2) Flightaware feed (CA problem)
12/28/2015 14:54:31 TLS handshake with adept server at piaware.flightaware.com/1200 failed: handshake failed: certificate verify failed
12/28/2015 14:54:31 reconnecting in 111 seconds…
12/28/2015 14:54:48 7066 msgs recv’d from dump1090-mutabi (640 in last 5m); 0 msgs sent to FlightAware
12/28/2015 14:56:22 Connecting to FlightAware adept server at piaware.flightaware.com/1200
12/28/2015 14:56:22 Connection with adept server at piaware.flightaware.com/1200 established
12/28/2015 14:56:23 TLS verify failed: self signed certificate in certificate chain
12/28/2015 14:56:23 Failing certificate:
12/28/2015 14:56:23 sha1_hash: B69ABB0BF41433F4E27434BF6628CE1EA1CAA704
12/28/2015 14:56:23 subject: CN=FlightAware Root,OU=Operations,O=FlightAware LLC,L=Houston,ST=TX,C=US
12/28/2015 14:56:23 issuer: CN=FlightAware Root,OU=Operations,O=FlightAware LLC,L=Houston,ST=TX,C=US
12/28/2015 14:56:23 notBefore: Dec 9 16:50:04 2015 GMT
12/28/2015 14:56:23 notAfter: Dec 4 16:50:04 2035 GMT
12/28/2015 14:56:23 serial: A9FE756D9E6B94B4
12/28/2015 14:56:23 TLS alert: unknown CA
12/28/2015 14:56:23 TLS error: certificate verify failed
12/28/2015 14:56:23 TLS handshake with adept server at piaware.flightaware.com/1200 failed: handshake failed: certificate verify failed
12/28/2015 14:56:23 reconnecting in 66 seconds…
pi@OrangePI:~$
Maybe this will solve:
pi@OrangePI:~$ sudo apt-get install ca-certificates
EDIT: ran above command then checked after 5 minutes & 10 minutes, no success