[ previous ] [ next ] [ threads ]
 
 From:  Fred Wright <fw at well dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] FW time update
 Date:  Fri, 10 Sep 2004 00:21:23 -0700 (PDT)
On Thu, 9 Sep 2004, Francesco wrote:

> Supposedly the FW is not directly connected to Internet (i.e., it is  only 
> used to create a VPN connection) it seems there is no way to update the FW 
> time.

In principle it can get it from any NTP/SNTP server, with no
"WAN" assumption, but IIRC all "standard" versions of msntp have a bug
related to numeric IPs.  In the absence of a hosts file, this means you
need DNS of some sort.

> In fact monowall specifies the reference of a  selectable UTP but in no way 
> the system clock can be used for the same purpose, nor it can be 
> done  manually.

The only thing msntp does is set the system time, which is also done at
startup from the battery clock (if available).  So you can do without NTP
if:

1) Your machine actually has a battery clock.  This lets out the WRAP
boards.

2) You keep the battery clock set to some semblance of the correct
time.  Their accuracies are often abysmal.

3) You set the battery clock to UTC, not local time.  Although m0n0wall
has adjkerntz in the image, it doesn't support LT-based RTCs.

					Fred Wright