# USB Wi-Fi configuration is failing

> What to check when a device will not take Wi-Fi credentials from a USB drive, and the format the wifi.txt file has to be in.

- **Page** - https://iotready.com/docs/hardware/troubleshooting/usb-wi-fi
- **Book** - [Hardware](https://iotready.com/docs/hardware.md)
- **Section** - Troubleshooting

## Important notice

Our device only supports **2.4GHz Wi-Fi networks**. 5 GHz is not supported. Please ensure that your Wi-Fi network is operating on the **2.4GHz frequency range** before setting up our device for optimal performance.

## USB Wi-Fi configuration troubleshooting

If you encounter issues while using the USB method to configure Wi-Fi, please follow these steps:

- Please make sure the Wi-Fi credentials are correct.

- Check the file name on the USB drive, it should be `"wifi.txt"`.

- Ensure there is enough signal strength for Wi-Fi to connect (**-40 dBm to -55 dBm**).

- Retry the USB Wi-Fi configuration 2 or 3 times.

### Format for `wifi.txt` file

The `wifi.txt` file should be in this format and located directly in the root directory of the USB drive, without being contained within any folders.

**wifi.txt**

**SSID**

**PASSWORD**
