1

How to renew a client DHCP address with an OpenWrt router, from its SSH terminal session?

1

Done the research and answering to the future me. OpenWrt uses udhcpc as its DHCP client (rather than dhclient). To renew DHCP leases on all interfaces, the following one-liner can be used (thanks to the source):

PID=`pidof udhcpc` && kill -SIGUSR1 $PID

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.