What is the method for setting the time?
I need to set the clock one hour forward as we now have Daylight Saving time in Norway.
I'm running SliTaz 3.0.
What is the method for setting the time?
I need to set the clock one hour forward as we now have Daylight Saving time in Norway.
I'm running SliTaz 3.0.
Run tazctrlbox as root then -> Time -> Sync online -> Set from system
I think, there's also a "Control Box" entry somewhere in the main menu which starts tazctrlbox, too. The last step "Set from system" is phrased somewhat unclearly ... "Set hardware clock" would have been a better description of the function.
It's under "Start"---> System Tools---> Control Box and it starts as root by default.
You also may have to install glibc-locale to get a larger range of regions to pick from which you can see in /usr/share/zoneinfo - directories get added before the city like this: Africa/Johannesburg
In SliTaz control box, under the "Time" tab, we have
System time Sun Mar 25 11:47:54 UTC 2012 * Sync online
Hardware time Sun Mar 25 10:47:54 2012 0.000000 seconds * Set from system
Timezone UTC-1 -> Change
The only field I can change is where it says UTC-1, which I've changed to Europe/Copenhagen (same time zone/DST as Oslo).
Upoon reboot, time was 2 hours off instead of one, but then wrote UTC-2, which worked (after reboot), and it's now showing the correct time.
I need to change my system time too but I don't have Control Box here: Start---> System Tools---> Control Box. I'm running v4.0 RC3 - how can I change the time....it's one hour behind. Thank you.
on 4.0-RC3 you'll find sthg. like this:
start ---> setup ---> time zone configuration
become root and change the time settings to your needs. afterwards reboot.
hopefully i'm right, because i didn't try it myself.
Slitaz-4.0
Applications/Preferences/Time Zone configuration
Right click desktop/Choose Logout/Close X session: exit/OK
Login as tux,root,etc.
Time will be correct if you choose the correct timezone.
Reboot is not necessary.
In my case, I was offered a limited selections of locales which didn't include Australia. I followed trixar_za suggestion and installed additional locales via 'glibc-locale' using System Tools> Package Manager. Then as Mojo says!
still in 3.0: is there a command line to automate the procedure at startup ? (instead of having to open controlbox each time...)
Tx
Depends on the type of installation you have.
Full install /etc/TZ is persistent.
Frugal install with persistent /home pack it with tazpkg repack-config
,place config-1.0.tazpkg in /home/boot/packages folder so it auto-installs on boot.
tazusb writefs gzip
is another way to save it.
How to run scripts and unpack/install gzipped files with boot code options :
http://doc.slitaz.org/en:guides:frugal Tuning the boot process
tazusb does not work for me (i get a kernel panic when booting)
this is a full install, but I am confused.
I set /etc/TZ to Europe/Paris
When i start slitaz there is always 2 hours in advance (one hour in winter)and i need to sync it to make it work, or to modify /etc/TZ to go 2 timezone after (works, but not really clean of course)
Am I the only one to have this problem ?
The timezone set in /etc/TZ is based on running the motherboard hardware clock set to UTC
If you multiboot windows on the same motherboard windows sets the hardware clock to real time which in your situation is Paris time.
Which may explain why your software clock is 2 hours ahead of real time since the current (CEST)Paris time is 2 hours ahead of UTC. Let windows control the hardware clock at real time and set /etc/TZ to UTC so there is no offset between hardware and software clock. Software clock will then display realtime which is what windows sets the hardware clock to.
If it's not a windows dual boot issue make sure the hardware clock is set to UTC.
ok, i will experiment a little bit with it.
Tx
I'm having the same issue. On other Linux systems this setting is stored in /etc/sysconfig/clock, but there's no such file on Slitaz.
Isn't there any method of telling Slitaz that the hardware clock is already set to local time instead of UTC ?
You must log in to post.