-
Notifications
You must be signed in to change notification settings - Fork 166
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
[Question][NG Mode, iMX8QXP Host, SPI mode] NetworkManager Or WPA Suppliciant to managment wifi connection #478
Comments
could you please share wpa_supplicant logs as well? |
Wifi Ap broadcast on channel 1 Using WPA SupplicantKernel Log
Wpa Service Log:
ESP32S3 Log:
Wifi Ap broadcast on channel 10 Using WPA SupplicantKernel Log
WPA Service Log
Ah i see that if AP broadcast on channel 1, WPA Supplicant also got some unexpected error on the first time authenticate , after retry 2nd time it successes. I tried several times no any problem. It always success on the first time authentication for AP Channel 10, and always need 2nd time to success authen on channel 1. |
Hi @nguyenlkdn, from the logs, it looks like AP has sent deauth with reason code 2(WLAN_REASON_PREV_AUTH_NOT_VALID), this could be due to the fact that station was previously connected to AP and then your reboot it. What happens at third attempt? |
I always reboot the board to perform the connection, so any previous connections cannot be established. Which procedure do you want me to attempt for 3rd? I performed third time by restart wpa service and It always authencator failed by 201 code.
And after restart wpa suppliciant it alway authen failed.
WPA Logging:
|
++Updated for 3rd attempt results It able to connect AP after 9 times retry authen Kernel Log
WPA LOg
|
Hi all!
I am comparing performance between NetworkManager and WPA Supplicant services to manage WiFi network interface for ESP NG
Host
Slave
Software
I found an issues with NetworkManager to wifi connect to AP broascast on channel 1
It always connect failed with reason 201
After i changed AP to broadcase on other channel ex. 10
It was able to connect successfully
For the other functions it looks work very well on both NetworkManager and WPA Supplicant
I refer to use NetworkManager because it support a lot of management tasks such as easy to connect, store AP configs easier...
So which one is the best choose for manage our wifi interface and ESPNG full compatible with both services?
The text was updated successfully, but these errors were encountered: