Difference between revisions of "ADS-B: ADSBox"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| (6 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
  wget http://ucideas.org/projects/hard/adsb/adsbox-20180427.tar.gz  |   wget http://ucideas.org/projects/hard/adsb/adsbox-20180427.tar.gz  | ||
  tar zxvf adsbox-20180427.tar.gz  |   tar zxvf adsbox-20180427.tar.gz  | ||
| − | + | ||
| − | |||
  cd /usr/local/src  |   cd /usr/local/src  | ||
  wget https://sqlite.org/2019/sqlite-amalgamation-3300100.zip  |   wget https://sqlite.org/2019/sqlite-amalgamation-3300100.zip  | ||
  unzip sqlite-amalgamation-3300100.zip  |   unzip sqlite-amalgamation-3300100.zip  | ||
  mv sqlite-amalgamation-3300100 sqlite3  |   mv sqlite-amalgamation-3300100 sqlite3  | ||
| + | |||
| + |  cd /usr/local/src/adsbox  | ||
| + |  make  | ||
| + | |||
| + | ==Install Google Earth==  | ||
| + | |||
| + | Download  | ||
| + | |||
| + |  https://www.google.com/earth/versions/#download-pro  | ||
| + | |||
| + | * Klik "Accept & Download"  | ||
| + | * Ikuti petunjuk https://www.lifewire.com/install-google-earth-using-ubuntu-linux-2202107  | ||
| + | |||
| + | ==Edit adsbox.kml file==  | ||
| + | |||
| + | Edit vi /usr/local/src/adsbox/adsbox.kml  | ||
| + | |||
| + | |||
| + |  <?xml version="1.0" encoding="UTF-8"?>  | ||
| + |  <kml xmlns="http://www.opengis.net/kml/2.2">  | ||
| + |  <Document>  | ||
| + |    <description>  | ||
| + |    <![CDATA[  | ||
| + |  	Air Traffic by <a href="http://diseqc.alh.org.ua/projects/hard/adsb/index.html">ADSBox</a>.<br>  | ||
| + |  	Flight <a href="http://192.168.0.165:8080">board</a>.  | ||
| + |  	]]>  | ||
| + |    </description>  | ||
| + |    <NetworkLink>  | ||
| + |      <refreshVisibility>1</refreshVisibility>  | ||
| + |      <flyToView>0</flyToView>  | ||
| + |      <Link>  | ||
| + |        <href>http://192.168.0.165:8080/adsbox.kml</href>  | ||
| + |        <refreshMode>onInterval</refreshMode>  | ||
| + |  	<refreshInterval>6</refreshInterval>  | ||
| + |      </Link>  | ||
| + |    </NetworkLink>  | ||
| + |  </Document>  | ||
| + |  </kml>  | ||
| + | |||
| + | Edit IP addres agar sama dengan IP yang kita gunakan.  | ||
| + | |||
| + | |||
| + | ==Run==  | ||
| + | |||
| + | Contoh menjalankan  | ||
  cd /usr/local/src/adsbox  |   cd /usr/local/src/adsbox  | ||
| − | + |   ./adsbox &  | |
| + |  ./adsbox --db-edit &  | ||
| + |  ./adsbox --beast-server 192.168.0.165 --beast-server-port 30009 --lat -6.168614 --lon 106.865016 --name REC1 &  | ||
| + |  ./adsbox --lat -6.168614 --lon 106.865016 --name REC1 &  | ||
| + | |||
| + | * Buka Google Earth  | ||
| + | * Bukan adsbox.kml di Google Earth  | ||
| + | ==Akses==  | ||
| − | + | Sesuaikan dengan IP yang kita gunakan  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + |  http://192.168.0.165:8080  | |
| − | + |  http://192.168.0.165:8080/sqlite.html  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ==Catatan librtlsdr==  | |
| − | |||
| − | |||
| − | |||
| − | |||
Librtlsdr compile notes:  | Librtlsdr compile notes:  | ||
     - set WITH_RTLSDR=yes in Makefile to enable USB SDR dongles support.  |      - set WITH_RTLSDR=yes in Makefile to enable USB SDR dongles support.  | ||
     You may need to point rtl-sdr.h and librtlsdr.so files location also.  |      You may need to point rtl-sdr.h and librtlsdr.so files location also.  | ||
| − | |||
| − | |||
==Referensi==  | ==Referensi==  | ||
Latest revision as of 06:06, 5 January 2020
Sumber: http://ucideas.org/projects/hard/adsb/index.html Rusia
Download
cd /usr/local/src wget http://ucideas.org/projects/hard/adsb/adsbox-20180427.tar.gz tar zxvf adsbox-20180427.tar.gz cd /usr/local/src wget https://sqlite.org/2019/sqlite-amalgamation-3300100.zip unzip sqlite-amalgamation-3300100.zip mv sqlite-amalgamation-3300100 sqlite3 cd /usr/local/src/adsbox make
Install Google Earth
Download
https://www.google.com/earth/versions/#download-pro
- Klik "Accept & Download"
 - Ikuti petunjuk https://www.lifewire.com/install-google-earth-using-ubuntu-linux-2202107
 
Edit adsbox.kml file
Edit vi /usr/local/src/adsbox/adsbox.kml
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <description> <![CDATA[ Air Traffic by <a href="http://diseqc.alh.org.ua/projects/hard/adsb/index.html">ADSBox</a>.
Flight <a href="http://192.168.0.165:8080">board</a>. ]]> </description> <NetworkLink> <refreshVisibility>1</refreshVisibility> <flyToView>0</flyToView> <Link> <href>http://192.168.0.165:8080/adsbox.kml</href> <refreshMode>onInterval</refreshMode> <refreshInterval>6</refreshInterval> </Link> </NetworkLink> </Document> </kml>
Edit IP addres agar sama dengan IP yang kita gunakan.
Run
Contoh menjalankan
cd /usr/local/src/adsbox ./adsbox & ./adsbox --db-edit & ./adsbox --beast-server 192.168.0.165 --beast-server-port 30009 --lat -6.168614 --lon 106.865016 --name REC1 & ./adsbox --lat -6.168614 --lon 106.865016 --name REC1 &
- Buka Google Earth
 - Bukan adsbox.kml di Google Earth
 
Akses
Sesuaikan dengan IP yang kita gunakan
http://192.168.0.165:8080 http://192.168.0.165:8080/sqlite.html
Catatan librtlsdr
Librtlsdr compile notes:
- set WITH_RTLSDR=yes in Makefile to enable USB SDR dongles support. You may need to point rtl-sdr.h and librtlsdr.so files location also.