Closed brz closed 4 months ago
Hello,
First of all, thank you for the nice huge work you've done providing this adapter 👍
I've faced a similar problem here trying to establish a WIFI connection (but with an error message "Unable to connect" instead of "Timeout").
I was trying to perform a connection to my Access Point with WPA2-PSK.
When I looked at the logs of my access point, I see the adapter connection successful, including the negociation of the pairwise key handshake, just like any other clients :
IEEE 802.11: authenticated IEEE 802.11: associated (aid 3) RADIUS: starting accounting session 0116CD47D6D34E41 WPA: pairwise key handshake completed (RSN)
But from the adapter point of view, it can't connect.
The logs provided by the adapter are very minimal and do not help to figure it out :
error: unable to connect to 'MY_WIFI' console: Command returned non-zero error code: 0x1 (ERROR)
After further investigation, I finally found out that my DHCP server wasn't answering to the adapter IP request. Problem solved !
Some things that should have facilitated my debugging process :
Thanks for reading and again for this amazing product !
Best,
farfade
it supports what esp-idf does at the development branch of the build date, so there is no limitation on using 2.4 or 5 GHz e.g.
if you need a fix IP, you can connect to the easi AP "EBUS" and adjust the IP settings for station mode accordingly (IMRPOV does not support setting a fix IP).
fix ip for wifi was added some releases ago, failed connect logging should be there already. so please check again and if it still fails, then post the output of the log command via serial repl
closed for inactivity
I received my v5 in the mail yesterday but I am unable to connect it to my Wi-Fi network. I installed firmware version 2023-06-18 and after select the Wi-Fi network and entering the password, I get the following screen:![afbeelding](https://github.com/john30/ebusd-esp32/assets/1662000/923fc395-e471-4f4e-bb29-1f71947cb198)
Afterwards the connection times out:![afbeelding](https://github.com/john30/ebusd-esp32/assets/1662000/433f1a84-56a8-4f95-9265-1bc428ee6dc1)
I am 100% certain that the password is correct. My Wi-Fi network supports 2.4GHz and 5Ghz but the 5Ghz network is not stable. It support Wi-Fi N (not ac or ax). I run OpenWRT on my router.
Since this didn't work I tried connecting to the EBUS AP from my smartphone, I can connect to the AP and was able to configure it successfully this way.