공통적으로 /usr/share/zoneinfo/ 아래에 시스템 시간 지역에 대한 파일들이 들어있습니다. 한국에 계신다면 /usr/share/zoneinfo/Asia/Seoul 파일을 /etc/localtime 으로 복사해두시고 ntp 와 같은 시간 동기화 프로그램을 실행하셔서 컴퓨터 시간을 맞추십시오. /etc/conf.d/hwclock 파일이나 환경설정 파일에서 systohc 동기화 옵션을 활성화하시면 동기화 한 시간으로 시스템 시간이 변경될 것입니다. (BIOS 시간은 UTC 시간을 기준으로 설정되기 때문에 직접 BIOS 시간을 수정하면 시간 오차가 생기지만, /etc/localtime 파일이 있으면 BIOS 시간을 UTC 시간으로 인식하지 않고, 지역 시간으로 인식하기 때문에 듀얼부팅에서 사용하실 때 편리합니다.)
====
하나는 전부, 전부는 하나
It works like this: hwclock keeps a file, /etc/adjtime, that keeps some historical information. This is called the
adjtime file.
Suppose you start with no adjtime file. You issue a hwclock --set command to set the Hardware Clock to the true cur-
rent time. Hwclock creates the adjtime file and records in it the current time as the last time the clock was cali-
brated. 5 days later, the clock has gained 10 seconds, so you issue another hwclock --set command to set it back 10
seconds. Hwclock updates the adjtime file to show the current time as the last time the clock was calibrated, and
records 2 seconds per day as the systematic drift rate. 24 hours go by, and then you issue a hwclock --adjust com-
mand. Hwclock consults the adjtime file and sees that the clock gains 2 seconds per day when left alone and that it
has been left alone for exactly one day. So it subtracts 2 seconds from the Hardware Clock. It then records the cur-
rent time as the last time the clock was adjusted. Another 24 hours goes by and you issue another hwclock --adjust.
Hwclock does the same thing: subtracts 2 seconds and updates the adjtime file with the current time as the last time
the clock was adjusted.
Every time you calibrate (set) the clock (using --set or --systohc ), hwclock recalculates the systematic drift rate
based on how long it has been since the last calibration, how long it has been since the last adjustment, what drift
rate was assumed in any intervening adjustments, and the amount by which the clock is presently off.
A small amount of error creeps in any time hwclock sets the clock, so it refrains from making an adjustment that would
be less than 1 second. Later on, when you request an adjustment again, the accumulated drift will be more than a sec-
ond and hwclock will do the adjustment then.
It is good to do a hwclock --adjust just before the hwclock --hctosys at system startup time, and maybe periodically
while the system is running via cron.
The adjtime file, while named for its historical purpose of controlling adjustments only, actually contains other
information for use by hwclock in remembering information from one invocation to the next.
The format of the adjtime file is, in ASCII:
Line 1: 3 numbers, separated by blanks: 1) systematic drift rate in seconds per day, floating point decimal; 2)
Resulting number of seconds since 1969 UTC of most recent adjustment or calibration, decimal integer; 3) zero (for
compatibility with clock(8)) as a decimal integer.
Line 2: 1 number: Resulting number of seconds since 1969 UTC of most recent calibration. Zero if there has been no
calibration yet or it is known that any previous calibration is moot (for example, because the Hardware Clock has been
found, since that calibration, not to contain a valid time). This is a decimal integer.
Line 3: "UTC" or "LOCAL". Tells whether the Hardware Clock is set to Coordinated Universal Time or local time. You
can always override this value with options on the hwclock command line.
어느 분이 이미 삽질을 하시고 그 과정을 kldp 에 올려주신 적이 있는데, 찾질 못하겠네요.
UTC/Localtime 선택을 잘못한 채로 windows 와 듀얼부팅을 하는 와중에 /etc/adjtime 에 오차가 계속 누적되어 결국 듣보잡 시각으로 바뀌는 증상을 하소연 한 글이었습니다.
저도 고치는법은 모르겠습니다
제대로 설명을 못해드려서 우선 죄송하다는 말씀을 드리구요
맨처음 리눅스 설치시에 세계지도 나오고 시간대 선택할때
아래에 무슨 체크표시가 있습니다 그것을 체크표시하고 설치하면 그렇더군요
저는 그래서 그부분 체크표시를 하지 않고 설치를 합니다 그러면 시간이 제대로 나오더군요
설치하고나서 변경하는법은 몰라서 죄송합니다
이렇게 하면 되려나 모르겠네요
시간에서 우클릭하시구요
날짜 및 시간 조정을 선택하시면 가장 오른쪽에 시간대가 있구요
그곳에서 하단에 "시스템의 시간을 UTC에 맞춤" 선택을 해제해보세요
.
.
어떤 배포판을 쓰고 계시나요?
공통적으로 /usr/share/zoneinfo/ 아래에 시스템 시간 지역에 대한 파일들이 들어있습니다. 한국에 계신다면 /usr/share/zoneinfo/Asia/Seoul 파일을 /etc/localtime 으로 복사해두시고 ntp 와 같은 시간 동기화 프로그램을 실행하셔서 컴퓨터 시간을 맞추십시오. /etc/conf.d/hwclock 파일이나 환경설정 파일에서 systohc 동기화 옵션을 활성화하시면 동기화 한 시간으로 시스템 시간이 변경될 것입니다. (BIOS 시간은 UTC 시간을 기준으로 설정되기 때문에 직접 BIOS 시간을 수정하면 시간 오차가 생기지만, /etc/localtime 파일이 있으면 BIOS 시간을 UTC 시간으로 인식하지 않고, 지역 시간으로 인식하기 때문에 듀얼부팅에서 사용하실 때 편리합니다.)
====
하나는 전부, 전부는 하나
시간이 점점
시간이 점점 느려지는 것이면, 마더보드의 배터리를 교체 해야할듯 합니다.
혹시;;
제가 좀 궁금한 거에여
1. 메인보드에 있는 수은 베터리가 이상한지
2. 혹시 썸머타임하고는 상관이 있는건가요?
3. 제어판 쪽에서 시간 설정이 제대로 되어 있는지를 볼꺼 같습니다.
도움이 되었으면 하네요 ;;;
----------------------------------------------------------
It's feasible to make an inspiration on your own.
----------------------------------------------------------
It's feasible to make an inspiration on your own.
질문하신 분께서
질문하신 분께서 시간을 맞추어도 다시 느려진다고 하신거 보면
기계적인 문제 같지 않나요? 잘 모르지만, 대충 메인보드 건전지 같은거겠죠..
설정 변경해서 해결될 문제는 아닌거 같은데요...
듀얼부팅일때 문제가 있더군요
윈XP 리눅스 듀얼부팅하는데
리눅스 설치시 시간설정에 UTC 사용 체크를 해놓으면 시간이 항상 이상하더라구요
/etc/adjtime 파일에
/etc/adjtime 파일에 대한 설명입니다.
어느 분이 이미 삽질을 하시고 그 과정을 kldp 에 올려주신 적이 있는데, 찾질 못하겠네요.
UTC/Localtime 선택을 잘못한 채로 windows 와 듀얼부팅을 하는 와중에 /etc/adjtime 에 오차가 계속 누적되어 결국 듣보잡 시각으로 바뀌는 증상을 하소연 한 글이었습니다.
OTL
저도 군대있을때 동기화 서버가 그런 예러가 있더군요..
그 PC는 리눅스만 깔려 있었는데..
웨 이런일이 생기나 궁금하네요..
============================================================
선한 인간이냐 악한 인간이냐는 그사람의 의지에 달렸다. -에픽테토스-
의지 노력 기다림은 성공의 주춧돌이다. -파스퇴르-
============================================================
============================================================
선한 인간이냐 악한 인간이냐는 그사람의 의지에 달렸다. -에픽테토스-
의지 노력 기다림은 성공의 주춧돌이다. -파스퇴르-
============================================================
댓글 달기