[EMAIL PROTECTED] wrote:
> 
> sadly, my eigerBeta2 based router must operate under some Draconian
> operating perameters (due to it being in the same room as where my wife
> studies for exams) .. hence it must be ultra quiet. I have implemented
> this by using a friends old (5+ years old!) laptop with the Hard disk
> removed. It does operate without any noise whatsoever, but lately I had
> received complaints about the rather loud fan that would go on
> intermittently (usually I wasn't even using the connection when this
> happened)    ... I found a setting in the BIOS to drop the laptop into
> a low power state when no activity was detected. ( Yes, I know that a
> router that enters sleep mode after a few minutes is indeed a sad
> beast, but such is my predicament!)
> 
> This works great, no more fan going on, and the power light turns
> yellow from green. No problems with using the network connection, the
> pcmcia cards seem to stay powered on, and as soon as I connect to a
> website on the outside or externally to the router via ssh, it works
> (without any noticeable lag in response time as it 'wakes up').
> 
> The trouble is that the routers time gets screwed up, as it doesnt seem
> to get updated when it is 'sleeping'. hence the uptime command is way,
> way off, and worse yet, timestamps on the logs are not accurate either!
> Looking through /etc/lrp.conf, I have seen a setting there for a date
> server that would be connected to in order to get the correct time. Has
> anyone used this? More importantly, can anyone list for me the date
> servers that they use? I have not ever used one of these before, and am
> in the Pacific Timezone. Also, what changes (if any) are required in
> the firewall rules (i.e. are there ports that need to be opened for the
> server(s) ????)
> 
> Thanks for any replies!


The definitive source for time servers has always been:

    http://www.eecis.udel.edu/~mills/ntp/servers.html

May I suggest a nice variety of Stratum 2 servers?  

I would search around, like the other fellow mentioned, and 
try to hash out the problems of updating your clock. 

Once you get the scripts to work, you have to figure out
a way to run a script when the laptop comes out of hibernation,
but not the rest of the time.  So a cron script that runs
every five minutes would work, but would be too often if you're
not using it and would put too much load on the public ntp servers 
for such a minor problem.  Plus, wouldn't a script bring
the laptop out of hibernation?

Can you just update the OS clock from the BIOS hwclock,
as long as the BIOS clock keeps the correct time during
suspend mode?

If so, you could do that with a cron script that checks
the two to see if they are different once every few minutes
or so.  If they are, it updates the OS clock with the hwclock.
(As long as this doesn't wake the computer out of suspend).

Does that seem to make sense?
Matthew

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to