googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.43k stars 274 forks source link

Problems with bad WiFi password #91

Open miniBloq opened 10 years ago

miniBloq commented 10 years ago

Hi,

I made this experiment just to see what happen and to add reliability to my Coder's WiFi connection: I changed the password to access to my WiFi network by an incorrect one.

What I have expected to happen when rebooting the RasPi was something like this:

  1. Coder tries to connect to the network with the bad password, waiting for a timeout.
  2. After the timeout, Coder knows that can it will not be able to connect.
  3. Coder goes again to Access Point mode, so I can connect to it and access with 198.168.0.1, without having to connect to the RasPi with physical keyboard and display.

But what happened in fact was:

  1. Coder tried to connect to the network and did not make it.
  2. I was not able to remotely access it again, so I had to use reset the wpa-supplicants.txt by hand locally, using a physical USB keyboard and HDMI display.

I think that this is possible, since if I switch off my WiFi router, and Coder just does not see the network, it goes to Access Point mode automatically.

But I don't figure out how to change this behavior but if someone gives me an idea I can make the modifications and the experiments.

Thanks! Julián

flvtxfreak commented 9 years ago

A somewhat similar problem I was having with Coder joining my network... I went thru the wifi config process twice with no luck. I then went and edited wpa_supplicant by hand and noticed the passkey was short 1 character. I corrected that and ifup'd wlano and it connected no problem. Weird.