-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes_install_guide
More file actions
84 lines (84 loc) · 2.91 KB
/
notes_install_guide
File metadata and controls
84 lines (84 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
##################################################
# new condensed build guide, 5/20/20
# Can be easily converted to a git-able deploy script.
# Probably can just copy the config files into the respective directories. Need to verify on next install pass.
##################################################
#
#
#
# install packages
# gps tools:
sudo apt-get install -y minicom gpsd gpsd-clients
# for dump1090-fa:
sudo apt-get install -y debhelper dh-systemd librtlsdr-dev libusb-1.0-0-dev
sudo apt-get install -y git pkg-config libncurses5-dev lighttpd libbladerf-dev libfam0
# for dump978-fa (may not be needed anymore, not sure)
sudo apt-get install -y libboost-system-dev libboost-program-options-dev
sudo apt-get install -y libboost-regex-dev libboost-filesystem-dev libsoapysdr-dev
# for dump978: (necessary)
sudo apt-get install -y rtl-sdr
# for tar1090:
sudo apt-get install -y jq p7zip-full
# for wifi:
sudo apt-get install -y libncurses5 wavemon
# for aaron:
sudo apt-get install -y mc tilde
#
#####################
#install Dump1090-FA
#####################
git clone https://github.com/flightaware/dump1090.git dump1090-fa
cd dump1090-fa
sudo dpkg-buildpackage -b
cd ..
sudo dpkg -i dump1090-fa_*_*.deb
sudo nano /etc/default/dump1090-fa
# in dump1090-fa config file, set device serial number and set --net-ri-port
# device serial number can be gathered from "sudo rtl_test". better to bind to serial number than dongle number for usb portability.
#
#####################
#install dump978
# *** NOTE: This step can be skipped if not using a 2nd 978mhz receiver for UAT traffic.
#####################
git clone https://github.com/mutability/dump978 dump978
cd dump978
make
#Move files to a location of choice? Will need uat2esnt
sudo cp -r dump978 /usr/bin/
#
#####################
#install tar1090
#####################
sudo restart
# (tar1090 install will fail without a restart after multiple package installs or installing dump1090-fa and dump978)
git clone https://github.com/wiedehopf/tar1090 tar1090
cd tar1090
sudo ./install.sh
#
#
#edit /usr/local/share/tar1090/html/config.js and set default lat/lon, PageName,
#create service entry for dump978
sudo mkdir /usr/share/dump978
sudo cp /usr/share/dump1090-fa/start-dump1090-fa /usr/share/dump978/start-dump978
sudo cp /lib/systemd/system/dump1090-fa.service /lib/systemd/system/dump978.service
sudo systemctl enable dump978
#
# reboot to update daemon manager w/ new service.
sudo restart
#
#####################
# Testing:
#
# cgps will display GPS receiver stats, if functioning.
#
# browse to http://localhost/tar1090
# web server should be up.
#
# To see if dump1090 is receiving data,
# nc 127.0.0.1 30002
# 30001 is a listener to accept raw input data
# 30002 is a realtime data output from dump1090
#
# References:
# https://www.adsbexchange.com/how-to-feed/adding-978-mhz-ads-b-capability-to-your-pipi2/
#