martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.8k stars 905 forks source link

can't connect to home router (state b0, reason 2) #394

Open ghost opened 4 years ago

ghost commented 4 years ago

Dear Martin,

I was trying to get esp8226 nat router running. Flashing went smooth and successfully, could connect to 192.168.4.1. However, I was not able setting up the connection to my home router via the web interface.

Using COM connection I tried the easy way (setting ssid and password), then I tried beeing a little bit more specific (setting ssid, bssid, SAT IP, netmask, gateway, password) and of course I checked if the router is even available by scanning for APs.

I'm getting the following error:

scandone
state: 0 -> 2 (b0)
state: 2 -> 0 (2)
reconnect
disconnect from ssid WLAN-595083, reason 2

I don't get why the auth is expiring after few seconds and have no clue how to interpret the state transitions.

Keen for help :)

starbrights commented 6 months ago

Same issue here:

...
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt 
state: 5 -> 2 (2a0)
rm 0
disconnect from ssid guest, reason 2
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)