Can't connect to Raspberry pi AP

servange
Posts: 2
Joined: Mon Apr 24, 2023 6:21 am

Can't connect to Raspberry pi AP

Postby servange » Mon Apr 24, 2023 7:15 am

Hello

I'm developping an application with a raspberry pi 3 as AP.
I installed the latest Raspian Os and I don't use dchpcp but NetworkManager.

I use a FireBeetle-ESp32 board. I also tested a Wemos Lolin 32 board
I've made a simple test program to try to connect
When I compile with the program with the V2.0.7 or 2.0.8, I can't connect to the Wifi AP
If I scan the wifi the acces point is well listed but when I try to connect to it, I receive an error WL_NO_SSID_AVAIL

I downgrade to the 1.0.6 version and it works fine.

I don't say it but I can connect another device on the Rapsberry pi without any trouble, and I can connect my ESp32 on another AP for example a phone share connection

Can you help me ?

Thank you


Notice: I rename the .ino file to .cpp to attach it


--------------------
Output with V1.0.6 version
Scan done
2 networks found
Nr | SSID | RSSI | CH | Encryption
1 | WifiMaisonNous | -44 | 1 | WPA+WPA2
2 | btssnir | -52 | 1 | WPA


[WiFi] Connecting to btssnir
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is connected!
[WiFi] IP address: 10.42.0.20



----------------- Output with V2.0.8
Scan done
2 networks found
Nr | SSID | RSSI | CH | Encryption
1 | WifiMaisonNous | -45 | 1 | WPA+WPA2
2 | btssnir | -48 | 1 | WPA


[WiFi] Connecting to btssnir
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] WiFi is disconnected
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] SSID not found
[WiFi] Failed to connect to WiFi!
Attachments
testWifiEsp32Rpi.cpp
(4.26 KiB) Downloaded 213 times

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: Can't connect to Raspberry pi AP

Postby lbernstone » Mon Apr 24, 2023 5:23 pm

WPA is no longer considered secure, so is disallowed by default.
https://docs.espressif.com/projects/ard ... insecurity

servange
Posts: 2
Joined: Mon Apr 24, 2023 6:21 am

Re: Can't connect to Raspberry pi AP

Postby servange » Tue Apr 25, 2023 7:08 am

Thank you very much for your answer.

I've tried to change the min security level and it works fine.

akashsiva
Posts: 1
Joined: Sun Sep 01, 2024 6:46 am

Re: Can't connect to Raspberry pi AP

Postby akashsiva » Sun Sep 01, 2024 6:47 am

I am facing the same issue, please tell me to set the min security level. please ASAP!!


Who is online

Users browsing this forum: No registered users and 158 guests