Change device password
Your PiAware device is on the Internet, so although it is likely behind your home router (NAT), it is still a good idea to change the pi user's password from the default password (flightaware).
- Login to the device with the username "pi" and password "flightaware".
- Type "passwd" and follow the instructions to change the password for the account.
Enable SSH access
- For security reasons, SSH access is disabled by default on new PiAware SD card installs, starting with version 3.3. To enable SSH, create an empty file on the /boot partition of the SD card with the filename of "ssh" only (no file extension). When this file is present, SSH will be automatically enabled.
Edit the configuration file using Command Line
The fully pre-configured FlightAware PiAware 3 SD card includes a default configuration which can either be edited directly or alternatively saved to a USB flash drive or other USB storage. If the USB storage device is connected to the Raspberry Pi when the Raspberry Pi is booted then the USB device’s configuration file will be used. The SD card image Zip file also includes a sample configuration file (piaware-config.txt). If the Raspberry Pi is subsequently rebooted without the USB flash drive or other storage, PiAware will revert to the config file on the SD card. Setting the configuration via USB storage device is only supported on the PiAware 3 SD card image install.
-
Use the "piaware-config" utility to view and change settings. Run "piaware-config <setting> <value>" to make changes. Run "piaware-config" to show the current configuration settings.
-
Edit /boot/piaware-config.txt to make configuration changes, using an editor of your choice (e.g. "sudo nano /boot/piaware-config.txt").
-
For package-based installs, use piaware-config or edit /etc/piaware.conf.
If it is not convenient to remove the SD card and command line access is not possible. an external USB flash drive containing a piaware-config.txt file can be attached to the Pi. Settings in that file override any settings on the SD card. The flash drive should be attached before powering on the Pi and should remain connected while the Pi is running.
To ensure that all configuration changes take effect, please restart/reboot the Raspberry Pi after making changes.
Expand Filesystem for large SD cards
If you have a large SD card, you can expand the usable space on your device by logging in and typing:
sudo raspi-config
Then, select "Expand file system" from the menu. When complete, exit the menu and type:
sudo reboot
The device will now reboot and the process is complete.
Access PiAware via Command Line
You can check the status of PiAware by logging in and typing:
sudo piaware-status
You can restart PiAware by typing:
sudo systemctl restart piaware
For details on all available configuration options, please see our Advanced Configuration documentation.