3.8 KiB
USB configuration
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:
- Wifi SSID
- Wifi PSK (password)
- Wifi country
- LoRa radio model for Meshtastic
- Timezone
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 add the following lines, keeping in mind this is CaSe sEnSiTiVe:
wifi_ssid="Your SSID name"
wifi_psk="wifipassword"
wifi_country="US"
lora_radio="ebyte-e22-900m30s"
timezone="America/New_York"
[!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.
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
For timezone, use a timezone as it appears in the tz database.
To apply your configuration, reboot the Femtofox with the USB drive plugged in. No other USB drives can be plugged in at the same time.
Boot codes
When the Femtofox is finished booting, it will blink its User LED (see below) in a pattern which can be used to gather info on its status or help diagnose issues.

| LED blink pattern | Meaning | Possible causes | Solutions |
|---|---|---|---|
| ⚠️ One very long blink, lasting 4 seconds | Failed to mount USB drive. Ignoring. | ||
| ⚠️ 3 long blinks, each lasting 1.5 seconds | USB drive mounted successfully but femtofox-config.txt was not found. Ignoring. | Config file missing. | Create configuration file as described above. |
| ⚠️ 5 long blinks, each lasting 1.5 seconds | USB drive mounted successfully and femtofox-config.txt was found but did not contain readable configuration data. Ignoring. | Configuration file improperly formatted or contains no data. | Check configuration file contents as described above. |
| ✅ 10 very fast blinks, each lasting 1/8th of a second | USB drive mounted successfully, and femtofox-config.txt was found and contained valid configuration data which was deployed. Any affected services will now restart. You can disconnect the USB drive. | This does not mean that the information in the config file is correct - only that it was readable. Note that the “success” boot code will flash if at least one setting is successfully read - even if some data was not read successfully. |
|
| ✅ 5 medium blinks, each lasting 0.5 seconds | Boot complete. Always appears last. |
[!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.