On 12/18/2018 08:44 AM, Per Jessen wrote:
I was just doing some tests wrt the questions Bjoern asked, and I cannot figure out how to renew/refresh a dhcp lease with wicked?
From the man page, it looks like your are stuck with:
ifreload - checks whether a configuration has changed, and applies accordingly. To automatically re-apply changed sections of a configuration for specified interfaces, use wicked ifreload. This command performs necessary ifdown/ifup operations and attempts to apply detected differences. For additional, see the uses cases below. # wicked ifreload eth0 # wicked ifreload all There are 4 potential ifreload use cases: 1. Configuration unchanged ifreload does not touch specified interfaces. 2. Configuration changed performs ifdown followed by ifup with the new configuration on the specified interfaces. 3. Configuration deleted performs ifdown --delete in order to remove the specified interfaces. 4. New configuration added performs regular ifup on specified interfaces. **note:** 1. above. Looks like you will have to make some change or the reload will be ignored. Even though wickedd-dhcp4 (or -dhcp6) is what requests and renews the connection, man wickedd shows there are no user options to release/renew manually. (note the name of the systemd wicked daemon that does the handoff "wickedd-nanny" -- no kidding, it looks like it has taken all the direct control away from the user and dumbed it down to the point you can't force a release/renew the same way you can with dhcpcd) Before your question, I hadn't looked into wicked to see what was doable. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org