For NTP (install client)
"ipkg install ntpclient"
- nvram set ntp_server=0.pool.ntp.org;nvram set time_zone="PST8PDT";nvram commit;echo "PST8PDT" > /etc/TZ; /usr/sbin/ntpclient -c 1 -d -s -h 0.pool.ntp.org
For DHCP lease time
nvram set dhcp_lease=43200 (for 12hours)
nvram commit

No comments:
Post a Comment