Today I’ve had quite some trouble getting my Photon’s to connect to an Asus RT-N12E Wireless-N300 router. I wanted to share what worked, so that hopefully others won’t have so many problems in the future.
I’ve found other people having trouble with Asus routers:
In the end, I got it working after multiple tries over the course of a few hours.
I’m not sure that all of these steps were necessary, but who knows…
- removed a “_” from the SSID
- switched “wireless mode” to
legacyunder “wireless” settings
- disable “b/g protection”
- used WPA2 password, without “_”
- erase all the saved WiFi settings from the Photon, by holding the setup-button for 10 seconds. (as per wifi troubleshooting guide, step 3)
- enter the new credentials via serial:
- reboot the Photon in “safe” mode (hold “setup” button, reset, wait until blinking purple, release “setup”)
- wait until photon fully booted
- hold “Setup” button again, until it blinks dark blue (“listening mode”)
- use command line
particle serial wifi
- scan for wifi networks
- enter wifi password
- leave it alone for several minutes, blinking green, until it suddenly “clicks”, and connects, breathing green. (Router isn’t connected to internet, so doesn’t progress to cloud-connection)
(I had to retry the steps above quite a few times)
After it “clicks” the first time, reconnects after a powerdown of the Photon seem to be faster.
Powering down the router and retrying takes longer again. (Observation: the status LED blinks green, and after a few green blinks, 5-10 seconds, blinks white-ish once, and then continues blinking green. This cycle repeats multiple times before it succesfully (re)connects
Combinations that definitely DIDN’T work:
- SSID with “_”, using no encryption at all, with “wireless mode” set to
- SSID with “_”, using WPA2 encryption
- SSID without “_”, wireless mode
legacy, “b/g protection” enabled.
This post is mostly intended for documentation, in hopes of helping others save time.
Feedback / experience sharing is welcomed though!