? Would you like to wait and monitor for Photons entering setup mode? Yes
> Monitoring nearby Wi-Fi networks for Photons. This may take up to a minute.
o Waiting for a wild Photon to appear... (press ctrl + C to exit)
there is a PHOTON network, and it is blinking blue…but not working. my wifi (os x) is not switching over to the photon network…i thought the cli might not have permissions, so i ran it as root as well…still no luck
yep. i agree. ive factory reset this photon a few times. i think i must have grabbed one from the tested/broken pile…its the problem with going to particle HQ and just grabbing random photons!
i am able to give the wifi credentials (manually entered, scan comes up empty), but i get the same rapid cyan with the quick orange/red burst. so weird!!
that would be rad! hey @mdma you around? im not particularly concerned about this one photon in my possession (i have a backup)…just wondering if you could shed some light for anyone else experiencing this.
don’t spend too much time on it, i know there are many pressing firmware topics to handle!
Once the photon and the cloud agree on a set of keys for the photon, the cloud locks in on that set until you do a
particle keys send DEVICE_ID KEY_FILE
that unlocks the keys for that device and leaves them open for a fresh try. When you’re erasing / re-flashing a photon, it’s possible to wipe its local key, and cause it to generate a fresh key.
In this case, that means someone would also have to unlock the keys on the cloud side. I think we can relax the key sending rules here if we start sending better notifications / alerts in these cases (e.g. “hey, your photon just changed its key”). The goal behind this key locking was to prevent man-in-the-middle attacks, but I’d like to find a happy middle ground. Sorry about that!
Sorry for the late follow up. Had a few people with this issue, so now I see the pattern and the solution.
NB! only do this if the device has NEVER connected to the cloud before and has the intermittent red blink while fast flashing blue. If the device has previously connected to the cloud successfully then the problem lies elsewhere and these steps are not required.
Using particle, first generate a new key:
particle keys new
Then put the device in DFU mode and flash this new key
dfu-util -d 2b04:d006 -a 1 -s 34 -D device.der
Then reboot the device and it should connect to the cloud.