LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-06-2005, 10:01 AM   #1
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Rep: Reputation: 15
HowTo default timezone to UTC?


The debian testing system setup the timezone is CST before started up gdm, but i wanna default it to be UTC. HowTo?
 
Old 09-06-2005, 10:08 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: HowTo default timezone to UTC?

Quote:
Originally posted by Mathsniper
The debian testing system setup the timezone is CST before started up gdm, but i wanna default it to be UTC. HowTo?
Run base-config and change the timezone selection.
 
Old 09-06-2005, 07:56 PM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by HappyTux
Run base-config and change the timezone selection.
What option is that under?
 
Old 09-06-2005, 08:02 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by Xian
What option is that under?
I would go with the second one "Configure Timezone".
 
Old 09-06-2005, 08:06 PM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by HappyTux
I would go with the second one "Configure Timezone".
Heh. Well, that's why I asked.
I ran base-config as su in a terminal and here are the options:

* Set up users and passwords
* Set the hostname
* Configure apt
* Select and install packages
* Exit the base system configuration
* Execute a shell
 
Old 09-06-2005, 08:21 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by Xian
Heh. Well, that's why I asked.
I ran base-config as su in a terminal and here are the options:

* Set up users and passwords
* Set the hostname
* Configure apt
* Select and install packages
* Exit the base system configuration
* Execute a shell
I was wondering why you would ask a question like that, what install do you have I get:

* Preconfigure language-related parameters
* Configure timezone
* Set up users and passwords
* Set the hostname
* Configure apt
* Select and install packages
* Postconfigure language-related parameters
* Configure the Mail Transfer Agent
* Exit the base system configuration
* Execute a shell

This on an AMD64 system with base-config 2.69 installed.

Code:
HappyTux:/home/stephen# apt-cache policy base-config
base-config:
  Installed: 2.69
  Candidate: 2.71
  Version Table:
     2.71 0
        500 http://amd64.debian.net unstable/main Packages
 *** 2.69 0
        100 /var/lib/dpkg/status
     2.53.10-0.0.0.1.pure64 0
        500 http://amd64.debian.net stable/main Packages
 
Old 09-06-2005, 08:32 PM   #7
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by HappyTux
I was wondering why you would ask a question like that, what install do you have....
Code:
# apt-cache policy base-config
base-config:
  Installed: 2.71
  Candidate: 2.71
  Version Table:
 *** 2.71 0
        500 ftp://mirror.mcs.anl.gov testing/main Packages
        100 /var/lib/dpkg/status

# uname -a
Linux linux 2.6.8-1-bs #1 Sun Aug 14 16:00:09 CDT 2005 i686 GNU/Linux
 
Old 09-06-2005, 08:52 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by Xian
Code:
# apt-cache policy base-config
base-config:
  Installed: 2.71
  Candidate: 2.71
  Version Table:
 *** 2.71 0
        500 ftp://mirror.mcs.anl.gov testing/main Packages
        100 /var/lib/dpkg/status

# uname -a
Linux linux 2.6.8-1-bs #1 Sun Aug 14 16:00:09 CDT 2005 i686 GNU/Linux
Seems weird that would differ that much but stranger things have happened. A person can always still use the tzconfig utility to do the same thing.
 
Old 09-07-2005, 10:00 AM   #9
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
tzconfig can't setup UTC. It always set CST before started up gdm....
 
Old 09-07-2005, 10:12 AM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by Mathsniper
tzconfig can't setup UTC. It always set CST before started up gdm....
And you have done what it suggests in the man page and set the UTC=yes in the /etc/default/rcS then made sure to go into your BIOS and actually set the time in there to what would be the correct UTC for you right now that would be IIRC +5 hours from the actual time on your watch.
 
Old 09-24-2005, 11:29 PM   #11
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
UTC have been equaled to "yes" in the /etc/default/rcS but It also startup CST mode. What's the matter with?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UTC Default timezone RHEL 4.0 Gordini2003 Linux - Enterprise 0 11-14-2005 05:04 AM
default Timezone display sailu_mvn Fedora 1 03-28-2005 02:36 AM
2 sound cards, howto configure one as default? Firestarter75 Mandriva 6 02-27-2005 10:33 PM
How do I get rid of UTC (timezone problem) Baldrick65 Mandriva 2 10-02-2003 07:48 AM
lilo, howto boot to windows by default csnow33 Linux - Newbie 7 09-08-2003 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration