Hi
Is information on current DHCP leases recorded anywhere?
On Debian it is in /var/lib/NetworkManager, but I haven't found anything similar in Slitaz.
Thanks
Hi
Is information on current DHCP leases recorded anywhere?
On Debian it is in /var/lib/NetworkManager, but I haven't found anything similar in Slitaz.
Thanks
I did an HDD install and looked everywhere with grep and found nothing so gave up on that tack and extappalated the information I needed from ifconfig.
If it helps anyone else I used:
ADDRESS=$(ifconfig eth0 | grep "inet addr" | cut -d":" -f2 | cut -d" " -f1)
to get the ip address.
Other info can be extracted similarly.
You must log in to post.