Skip to content

Conversation

@JAndrassy
Copy link
Contributor

@JAndrassy JAndrassy commented May 23, 2021

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
Copy link
Collaborator

d-a-v commented May 23, 2021

Problem1: The current changes are OK with me.
(I'll check on problem2 later)

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

d-a-v commented Jun 18, 2021

@JAndrassy Thanks!
Can you please open a new issue for your problem2 ?

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?

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