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

udhcpc can't handle ethernet hotplug #154

Open
applea9 opened this issue Jun 26, 2020 · 2 comments
Open

udhcpc can't handle ethernet hotplug #154

applea9 opened this issue Jun 26, 2020 · 2 comments

Comments

@applea9
Copy link

applea9 commented Jun 26, 2020

Hi,

I set eth1 in dhcp mode. When I plug ethernet cable to eth1, udhcpc will add default gw in route table, but when I unplug it, udhcpc will not delete the default gw.

I see connman is installed in IOT2040. Could connman handle it?

Thanks.

@applea9 applea9 changed the title udhcpc can't handle ethernet hostplug udhcpc can't handle ethernet hotplug Jun 26, 2020
@jan-kiszka
Copy link
Collaborator

I suspect you can solve that with both, with udhcp via a ifdown script e.g.

@jan-kiszka
Copy link
Collaborator

Resolved?

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

No branches or pull requests

2 participants