FlightAware Discussions

For Beginners - Piaware Feeder-id Mechanism

For Beginners - Piaware Feeder-id Mechanism

LOCATION OF feeder-id
PIAWARE SD CARD IMAGE
  RASPBIAN IMAGE
WITH PIAWARE PACKSGE INSTALL
/boot/piaware-config.txt This is first step.
At reboot of Pi or restart of piaware, the piaware reads feeder-id from this file, and writes it to file /var/cache/piaware/feeder_id.

In this file, the feeder-id is entered by:
(1) Editing the file
OR
(2) Command sudo piaware-config feeder-id xxx
  This file is not available in package install on Raspbian.
/etc/piaware.conf This file does not participate in feeder-id chain in SD card image.
Even if this file is edited by user and feeder-id is added, it has no effect.
  This is first step.
At reboot of Pi or restart of piaware, the piaware reads feeder-id from this file, and writes it to file /var/cache/piaware/feeder_id.

In this file, the feeder-id is entered by:
(1) Editing the file
OR
(2) Command sudo piaware-config feeder-id xxx
/var/cache/piaware/feeder_id
This is last step.
If piaware does not find a feeder-id in file /boot/piaware-config.txt, it reads & uses the feeder-id in this cache file to login to FA server.

If no feeder-id is available here also, piaware obtains a brand new feeder-id from FA servers, and writes it in this cache file. A new station with this new feeder-id can be claimed from FA claims page.
.
 
This is last step.
If piaware does not find a feeder-id in file /etc/piaware.conf, it reads & uses the feeder-id in this cache file to login to FA server.

If no feeder-id is available here also, piaware obtains a brand new feeder-id from FA servers, and writes it in this cache file. A new station with this new feeder-id can be claimed from FA claims page.
.
1 Like