# Config File Location

**URL:** <https://discussions.flightaware.com/t/config-file-location/30353>\
**Category:** ADS-B Flight Tracking\
**Created:** [January 14, 2018, 1:53pm UTC](https://discussions.flightaware.com/t/config-file-location/30353 "2018-01-14T13:53:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![send2gl](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/send2gl/32/113341_2.png) [@send2gl](https://discussions.flightaware.com/u/send2gl)\
**Post date:** [January 14, 2018, 1:53pm UTC](https://discussions.flightaware.com/t/config-file-location/30353/1 "2018-01-14T13:53:08Z")

</div>

Folks,

I have a manual installation of PiAware, I may need to tweak the gain settings for an experiment I want to try.

I have no piaware.conf in /boot and in /etc the piaware.conf only has allow-auto-updates and allow-manual-updates as an option.

Is there another file somewhere of can I just add to either of the two locations?

I understand /boot/piware.conf has priority over the /etc location.

Geffers

---

<div class="post-metadata">

**Author:** ![abcd567](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/abcd567/32/113769_2.png) [@abcd567](https://discussions.flightaware.com/u/abcd567)\
**Post date:** [January 15, 2018, 12:36am UTC](https://discussions.flightaware.com/t/config-file-location/30353/2 "2018-01-15T00:36:34Z")

</div>

The file _/boot/piaware-config.txt_ exists only in Piaware SD Card image downloaded from [https://flightaware.com/adsb/piaware/build](https://flightaware.com/adsb/piaware/build).

In **Piaware Add-on Package install** by apt-get as described on page [https://flightaware.com/adsb/piaware/install](https://flightaware.com/adsb/piaware/install) , **the file _/boot/piaware-config.txt_ does NOT exist**. Also the other file _/etc/piaware.conf_ does NOT contain any settings INITIALLY. It contains only few comment lines, to which _Unique Identifier_ is added at _Claim Your Piaware_ step.

The Piaware sets itself to default values given on the page [https://flightaware.com/adsb/piaware/advanced\_configuration](https://flightaware.com/adsb/piaware/advanced_configuration), but NONE of these parameters are saved on file _/etc/piaware.conf_

The very first parameter saved in _/etc/piaware.conf_ is _Unique Identifier_, which is added automatically when you “Claim your receiver”.

Normally following 3 commands are given at time of installation of Piaware Add-on package.

```auto
sudo piaware-config allow-auto-updates yes
sudo piaware-config allow-manual-updates yes
sudo reboot

```

As a result of “Claim your Piaware” and above two commands, the file _/etc/piaware.conf_ is like this:

```auto
sudo cat /etc/piaware.conf

# This file configures piaware and related software.
# You can edit it directly or use piaware-config from the command line
# to view and change settings.
#
# If /boot/piaware-config.txt also exists, then settings present in
# that file will override settings in this file.
feeder-id 12345678-1234-1234-1234-123456789abc # updated by fa_piaware_config
allow-auto-updates yes # updated by fa_piaware_config
allow-manual-updates yes # updated by fa_piaware_config

```

.

## How to Set / Change Configuration Values?

If you want to change any of the settings listed on page [https://flightaware.com/adsb/piaware/advanced\_configuration](https://flightaware.com/adsb/piaware/advanced_configuration), you can do this by using following method:

```auto
#Set the value
sudo piaware-config [PARAMETER] [VALUE]

#Restart piaware to implement the value
sudo systemctl restart piaware

#Now check file /etc/piaware.conf to make sure new setting has been saved
sudo cat /etc/piaware.conf

```

For example if I am using a wired internet connection, and want to stop WiFi of Pi3 (or CHIP board), I will do it like this

```auto
#Set parameter
sudo piaware-config rfkill yes
Set rfkill to yes in /etc/piaware.conf:10

#Restart piaware to implement the value
sudo systemctl restart piaware

#Now check file "/etc/piaware.conf" to make sure "rfkill yes" has been added
sudo cat /etc/piaware.conf

# This file configures piaware and related software.
# You can edit it directly or use piaware-config from the command line
# to view and change settings.
#
# If /boot/piaware-config.txt also exists, then settings present in
# that file will override settings in this file.
feeder-id 12345678-1234-1234-1234-123456789abc # updated by fa_piaware_config
allow-auto-updates yes # updated by fa_piaware_config
allow-manual-updates yes # updated by fa_piaware_config
rfkill yes # updated by fa_piaware_config

```

---

<div class="post-metadata">

**Author:** ![send2gl](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/send2gl/32/113341_2.png) [@send2gl](https://discussions.flightaware.com/u/send2gl)\
**Post date:** [January 18, 2018, 2:23pm UTC](https://discussions.flightaware.com/t/config-file-location/30353/3 "2018-01-18T14:23:19Z")

</div>

Thank you abcd - that has clarified things nicely.

Geffers
