Wifi Connection

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
helste
New user
Posts: 4
Joined: 23 Apr 2020, 16:44

Wifi Connection

#1 Post by helste » 23 Apr 2020, 17:11

First of all - I am new here :)
I use the releases mega-20200410, mega-20200328 and mega-20200310 on NodeMCU and Wemos Mini D1 (both 12E with 4 MB) . I always lose the connection to WiFi /web interface. Only when I reboot my router (Fritz.Box), I get a connection to the web interface / WiFi again -> exactly once, then the game starts again, no connection ;)
Can someone tell me what I'm doing wrong?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wifi Connection

#2 Post by TD-er » 23 Apr 2020, 21:13

Can you give a bit more information?
For example, do you use DHCP, or a fixed IP?

Has the Fritzbox a fixed WiFi channel, or does it switch to different channels?
If it switches to another channel, can you see what channels it is using? (e.g. channel 13 or 14)

Do you have mDNS enabled on the ESP?

If you need to reboot the router to make it work again, then there is something in the router preventing the ESP to connect.
Can you see in the logs of the Fritzbox if it is actively blocking a node? Maybe the Fritzbox labels an ESP node as misbehaving, so it will block the node for a while.

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: Wifi Connection

#3 Post by iron » 24 Apr 2020, 06:33

Sounds like an IP conflict. Try setting a static IP from outside the DHCP lease pool.

-D
-D

helste
New user
Posts: 4
Joined: 23 Apr 2020, 16:44

Re: Wifi Connection

#4 Post by helste » 24 Apr 2020, 08:40

I use DHCP.
FritzxBox 2.4GHz / 5GHz channels are fixed
Even if I set ESP8266 to fixed IPs, the same thing happens.
I do not use mDNS.
There are no problems or conflicts in the system log of the FritzBox.
I have some ESP8266 / ESP32 in use, which were flashed via Arduino, Micro-Python, ESPEasy,....
Only with ESPEasy I have this problem, all others work fine!
Any idea?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wifi Connection

#5 Post by TD-er » 24 Apr 2020, 10:37

Can you test ESPEasy with an older core version? (e.g. core 2.5 or 2.4)

helste
New user
Posts: 4
Joined: 23 Apr 2020, 16:44

Re: Wifi Connection

#6 Post by helste » 24 Apr 2020, 21:15

I have tried core 2.4.2 and 2.5.2, it is the same problem as before.
I have discovered that the ESPEasy esp8266 are most of the time "online".
The problem is that I cannot reach any of them (ESPEasy esp8266) via web-interface.
Fixed IP-addresses do not change anything.
As I have mentioned before, with the other esp8266 (without ESPEasy) I don't have this problem!
Does anyone have any idea?

helste
New user
Posts: 4
Joined: 23 Apr 2020, 16:44

Re: Wifi Connection

#7 Post by helste » 25 Apr 2020, 13:18

I have found the mistake!
Is was a problem with the DHCP Server settings in my Fritzbox.
Many thanks for the support to the community.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wifi Connection

#8 Post by TD-er » 25 Apr 2020, 15:40

Thanks for reporting back after you have found the culprit.
It may help others searching for it.

Just thinking out loud. I could add a check in ESPEasy if there is an IP conflict in the network.
For example doing an ARP call of my own IP address and see if I get a report for another MAC address than my own.
Not sure yet what to do with the information, as it may be outdated information, or some other viable explanations....

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests