zhuravskiy / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

DHCP lease bug #287

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. [root@RT-N16 root]$ /sbin/udhcpc -i vlan2 -p /var/run/udhcpc0.pid -bN61 -O33 
-O121 -O249
udhcpc (v1.19.2) started
Sending discover...
Sending select for 178.137.181.65...
Lease of 178.137.181.65 obtained, lease time 43200

2. [root@RT-N16 root]$ vi /tmp/udhcpc0.expires
1324166452

Why dhcp lease in file udhcpc0.expires so big?
Why value in file differs with DHCP offer?

RT-N16 1.9.2.7-rtn-r3497

Original issue reported on code.google.com by tische...@gmail.com on 17 Dec 2011 at 12:09

GoogleCodeExporter commented 8 years ago
Please don't spam bugtracker unless your get sufficient knowledge in UNIX & 
programs used(busybox in this case) in firmware.
Probably, you have to read wl500g.info forum.

/tmp/udhcpc0.expires contains unix time, not interval.

Original comment by lly.dev on 18 Dec 2011 at 6:49