LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-02-2017, 12:38 AM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Rep: Reputation: 7
TrueOS time clock setting


Hi there,

I have a very simple question to ask, how do I change the time clock ? there is no setting for this and the time clock is stuck at UTC, but the time zone is correct, I can set with command line though, the same computer running Linux has no problem, but also the same problem with win10 the time never sync.
 
Old 03-02-2017, 03:07 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Look in /usr/share/zoneinfo for your timezone name (EST=America/New_York for example) and then set the 'TZ' environmental variable for your user. Log Out/Log in hopefully == problem fixed.

BTW ... TrueOS! Looks like da'bomb. Do us all a favor and write a review...
Once you get your timezone set.
 
Old 03-03-2017, 03:15 AM   #3
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 646

Original Poster
Rep: Reputation: 7
The zoneinfo only shows an E what does that mean ? the TZ display correctly on taskbar clock but not the actual time, I set it in command line but it return to UTC next boot.

Review ? you gotta be kid me ! my arms and legs are all over the place, in simple word it is quite broken and incomplete, much broken than Debian where I originated from, in fact, this is the first *BSD I've ever successfully installed without stuck at Xorg, making progress but slooooooow !
 
Old 03-03-2017, 06:46 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
If you have a ~/.bashrc file you can set it there persistently by adding
export TZ=<your time zone>
so it is persistent between reboots. If you don't have a ~/.bashrc, put it in ~/.profile,

Quote:
this is the first *BSD I've ever successfully installed without stuck at Xorg, making progress but slooooooow !
BSD has a learning curve. --->
On the other hand, I've had a BSD NFS server running in a closet so long my wife has taken to stacking clothes on top of it. ( of course, I've never had the nerve to try to make it spawn an X-server, that just seemed a bridge too far...)
 
Old 03-10-2017, 07:59 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by dijetlo View Post
If you have a ~/.bashrc file you can set it there persistently by adding
export TZ=<your time zone>
so it is persistent between reboots. If you don't have a ~/.bashrc, put it in ~/.profile
Probably no bash installed on a FreeBSD system, unless installed from ports.

This might be worth a look also: https://www.freebsd.org/doc/handbook...alization.html
 
Old 03-10-2017, 08:14 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Now you pull out the manual ?????

thanks
 
Old 03-10-2017, 09:34 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
By the way, I tried to find TrueOS' own documentation for this, but no luck...
 
  


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
hardware clock time differs from system time after setting maxgsp Linux - Software 2 02-28-2009 07:15 AM
hardware clock time differs from system time after setting maxgsp Linux - Hardware 1 02-27-2009 05:24 AM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Setting the system clock to a time server? orange400 Linux - General 4 06-13-2005 01:59 PM
Setting the computer clock according to a time server on the internet didi86 Linux - Software 11 10-05-2004 08:52 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:53 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