This question is closely related to my previous question in this forum. I am writing a script to install software packages on 150 devices.
Since the Arduino Yun uses DHCP for obstaining an IP, I am trying to return the DHCP lease at the end of my installation script:
killall -USR2 udhcpc && halt
I am expecting any new device that is connected to the network to reuse the IP address released by the other device. Instead, any new device that is connected seems to make use of a new IP address.
Am I releasing the DHCP leases correctly? I don't want to end up using leases for 150 devices.