Can't connect to wi-fi


#1

Hello! I am having a problem connecting my Photon to wi-fi.

I have turned off my Norton 360 Firewall.
I have turned off my Windows 10 Defender Firewall.
I have run particle doctor (successfully)
I have installed OpenSSL-Win32 (successfully)
I have run particle set up from c:\openssl-win32\bin
I can see my Photon on the Windows 10 network as “No internet, Open”

And yet, I get the following:


The device supports setup via serial.
setting up device 420022001851363034353731

Obtained magical secure claim code.

Claim code set. Now setting up Wi-Fi
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: [rescan networks]
? Select the Wi-Fi network with which you wish to connect your device: [rescan networks]
? Select the Wi-Fi network with which you wish to connect your device: [rescan networks]
? Select the Wi-Fi network with which you wish to connect your device: [rescan networks]
? Select the Wi-Fi network with which you wish to connect your device: (Use arrow keys)
──────────────

[rescan networks]


And no networks are found.

It did work once. But, I ran Particle CLI from the command line and now can’t find a network.
I would be very grateful for any help on this. Thank you.


#2

Can you try to enter the Wi-Fi credentials manually?

You can use:

particle serial wifi

#3

What Device OS are you running on the Photon?
Can you see the desired network on your computer?
Is the network visible (broadcasting SSID)?
What encryption? (if WEP, don’t bother :wink: / WPA2 Enterprise needs Device OS >= 0.7.0)
When prompted for Should I scan for nearby Wi-Fi networks? just try No


#4

Thanks for the responses! In response to ScruffR:

--------
Device OS?  If I enter 
particle -- version, 
1.32.4

See the desired network?
Yes, sort of -
If Photon is blinking blue, then I see
Photon-ZUTHZW
Open

I also see my internet networks:

XXXX
Secured

Encryption?
Router has available 
WEP
WPA
WPA2
WPA2 Enterprise 

I use WPA2, with cryptic key AES

When asked to scan for nearby wifi networks, I say no as follows and this is what I get:

Should I scan for nearby Wi-Fi networks? 
The device supports setup via serial.
setting up device 420022001851363034353731
> Obtained magical secure claim code.

Claim code set. Now setting up Wi-Fi
? Should I scan for nearby Wi-Fi networks? No
? SSID TP-LINK_XXXX
? Security Type WPA2
? Cipher Type AES
? Wi-Fi Password XXXX
Done! Your device should now restart.
! It doesn't look like your Photon has made it to the cloud yet.

? What would you like to do? Check again to see if the Photon has connected
! It doesn't look like your Photon has made it to the cloud yet.

? What would you like to do? Check again to see if the Photon has connected
! It doesn't look like your Photon has made it to the cloud yet.

? What would you like to do? Reconfigure the Wi-Fi settings of the Photon
! PROTIP: Hold the SETUP button on your device until it blinks blue!
Potentially unhandled rejection [3] VError: Error during setup: Serial timed out
    at C:\Users\Caroline\AppData\Local\particle\node_modules\particle-cli\dist\cmd\serial.js:718:10
    at tryCatchReject (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\makePromise.js:845:30)
    at runContinuation1 (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\makePromise.js:804:4)
    at Rejected.when (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\makePromise.js:625:4)
    at Pending.run (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\makePromise.js:483:13)
    at Scheduler._drain (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\Scheduler.js:62:19)
    at Scheduler.drain (C:\Users\Caroline\AppData\Local\particle\node_modules\when\lib\Scheduler.js:27:9)
    at nextTickCallbackWith0Args (node.js:452:9)
    at process._tickCallback (node.js:381:13)
? Press ENTER when your device is blinking BLUE

c:\OpenSSL-Win32\bin>

Thank you for any help!!!


#5

Device OS version is the version of the system firmware on your device.
You can get that via Listening Mode and particle identify

You can also try the legacy route without CLI.

  • connect via USB
  • put device in Listening Mode
  • open a serial terminal program (e.g. PuTTY)
  • send w to the device
  • provide data as prompted
  • hit RESET