Connection issue on ETH static IP

Moderators: grovkillen, Stuntteam, TD-er

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

Connection issue on ETH static IP

#1 Post by iron » 31 Jan 2023, 13:33

My ESP32 ETH boards work great when on DHCP but can NOT access the web interface when setting them to static IP (even wen on the same subnet / physical)

UDP/ P2P Networking works

20221224

10107 : Info : ETH event: Started
10107 : Info : ETH event: Connected
10153 : Info : Webserver: start
10155 : Info : ETH IP : Static IP : 195.97.88.132 GW: 195.97.88.142 SN: 0.0.0.0 DNS: 1.1.1.1
10156 : Info : ETH IP : Set DNS: 1.1.1.1/0.0.0.0
10157 : Info : ETH MAC: 4C:11:AE:D8:EA:C7 Static IP: 195.97.88.132 (ESP-Easy) GW: 195.97.88.142 SN: 0.0.0.0 DNS: 1.1.1.1/0.0.0.0 FULL_DUPLEX 100Mbps
10158 : Info : WIFI : Arduino wifi status: WL_NO_SHIELD 255 ESPeasy internal wifi status: DISCONNECTED
10159 : Info : UDP : Start listening on port 8266
-D

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

Re: Connection issue on ETH static IP

#2 Post by TD-er » 31 Jan 2023, 13:52

Can you also try a later build?

Sounds like an issue we fixed almost immediately after the 'christmas' build.

For example this GitHub Actions build: https://github.com/letscontrolit/ESPEas ... 4031976900

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

Re: Connection issue on ETH static IP

#3 Post by iron » 31 Jan 2023, 19:53

TD-er wrote: 31 Jan 2023, 13:52 Can you also try a later build?

Sounds like an issue we fixed almost immediately after the 'christmas' build.

For example this GitHub Actions build: https://github.com/letscontrolit/ESPEas ... 4031976900
Same behavior in that release as well. :(
-D

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

Re: Connection issue on ETH static IP

#4 Post by iron » 01 Feb 2023, 17:51

Something is definitely not correct here.
This is after a reset on DHCP ETH

131339: static_file: /esp.css
131340: Serve 304: 1675277250 /esp.css
135447: Webserver 1 Arguments: 0: 'fdm' length: 2
135560: static_file: /esp.css
135561: Serve 304: 1675277250 /esp.css
136578: Webserver 2 Arguments: 0: 'fdm' length: 2 1: 'savepref' length: 16
136581: SaveToFile: free stack: 7280
136844: FILE : Saved config.dat offset: 0 size: 3020
136844: SaveToFile: free stack after: 7280
136845: Skip saving SecuritySettings, not changed
136935: static_file: /esp.css
-D

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

Re: Connection issue on ETH static IP

#5 Post by TD-er » 01 Feb 2023, 18:11

I don't see why that should be an indication something is not right here?

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

Re: Connection issue on ETH static IP

#6 Post by iron » 01 Feb 2023, 19:01

TD-er wrote: 01 Feb 2023, 18:11 I don't see why that should be an indication something is not right here?
1. I have never seen this on any of my other nodes.

2. This repeats in the logs every few seconds and the web UI becomes unusable for some seconds with great lag

3. This message goes away when on WiFi interface and web UI is as snappy as usual
-D

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

Re: Connection issue on ETH static IP

#7 Post by TD-er » 01 Feb 2023, 19:35

Code: Select all

131339: static_file: /esp.css
131340: Serve 304: 1675277250 /esp.css
This part is related to serving a cached version of the CSS. (http code 304)

Code: Select all

136578: Webserver 2 Arguments: 0: 'fdm' length: 2 1: 'savepref' length: 16
136581: SaveToFile: free stack: 7280
136844: FILE : Saved config.dat offset: 0 size: 3020
136844: SaveToFile: free stack after: 7280
136845: Skip saving SecuritySettings, not changed
This is about you saving something to the settings file, where only the actually changed data is being saved.

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

Re: Connection issue on ETH static IP

#8 Post by iron » 02 Feb 2023, 14:59

This is why I mentioned there is something wrong... none of this should have happened as there is no reason for any of this, yet all that activity is there and repeating
-D

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

Re: Connection issue on ETH static IP

#9 Post by TD-er » 02 Feb 2023, 15:04

It seems like there must be some browser is trying to save settings then, as it does show webserver calls, followed by some calls to save settings.

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

Re: Connection issue on ETH static IP

#10 Post by iron » 02 Feb 2023, 17:12

Based on your responses all is fine, nothing wrong, no action need to be taken.
I just have to convince the ETH devices of this so they can fix themselves and start behaving the same as when on WiFi :)
-D

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

Re: Connection issue on ETH static IP

#11 Post by TD-er » 02 Feb 2023, 17:19

No I am not convinced all is OK, just that the symptoms you mention are not likely related to issues related to Ethernet stability.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests