[leaf-user] Setting time/date clarification

2003-12-29 Thread Craig Caughlin
Hi folks,
I'm trying to set up Bering-uClibc 2.0.1 to have the most accurate
time/date functionality, and it "seems" from the docs that to do so is
using the ntpdate.lrp package (which requires the libm.lrp package). 

1.) Would using these packages be the most accurate timekeeping method
for Bering?

I have included both packages, placed an NTP server entry in the
ntp-servers file, and placed the following entries in my Shorewall
"zones" file per Bering documentation:

ACCEPT fw net udp ntp (if you want to query an external NTP server)
ACCEPT loc fw udp ntp (if you want to query your Bering box time server)

When I issue the date command, Bering shows:Mon Dec 29 16:28:21 UTC
2003

2.) After reading the Bering documentation, I'm confused on how to
adjust this for my time zone (I'm in Sacramento, California)

3.) Once adjusted, will Bering automatically adjust for Daylight Savings
Time?

Thank you,
Craig



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] Setting time/date clarification

2003-12-29 Thread Craig Caughlin
Hi folks,

(Please forgive me if this gets posted twice-the previous message seemed
to bounce back to me for some reason)

I'm trying to set up Bering-uClibc 2.0.1 to have the most accurate
time/date functionality, and it "seems" from the docs that to do so is
using the ntpdate.lrp package (which requires the libm.lrp package). 

1.) Would using these packages be the most accurate timekeeping method
for Bering?

I have included both packages, placed an NTP server entry in the
ntp-servers file, and placed the following entries in my Shorewall
"zones" file per Bering documentation:

ACCEPT fw net udp ntp (if you want to query an external NTP server)
ACCEPT loc fw udp ntp (if you want to query your Bering box time server)

When I issue the date command, Bering shows:Mon Dec 29 16:28:21 UTC
2003

2.) After reading the Bering documentation, I'm confused on how to
adjust this for my time zone (I'm in Sacramento, California)

3.) Once adjusted, will Bering automatically adjust for Daylight Savings
Time?

Thank you,
Craig   



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Setting time/date clarification

2003-12-29 Thread Craig Caughlin
Thank you, Erich

I had looked at the link that you pointed me to (thank you, though.),
and that's what I found confusing. I "assume" :-) that you need to
complete both Steps 5.1 & 5.2. Right???

On that assumption, I don't know if it's correct, but I made an entry in
the /etc/TZ that is: PST8PDT

1.) In Section 5.2, I see reference to the TZ variable. Does the
variable already exist, or does it need to be created? Where do I create
it?

Thank you,
Craig



-Original Message-
From: Erich Titl [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 29, 2003 9:03 AM
To: Craig Caughlin
Subject: Re: [leaf-user] Setting time/date clarification


Craig

At 08:35 29.12.2003 -0800, you wrote:
>Hi folks,
>I'm trying to set up Bering-uClibc 2.0.1 to have the most accurate 
>time/date functionality, and it "seems" from the docs that to do so is 
>using the ntpdate.lrp package (which requires the libm.lrp package).

I suggest ntpdate to set the time and ntpsimpl to keep the time


>1.) Would using these packages be the most accurate timekeeping method 
>for Bering?

Well a few well maintained cesium atomic clocks might do better ;-)

see http://tycho.usno.navy.mil/clocks.html


>I have included both packages, placed an NTP server entry in the 
>ntp-servers file, and placed the following entries in my Shorewall 
>"zones" file per Bering documentation:
>
>ACCEPT fw net udp ntp (if you want to query an external NTP server) 
>ACCEPT loc fw udp ntp (if you want to query your Bering box time 
>server)
>
>When I issue the date command, Bering shows:Mon Dec 29 16:28:21 UTC
>2003
>
>2.) After reading the Bering documentation, I'm confused on how to 
>adjust this for my time zone (I'm in Sacramento, California)

Setting local time offset is done differently in Bering and
Bering-uClibc

see

http://leaf.sourceforge.net/doc/guide/buci-tz.html


>3.) Once adjusted, will Bering automatically adjust for Daylight 
>Savings Time?

see above

HTH
Erich

THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Setting time/date clarification

2003-12-29 Thread Erich Titl
Craig

At 19:14 29.12.2003, Craig Caughlin wrote:
Thank you, Erich

I had looked at the link that you pointed me to (thank you, though.),
and that's what I found confusing. I "assume" :-) that you need to
complete both Steps 5.1 & 5.2. Right???
Right


On that assumption, I don't know if it's correct, but I made an entry in
the /etc/TZ that is: PST8PDT
looks OK to me. I believe the line has to be newline terminated.
You can look at your current TZ value with
echo $TZ

compare what you find with the documented strings.

1.) In Section 5.2, I see reference to the TZ variable. Does the
variable already exist, or does it need to be created? Where do I create
it?
Normally /etc/TZ is read at system boot. You can set TZ manually for your 
terminal session or add it to your .profile file.
I would just set it, save etc.lrp and reboot.

cheers
Erich
THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Setting time/date clarification

2003-12-30 Thread Erich Titl
I know it is bad karma to reply to ones own messages, but then I must have eaten 
really rotten things before I wrote this

At 00:37 30.12.2003 +0100, Erich Titl wrote:
>...
>Normally /etc/TZ is read at system boot. You can set TZ manually for your terminal 
>session or add it to your .profile file.
>I would just set it, save etc.lrp and reboot.

Please discard the above statement, someone must have swamped the local supermarket 
with bad weed.

/etc/TZ is normally used at session start to initialise the TZ variable.

Sorry for the noise
Erich

THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Setting time/date clarification

2003-12-30 Thread Craig Caughlin
Hi folks,
Hey, thanks Erich.

I forgot to ask you: I *think* I know what the ntpdate package is for
(updating the firewall itself), what's the ntpsimpl package for?

Thank you,
Craig



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erich Titl
Sent: Tuesday, December 30, 2003 12:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [leaf-user] Setting time/date clarification


I know it is bad karma to reply to ones own messages, but then I must
have eaten really rotten things before I wrote this

At 00:37 30.12.2003 +0100, Erich Titl wrote:
>...
>Normally /etc/TZ is read at system boot. You can set TZ manually for 
>your terminal session or add it to your .profile file. I would just set

>it, save etc.lrp and reboot.

Please discard the above statement, someone must have swamped the local
supermarket with bad weed.

/etc/TZ is normally used at session start to initialise the TZ variable.

Sorry for the noise
Erich

THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Setting time/date clarification

2003-12-30 Thread Erich Titl
At 06:24 30.12.2003 -0800, Craig Caughlin wrote:
>Hi folks,
>Hey, thanks Erich.
>
>I forgot to ask you: I *think* I know what the ntpdate package is for
>(updating the firewall itself), what's the ntpsimpl package for?

ntpdate (at least that is my opinion) is a one time shot to initialise the your 
timepiece
ntpsimple is a time client/server which makes the fine adjustment to your clock and 
can serve as a stratumN (probably 3) time server for you.

HTH
Erich


THINK 
Püntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html