LwipIntfDev - static IP config for eth interfaces by JAndrassy · Pull Request #8076 · esp8266/Arduino · GitHub
Skip to content

LwipIntfDev - static IP config for eth interfaces#8076

Merged
d-a-v merged 4 commits into
esp8266:masterfrom
JAndrassy:LwipInfDev
Jun 18, 2021
Merged

LwipIntfDev - static IP config for eth interfaces#8076
d-a-v merged 4 commits into
esp8266:masterfrom
JAndrassy:LwipInfDev

Conversation

@JAndrassy

@JAndrassy JAndrassy commented May 23, 2021

Copy link
Copy Markdown
Contributor

There are some problems with Ethernet LwIP interfaces static IP configuration. I want to address them in this PR, but I need directions.
I tested the Ethernet interfaces for W5500 and ENC28j60 with WiFi off and eth.setDefault().

Problem one: DNS setting was not applied. The first commit in this PR has a commit with a proposal how to fix it. Additionally I added default value for dns parameters in config.

Problem two: static config only works if eth.config is followed by eth.setDefault(). I am new to LwIP. Maybe eth.config should have netif_set_up?

@d-a-v

d-a-v commented May 23, 2021

Copy link
Copy Markdown
Collaborator

@d-a-v d-a-v merged commit 15da163 into esp8266:master Jun 18, 2021
@d-a-v

d-a-v commented Jun 18, 2021

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants