# Wifi setup over CLI

**URL:** <https://community.particle.io/t/wifi-setup-over-cli/17047>\
**Category:** Troubleshooting\
**Created:** [November 1, 2015, 4:27am UTC](https://community.particle.io/t/wifi-setup-over-cli/17047 "2015-11-01T04:27:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zomerfeld](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zomerfeld/32/14026_2.png) [@zomerfeld](https://community.particle.io/u/zomerfeld)\
**Post date:** [November 1, 2015, 4:27am UTC](https://community.particle.io/t/wifi-setup-over-cli/17047/1 "2015-11-01T04:27:19Z")

</div>

Hi!

I can’t seem to setup wifi over the CLI.  
IT jumps immediately from:

```
> I have detected a Photon connected via USB.
? Would you like to continue with this one? Yes
! The Photon supports secure Wi-Fi setup. We'll try that first.

```

to:

```
    ! PROTIP: Wireless setup of Photons works like a wizard!
    ! PROTIP: We will automagically change the Wi-Fi network to which your computer is connected.
    ! PROTIP: You will lose your connection to the internet periodically.

> No nearby Photons detected. Try the `particle help` command for more information.

```

Any idea why?

---

<div class="post-metadata">

**Author:** ![wgbartley](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/wgbartley/32/1910_2.png) [@wgbartley](https://community.particle.io/u/wgbartley)\
**Post date:** [November 1, 2015, 4:55am UTC](https://community.particle.io/t/wifi-setup-over-cli/17047/2 "2015-11-01T04:55:30Z")

</div>

I haven’t personally tried to set up wifi that way. If you have it connected to your computer with USB, try using `particle serial wifi`. It will do all of the setup over serial instead of wifi.
