martin-ger / esp_wifi_repeater

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

Unable to connect #51

Open Matthww opened 7 years ago

Matthww commented 7 years ago

Hello

I’m unable to connect to the ESP after I configured everything with telenet. The ESP is visible on the router it’s connecting too and I can connect to the ESP from ththe router wifi but when I try to connect to the ESP ap it gives me a error saying “unable to connect”

martin-ger commented 7 years ago

Could you send me the output of "show" and "show stats"?

Matthww commented 7 years ago

show:

STA: SSID:almerewireless PW:pass
AP:  SSID:Matthew  PW:matthew1234test [open] IP:192.168.4.1/24
STA MAC: 5c:cf:7f:priv:priv:priv
AP MAC:  5e:cf:7f:priv:priv:priv
Clock speed: 80
MQTT: disabled

show stats:

System uptime: 0:21:18
Power supply: 2.714 V
0 KiB in (0 packets)
0 KiB out (0 packets)
External IP-address: 192.168.1.208
0 Stations connected to AP
Station: 9c:f3:87:priv:priv:priv - 192.168.4.2

after trying to connect:


System uptime: 0:23:13
Power supply: 2.710 V
3 KiB in (34 packets)
2 KiB out (10 packets)
External IP-address: 192.168.1.208
0 Stations connected to AP
Station: 9c:f3:87:priv:priv:priv - 192.168.4.2
Station: ec:ad:b8:priv:priv:priv - 192.168.4.3
Station: 54:e4:3a:priv:priv:priv - 192.168.4.4
Matthww commented 7 years ago

I tried to reflash it but now it's asking for a password to connect to an open wifi network??

I'm using a NodeMCU v3 lolin

martin-ger commented 7 years ago

Reflashing doesn't change the stored settings, try to do "reset factory" instead.

Your log shows, that it tried to connect (and maybe failed). However your ESP's AP is open, i.e. the password will not be used.

TienHuyIoT commented 7 years ago

Try flash an example SoftAP to Your ESP with ap_ssid and ap_password. Then, flash esp_repeater will OK.

Toxlen commented 4 years ago

I don't know if I should open an other issue or not but hear is my problem : I have a similar issue but i can connect and it works when the ap_open is 1. Just when there is a password and the ap_open is 0 my computer can't connect.

Here is what I see in the console during my computer connection attempts :

station: 34:02:86:priv:priv:priv join, AID = 1
station: 34:02:86:priv:priv:priv join, AID = 1
E:M 672
E:M 672
E:M 672
E:M 672
E:M 672
station: 34:02:86:priv:priv:priv leave, AID = 1
rm 1
station: 34:02:86:priv:priv:priv leave, AID = 1
martin-ger commented 4 years ago

"E:M XXX" is a typical error messages of the driver when it has a lack of buffers. It is an indication of overload. I am not aware how to improve that.