2013년 8월 30일 금요일

[ linux ]표준 시간대 (localtime )설정

http://cafe.naver.com/embeddedcrazyboys
http://www.mangoboard.com/




첨부한 zoneinfo.tgz 압축을 풀면 여러 나라들이 있습니다.
원하는 도시 파일을 /etc/localtime 파일 복사하면 끝입니다.
우리나라는 Seoul 파일을 /etc/localtime  복사하면 됩니다

 첨부 파일 



udhcpc –i eth0
rdate –s time.bora.net
hwclock –systohc
sync


# udhcpc -ieth0
udhcpc (v1.20.1) started
Sending discover...
Sending select for 192.168.3.8...
Lease of 192.168.3.8 obtained, lease time 7200
deleting routers
route: SIOCDELRT: No such process
adding dns 168.126.63.1
adding dns 168.126.63.2
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.3.1     0.0.0.0         UG    0      0        0 eth0
192.168.3.0     *               255.255.255.0   U     0      0        0 eth0
# rdate -s time.bora.net
# date
Sat Aug 31 11:05:46 KST 2013
# hwclock --systohc
[  173.976172] s3c_rtc_setalarm: 1, 2013.08.31 02:06:17
[  173.976225] setting S3C2410_RTCALM to 00000007
[  173.980300] s3c_rtc_setaie: aie=1
[  174.641213] s3c_rtc_setalarm: 1, 2013.08.31 02:06:18
[  174.641259] setting S3C2410_RTCALM to 00000047
[  174.645168] s3c_rtc_setaie: aie=1
# sync
# date

Sat Aug 31 11:06:23 KST 2013

댓글 없음:

댓글 쓰기