udhcpc not stopped when configuring static IP
When an interface is configured as DHCP in /etc/network/interfaces
, udhcpc
is running on the designated interface. Makes sense.
But if changing the configuration to static ip, udhcpc
is still running after service networking restart
(or /etc/init.d/networking restart
), which leads to the interface changing for DHCP assigned IP after a while.
On reboot though, udhcpc
isn't launched, which is working as expected.