# Configuring via USB

**URL:** <https://community.garadget.com/t/configuring-via-usb/157>\
**Category:** Device Setup\
**Created:** [July 20, 2016, 4:42pm UTC](https://community.garadget.com/t/configuring-via-usb/157 "2016-07-20T16:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garadget](https://community.garadget.com/user_avatar/community.garadget.com/garadget/32/34_2.png) [@garadget](https://community.garadget.com/u/garadget)\
**Post date:** [July 20, 2016, 4:43pm UTC](https://community.garadget.com/t/configuring-via-usb/157/1 "2016-07-20T16:43:00Z")

</div>

If for any reason the Garadget configuration via WiFi is not working, there is a (somewhat geeky) way to configure the unit via USB interface:

[Setup Instructions](https://docs.particle.io/guide/getting-started/connect/photon/)  
[More Setup and Functions Reference](https://docs.particle.io/guide/tools-and-features/cli/photon/)  
[Functions Reference](https://docs.particle.io/reference/cli/)

[UPDATE]  
Particle has released the version of [command line interface with the installer](https://www.particle.io/products/development-tools/particle-command-line-interface) for Windows, Mac & Linux, so the process is less geeky now.

---

<div class="post-metadata">

**Author:** ![Wynn](https://community.garadget.com/user_avatar/community.garadget.com/wynn/32/142_2.png) [@Wynn](https://community.garadget.com/u/Wynn)\
**Post date:** [July 20, 2016, 8:03pm UTC](https://community.garadget.com/t/configuring-via-usb/157/2 "2016-07-20T20:03:44Z")

</div>

I had to resort to configuring one of my units via USB, and was successful doing so. Following the setup instructions, I installed Node.js and particle cli. I connected the device to my computer’s USB port. Then the following commands:

1. particle login
2. particle identify  
Copy the device id shown above
3. particle serial wifi
4. particle device add [device id]
5. (optional) particle device rename [device id] [friendly name]
6. particle logout
