[BusyBox] udhcpd leases
Frank R Callaghan
f.callaghan at ieee.org
Wed Aug 13 19:19:16 UTC 2003
Hi,
I'm trying to use udhcp (integrated in busybox pre2) in a small network
of embedded devices. This seem to work great but, the leases file
lease time seems very wrong !
I have set the leases: (the default anyway)
option lease 864000 # 10 days of seconds
Starting the first client, the client reports success with a
lease time of 864000 # 10 days of seconds as expected but looking
at udhcpd.leases with dumpleases reports:
# dumpleases -f /etc/udhcpd/udhcpd.leases
Mac Address IP-Address Expires in
00:d0:69:12:34:56 192.168.1.208 -682604737 seconds
and
# hexdump /etc/udhcpd/udhcpd.leases
0000000 d000 1269 5634 0000 0000 0000 0000 0000
0000010 a8c0 d001 50d7 3f47
0000018
Can someone please clue me in ??, also I was expecting to see the lease time
changing after SIGUSR1 but it doesn't ?
What am I missing here ?
TIA,
Frank.
More information about the busybox
mailing list