Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEP security not supported with Photon #30

Open
karlhenricksen opened this issue Sep 28, 2015 · 5 comments
Open

WEP security not supported with Photon #30

karlhenricksen opened this issue Sep 28, 2015 · 5 comments

Comments

@karlhenricksen
Copy link

Hi, I have only tried one router that supports WEP-security type so far, Linksys wrt-54g, but when I set that up and attempt to set Photon wifi up on that router using the particle app, it hangs at the "Connect to Wi-Fi network" screen for 2 min, before it throws up the "Oops" screen 3-7 times (this is a secondary issue with the app). Resetting the photon results in a solid / slightly flickering green LED and is unusable. Note there were no issues with connecting to this router with other devices, so I ruled out incorrect login/setup on phones and laptops.

We also see the same failure when we update wifi creds via serial

Steps:

  1. set up a router with WEP security - 64 or 128 bit (copy the WEP key)
  2. set Photon into blue blinking wifi setup mode
  3. connect phone to WEP router using WEP key
  4. launch Particle wifi app and walk through steps
  • connect to Photon-xxxx
  • enter WEP router credentials

Results:
2 min of waiting for Photon to connect followed by 3-7 rapid flashes of the "Oops" screen, then Photon is in steady/flickering green LED mode

HW/SW:
Photon system v 0.4.5
Router: Linksys wrt-54GL - WEP 64/128bit
Phone: iOS9

particle_connecting
particle_oops

@karlhenricksen
Copy link
Author

Also, should I open a separate issue for the multiple "Oops" screens that pop up on the app? Would imagine this may be one of the only times you'd see that problem, but it's not pretty.

@m-mcgowan
Copy link

@karlhenricksen have you seen this - https://community.particle.io/t/how-to-setup-wep-secured-network-on-the-photon/16026. Does formatting the password help?

@karlhenricksen
Copy link
Author

@m-mcgowan yes, that does help thanks, it appears to go through successfully though I do have to reset every time afterwards (FYI https://github.com/spark/firmware/issues/620 - setup with WEP looks to be a consistent way to reproduce that other issue).

Unfortunately this isn't a great solution for the customers that still use WEP (or have no control over their internet connections) since they wouldn't know to do this or have any feedback why their key doesn't work for Photon (though it's fine for other devices), so maybe it's more of an app issue - couldn't that be handled there? Just looking for a reasonable customer solution on this.

@pomplesiegel
Copy link

Hey @m-mcgowan, would it then make sense to have spark-setup-ios add the additional WEP formatting to the customer's inputted WEP password?

When a customer enters a WEP password for their computer or smartphone to join a network, they need not add any additional formatting. Shouldn't our WiFi migration app work in the same way?

@idokleinman
Copy link
Contributor

@pomplesiegel I guess we can make the device setup lib format the password for WEP cases. It is not high priority on our backlog tasks currently. You're most welcome to add this code and send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants