ADS-B: ADSBox: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
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
  make
  ./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==


Compile with SQLite notes:
Sesuaikan dengan IP yang kita gunakan
    - download SQLite source from http://sqlite.org/download.html.
    - place sqlite3 directory with SQLite amalgamation source in the
    same level as ADSBox source. Your directory structure should look like
    ./adsbox
/htdocs
Makefile
...
    ./sqlite3
sqlite3.c
sqlite3.h
...
    - then cd to ADSBox source directory and type 'make' there.


Google Earth notes:
http://192.168.0.165:8080
    - install GE;
http://192.168.0.165:8080/sqlite.html
    - place adsbox.kml file (see ADSBox source dir) in preffered directory;
    - open adsbox.kml in editor and point ADSBox host IP
    and port (8080 as default);
    - start ADSBox server then open adsbox.kml in GE.


Web server notes:
==Catatan librtlsdr==
    - open ADSBox info page (e.g http://192.168.1.6:8080) in
    browser and see current status.
    - you may also open SQLite web interface at http://192.168.x.x:8080/sqlite.html
    (run with --db-edit option to enable write queries).


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 23:06, 4 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

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.

Referensi

Pranala Menarik