--- ---
To configure some Femtofox settings such as wifi, you can insert a USB flash drive containing a configuration file. The system will automatically recognize, mount and implement the settings you specify.
Configurable settings are:
The USB drive must be formatted with a single FAT32, exFAT, NTFS (read only) or ext4 partition. Add a file named femtofox-config.txt and whichever of the the following lines you want to set, keeping in mind this is CaSe sEnSiTiVe:
wifi_ssid="Your SSID name"
wifi_psk="wifipassword"
wifi_country="US"
timezone="America/New_York"
meshtastic_lora_radio="ebyte-e22-900m30s"
meshtastic_url="https://meshtastic.org/e/#CgMSAQESCAgBOAFAA0gB"
meshtastic_admin_key="base64:T/b8EGvi/Nqi6GyGefJt/jOQr+5uWHHZuBavkNcUwWQ="
meshtastic_legacy_admin="true"
[!NOTE]
Enter as many or as few settings as you like.For wifi country, insert your country’s two letter code (such as CA or IN) in capital letters.
Use a timezone as it appears in the tz database.
Meshtastic
For LoRa radio, choose your radio from the supported hardware list.
Options are:
- ebyte-e22-900m30sm
- ebyte-e22-900m22s
- e22-900mm22s
- heltec-ht-ra62
- seeed-wio-sx1262
- waveshare-sx126x-xxxm
- ai-thinker-ra-01sh
- none (for simradio)
You cannot set URL and security settings in the same operation - if you must set both, set the URL first, then edit the femtofox-config.txt file on the USB drive to remove the URL and add in your security settings.
To add an admin key, copy it from the app and add
base64:to the beginning (meshtastic_admin_key="base64:T/b8EGvi/Nqi6GyGefJt/jOQr+5uWHHZuBavkNcUwWQ=").Clearing the admin key list: The admin key list can contain up to three keys - if more are added they will be ignored. The USB configuration tool supports clearing the admin key list, after which you will need to re-add your admin key/s in a second operation. To clear the admin key list, enter
meshtastic_admin_key="0", withoutbase64:.
[!WARNING]
Attempting to set wifi settings via USB configuration tool without a USB adapter connected will lead to a hard crash - you will need to disconnect and reconnect power to recover.
[!NOTE]
Boot codes can appear in sequence - for example: one long (4 second) blink, followed by 5 medium (half second) blinks means the attempt to mount the USB drive failed, and that boot is complete.