Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LwipIntfDev - static IP config for eth interfaces #8076

Merged
merged 4 commits into from
Jun 18, 2021
Merged

LwipIntfDev - static IP config for eth interfaces #8076

merged 4 commits into from
Jun 18, 2021

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.

None yet

2 participants