We are doing a large scale deployment of computers to replace some older ones. Part of the process involves releasing the IP address on the OLD PC before disconnecting it. Currently, this means logging into Win7 as administrator, opening a command prompt and typing IPCONFIG /RELEASE - a slow process, and it requires the admin password.
Surely this is a perfect job for TinyCore Base!
I have very limited Linux experience, but am learning a lot through this project. I just need a small script that will boot into a linux CLI, show the currently assigned IP address (IFCONFIG ETH0), and prompt the user to confirm that they want to release the IP. From what I can tell, the udhcpc term to send a DHCP_RELEASE command is killall -SIGUSR2 udhcpc
I've tried to add "IFCONFIG ETH0" to the end of the APPEND line in the ISOLINUX.CFG file but it doesn't display anything after booting to the TinyCore prompt. I've also tried "postexec='ifconfig eth0'" to no avail.
Would someone be able to assist me with some of the coding here? Many thanks...