All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Mon Oct 31, 2016 4:11 pm 
Offline
IO91oi - FlightAware user avatar

Joined: Mon Sep 28, 2015 9:06 am
Posts: 4
Hi,

Upgraded to PiAware v3 SD card Img, all works, but:
- does anyone know, how to enable --modeac in dump1090-fa?
- Is there a version of piaware-sd-card-3.1.0.img.zip without Pixel? "RASPBIAN JESSIE LITE"?
- How can I change from port 8080 the dump1090-fa is running on to different port?

Thank you in advance.


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Mon Oct 31, 2016 5:24 pm 
Offline
FlightAware Member
Jranderson777 - FlightAware user avatar

Joined: Tue Sep 22, 2015 1:13 pm
Posts: 95
I think port 8080 just forwards to port 80. I can access mine using the default port 80. Lighttp is used as the webserver in V3.


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Tue Nov 01, 2016 6:33 am 
Offline
IO91oi - FlightAware user avatar

Joined: Mon Sep 28, 2015 9:06 am
Posts: 4
Jranderson777 wrote:
I think port 8080 just forwards to port 80. I can access mine using the default port 80. Lighttp is used as the webserver in V3.


Thank you,
changing
sudo nano /etc/lighttpd/lighttpd.conf
and restarting
sudo systemctl restart lighttpd
is working and now, I have it running on specific port.


Looking in
sudo nano /etc/default/dump1090-fa
the file is controlled by "fa_config_generator"

# Generated automatically by fa_config_generator
# This file will be overwritten on reboot.
DECODER_OPTIONS="--max-range 360"
NET_OPTIONS="--net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --net-http-port 0 --net-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104"
JSON_OPTIONS="--json-location-accuracy 2"
RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0 --net-bo-port 30005 --fix"


but I am not sure, where to find it ... can anyone help?
I just want to add --modeac option.





Anyone over here knows how to get rid off X11 / X Server and have it headless?


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Tue Nov 01, 2016 9:18 am 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1929
Location: Toronto CYYZ
IO91oi wrote:
......
Anyone over here knows how to get rid off X11 / X Server and have it headless?

On "piaware-sd-card-3.1.0.img":
pi@piaware:~$ sudo /opt/vc/bin/tvservice -o
Powering off HDMI
pi@piaware:~$

(Thanks to bob k6rtm)


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Tue Nov 01, 2016 2:34 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3322
If you want an image that's more closely tailored to your particular setup then you may want to start from a regular Raspbian or Raspbian-lite image and install piaware/dump1090 onto that.

3.2.0 (to be released shortly) has support for configuring mode A/C support via piaware-config.


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Tue Nov 01, 2016 3:57 pm 
Offline
FlightAware Member
abcd567 - FlightAware user avatar

Joined: Sat Feb 15, 2014 3:08 am
Posts: 1929
Location: Toronto CYYZ
obj wrote:
If you want an image that's more closely tailored to your particular setup then you may want to start from a regular Raspbian or Raspbian-lite image and install piaware/dump1090 onto that.

This is exactly what I do.
However I have few spare microSD cards, and whenever a new version of "piaware.img" is released, I write it on one of the spare card, slip the card into one of the Pis, run for few days and perform configurations and tweaks to see how it feels and performs. After I am done with, I remove the spare card and slip in the original microSD card.

Quote:
3.2.0 (to be released shortly) has support for configuring mode A/C support via piaware-config.

Thanks. This will be great.


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Fri Feb 03, 2017 7:58 pm 
Offline
rhw2 - FlightAware user avatar

Joined: Sun Jun 15, 2014 12:04 am
Posts: 7
Jranderson777 wrote:
I think port 8080 just forwards to port 80. I can access mine using the default port 80. Lighttp is used as the webserver in V3.


Sorry port 8080 doesn't forward to port 80. Port 8080 is port like any other port in a Unix OS, yes Linux is Unix. The port for the Dump web page is set in one of the Dump config files but don't remember the file name or path, it's been a while. Best I recall, it's off of /etc.


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Fri Mar 17, 2017 2:52 pm 
Offline
IO91oi - FlightAware user avatar

Joined: Mon Sep 28, 2015 9:06 am
Posts: 4
obj wrote:
If you want an image that's more closely tailored to your particular setup then you may want to start from a regular Raspbian or Raspbian-lite image and install piaware/dump1090 onto that.

3.2.0 (to be released shortly) has support for configuring mode A/C support via piaware-config.


Just upgraded to 3.3.0 with new clean install, enabled in /boot/piaware-config.txt option "allow-modeac yes", but do not see any Mode AC

sudo tail -f /var/log/piaware.log
Mar 17 19:32:14 RaspberryPi-2B-1GB-piaware piaware[494]: 49548 msgs recv'd from dump1090-fa (370 in last 5m); 49399 msgs sent to FlightAware
Mar 17 19:37:14 RaspberryPi-2B-1GB-piaware piaware[494]: 49932 msgs recv'd from dump1090-fa (384 in last 5m); 49783 msgs sent to FlightAware
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Receiver status: connected
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Server status: synchronized with 127 nearby receivers
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Receiver: 221.4 msg/s received 36.8 msg/s processed (17%)
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.6kB/s UDP to server
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Results: 12.9 positions/minute
Mar 17 19:38:01 RaspberryPi-2B-1GB-piaware piaware[494]: mlat-client(1006): Aircraft: 4 of 8 Mode S, 11 of 15 ADS-B used
Mar 17 19:42:14 RaspberryPi-2B-1GB-piaware piaware[494]: 50364 msgs recv'd from dump1090-fa (432 in last 5m); 50215 msgs sent to FlightAware
Mar 17 19:47:14 RaspberryPi-2B-1GB-piaware piaware[494]: 50823 msgs recv'd from dump1090-fa (459 in last 5m); 50674 msgs sent to FlightAware


Top
 Profile  
 
 Post subject: Re: Mode-AC packets --modeac PiAware v3 SD card Img
PostPosted: Fri Mar 17, 2017 3:48 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3322
IO91oi wrote:
Just upgraded to 3.3.0 with new clean install, enabled in /boot/piaware-config.txt option "allow-modeac yes", but do not see any Mode AC

There is no display mechanism for mode A/C on the webmap (there's nothing useful to show, really)
If you have a client that can make use of A/C data, it can request it via the usual Beast command to enable A/C on port 30005; is it sending that command?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron