siemens / meta-iot2000

SIMATIC IOT2000 Yocto Board Support Package
Other
127 stars 85 forks source link

udhcpc can't handle ethernet hotplug #154

Open applea9 opened 4 years ago

applea9 commented 4 years ago

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.

jan-kiszka commented 4 years ago

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

jan-kiszka commented 3 years ago

Resolved?