

Given that the FAT32 boot partition is limited in size, other folders and files that are part of the backup will need to be copied manually either to the SD card, if it’s possible to mount it on a host computer, or via SSH with cable or bluetooth connectivity as explained in the following sections. Restoring this folder this way will allow the unit to boot without the need to generate a new RSA keypair, an operation that takes time and would be completely pointless if a backup needs to be restored anyway. This way the whole folder containing the configuration and the RSA keypair will be moved to /etc/pwnagotchi during boot. If you want to restore a backup instead, you can copy the contents of the /etc/pwnagotchi backupped folder in the FAT32 boot partition as /boot/pwnagotchi. The software will install this file to /etc/pwnagotchi/config.toml (and it will remove it from the SD card) during boot.Īfter the first boot, you can open the /etc/pwnagotchi/config.toml file (either via SSH or by directly editing the SD card’s contents from a computer with a card reader) to override the default configuration with your custom values.

Is the example configuration for a unit with a Waveshare V2 display, for more detailed configuration instructions refer to the In this process you might define your unit’s name, which network to whitelist and the type of display you use. This partition should be easily accessible from your computer regardless of your operating system as it is a simple FAT32.

Initial Configurationįor the initial configuration, the easiest way is creating a new config.toml file of the boot partition of the SD card. In the future yaml-support will be completly dropped. The old configuration won't be deleted, but not be used anymore. If you update from an old pwnagotchi version, your old configuration will be loaded and automatically saved in the new toml format. PLEASE NOTE:As we migraded from yaml to toml as our configuration language, you probably want to have a look at the toml reference.
