debian顯示的時間跟bios的時間不同

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

debian顯示的時間跟bios的時間不同

文章kcqp5ovx » 週日 6月 22, 2008 2:22 pm

請問為何debian的時間和bios不同,要怎麼調.

我裝好debian-40r3後時間就和bios不同,查了一下timezone也的確是asia/taipei,不過時間卻差8小時.

記得上次灌時沒有問題的說.
kcqp5ovx
可愛的小學生
可愛的小學生
 
文章: 17
註冊時間: 週日 6月 22, 2008 2:01 pm

文章kcqp5ovx » 週日 6月 22, 2008 2:58 pm

感覺上debian好像把時間當成utc了,如果是這樣該如何告訴debian系統時間不是utc呢?
kcqp5ovx
可愛的小學生
可愛的小學生
 
文章: 17
註冊時間: 週日 6月 22, 2008 2:01 pm

文章訪客 » 週日 6月 22, 2008 4:04 pm

在Debian 4.0下 試看看下面的設定檔

/etc/default$ cat /etc/default/rcS
#
# Defaults for the boot scripts in /etc/rcS.d
#

# Time files in /tmp are kept in days.
TMPTIME=0
# Set to yes if you want sulogin to be spawned on bootup
SULOGIN=no
# Set to no if you want to be able to login over telnet/rlogin
# before system startup is complete (as soon as inetd is started)
DELAYLOGIN=yes
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=no
# Set VERBOSE to "no" if you would like a more quiet bootup.
VERBOSE=yes
# Set EDITMOTD to "no" if you don't want /etc/motd to be editted automatically
EDITMOTD=yes
# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
FSCKFIX=no
訪客
 

文章企鵝狂 » 週日 6月 22, 2008 5:05 pm

我是自己在profile裡面設定TZ

/etc/profile

TZ="Asia/Taipei"

這樣就不會是UTC了
http://news.bbc.co.uk/1/hi/world/asia-pacific/country_profiles/1285915.stm


Country profile: Taiwan
Map of Taiwan
Taiwan is the island which has for all practical purposes been independent for half a century, but which China regards as a rebel region that must be reunited with the mainland - by force if necessary.
企鵝狂
活潑的高中生
活潑的高中生
 
文章: 477
註冊時間: 週三 3月 31, 2004 11:13 am
來自: 台灣共和國

文章kcqp5ovx » 週六 6月 28, 2008 4:37 pm

/etc/default/rcS 改了好像沒變化.
/etc/profile 還沒機會試, 等到時試過了再來回.
kcqp5ovx
可愛的小學生
可愛的小學生
 
文章: 17
註冊時間: 週日 6月 22, 2008 2:01 pm

文章alex5168 » 週六 6月 28, 2008 10:17 pm

我試好像沒變化..........
alex5168
可愛的小學生
可愛的小學生
 
文章: 67
註冊時間: 週五 5月 11, 2007 11:06 pm

文章訪客 » 週日 6月 29, 2008 10:45 am

希望這一篇有你想要的http://translate.google.com.tw/translate?hl=zh-TW&sl=zh-CN&u=http://os.51cto.com/art/200710/57810.htm&sa=X&oi=translate&resnum=8&ct=result&prev=/search%3Fq%3Ddebian%2Butc%26complete%3D1%26hl%3Dzh-TW
訪客
 

文章訪客 » 週日 6月 29, 2008 10:57 am

抱欠, 重貼一次, 以下是原文
http://os.51cto.com/art/200710/57810.htm
訪客
 

文章kcqp5ovx » 週日 6月 29, 2008 1:51 pm

滿詳細的,thanks.
kcqp5ovx
可愛的小學生
可愛的小學生
 
文章: 17
註冊時間: 週日 6月 22, 2008 2:01 pm

文章alex5168 » 週一 6月 30, 2008 11:22 am

viewtopic.php?t=12275

ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
alex5168
可愛的小學生
可愛的小學生
 
文章: 67
註冊時間: 週五 5月 11, 2007 11:06 pm

文章mason » 週一 6月 30, 2008 5:56 pm

dpkg-reconfigure tzdata
skype:dantemason
http://blog.sikazozo.org
頭像
mason
快樂的大學生
快樂的大學生
 
文章: 547
註冊時間: 週二 9月 10, 2002 3:40 pm
來自: SIDE 3


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客