Raspberry Pi and Espressif IoT devices can't connect to WiFi

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Mon May 01, 2023 19:17    Post subject: Raspberry Pi and Espressif IoT devices can't connect to WiFi Reply with quote
I have noticed that folowing devices does not connect via WiFi:

Raspberry Pi
Espressif IoT devices

However my phone and laptop connect without a problem.

When I try to connect I briefly can see at the wireless status page that a Legacy device wants to connect but it seems that it get no IP address from DHCP.

Are these known issues and what to do to prevent WiFi issues?

_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW


Last edited by Vaako on Mon May 01, 2023 23:51; edited 1 time in total
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 2072

PostPosted: Mon May 01, 2023 19:43    Post subject: Reply with quote
Pretty sure s/Expressif/Espressif.

https://www.espressif.com/

Without knowing exact build/configuration of wifi on what router, we would be grasping at straws.

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Mon May 01, 2023 23:55    Post subject: Reply with quote
dale_gribble39 wrote:
Pretty sure s/Expressif/Espressif.

https://www.espressif.com/

Without knowing exact build/configuration of wifi on what router, we would be grasping at straws.


Yep you are right Espressif I correct it.

My router is a Netgear Nighthawk R7800 installed DD-WRT v3.0-r52095 std (03/23/23)

With the R7800 official Netgear firmware these devices connects without a problem.

_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1795
Location: Illinois Moderator

PostPosted: Tue May 02, 2023 1:09    Post subject: Reply with quote
post a picture of your advanced 2.4ghz settings.

Likely you may need to disable LDPC under the advanced settings (Disable for ESP8266 chipsets)

I have a light string outside that uses ESP chips and don't have any issues with LDCP enabled.

I am using vanilla drivers, fwiw.

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]58381 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
ArjenR49
DD-WRT Guru


Joined: 05 Oct 2008
Posts: 721
Location: Helsinki, Finland / nr. Alkmaar, Netherlands

PostPosted: Tue May 02, 2023 9:01    Post subject: Reply with quote
On my R7800's IoT network (2,4 GHz only) I have one Blitzwolf smart plug with a MAC pointing to Espressif, Shanghai. Under Advanced settings LDPC is enabled (probably by default).
The 2,4 GHz wireless is at N/G Mixed and Full, 20 MHz bandwidth.

I used to have the 2,4 GHz wireless on auto channel, but a few days ago I fixed it at channel 11.

There are but a few other users around here, part of the time, but auto always left my wireless partly overlapping other signals, and in addition auto channel is not recommended ...

AFAIK, this smartplug with Espressif has always connected OK. When it was in a cabinet and a little bit further away, it did sometimes lose connection temporarily.
As it was only intended to measure power consumption of a new refrigerator, that was not a big thing. My other three smartplugs of the same brand and model have a different WiFi chip manufacturer, so there's no statistic ...
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Tue May 02, 2023 15:39    Post subject: Reply with quote
Here are my current settings of 2.4GHz
_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1795
Location: Illinois Moderator

PostPosted: Tue May 02, 2023 16:27    Post subject: Reply with quote
Change Firmware to Vanilla- Those drivers seems to play nice with more clients than do DDWRT drivers.

Disable U-APSD, let the client manage the power saving and not force it from the router end. Industry adoption of this setting is debatable- so don't bother using it.

Ack Timing- Don't use 0="Auto" use a hard number. I suggest 1800 or 2250, but I personally use 3150 to avoid cheap clients from blasting out my router signal with shorter timing.

Noise Immunity- Try toggling this one last after doing the above first. I use it on my settings.

Make those changes and reboot the ESP devices too, and things should start to magically work again.

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]58381 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Wed May 03, 2023 3:47    Post subject: Reply with quote
Unfortunately it still refuse to connect.

What about the Wireless Security, could that be the culprit ?

_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13426
Location: Netherlands

PostPosted: Wed May 03, 2023 6:55    Post subject: Reply with quote
See the sticky in this forum about best Wireless settings:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1198757#1198757

It recommends (among other things):
Quote:
Security
WPA2 Personal CCMP-128 (AES)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Sat May 06, 2023 7:47    Post subject: Reply with quote
All seems to work now although I have to do some more tests.

Espressif devices connecting without a problem Very Happy

The Raspberry Pi does also connect at 2.4GHz but not on 5GHz.

So I guess the 5GHz wireless settings are not okay for the Raspberry Pi.

Thanks you for the help to identify the issue and solve this problem.

I will post the wireless settings from my 5GHz and mabe this get also been solved.

_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 398

PostPosted: Fri May 26, 2023 20:56    Post subject: Reply with quote
The connections are better with the changes I made but still I have issues with Espressif devices not connecting to 2.4GHz WiFi.
_________________
Regards,
Vaako

2x Netgear R7800 Nighthawk - r58389 std (09/20/24)
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5900

PostPosted: Fri May 26, 2023 21:43    Post subject: Reply with quote
What are the current wireless settings? Never mind old screenshots TurboQAM Disable, Firmware Type Vanilla,
U-APSD Disable, Protection Mode None, RTS Threshold Disable, Beacon 200, DTIM 1, Airtime Fairness Disable,
ACK Timing is 450 increments, default 500 is 900. Use 1350 as middle ground, distant low signal clients 1800.

Security, WPA2 Personal and CCMP-128 (AES) checked only. 802.11w Management Frame Protection Disabled.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum