[arch-general] time setting problem after installing.
Hi all, I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks. Matthew -- Sent from my Arch Linux VM
On 3 July 2016 at 22:27, matthew dyer via arch-general <arch-general@archlinux.org> wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
I didn't understand half of what you said, but: a) to set the system wide timezone use the command: timedatectl set-timezone Europe/London b) to enable a ntp client you can use systemd-timedate, enable it with: timedatectl set-ntp yes -- damjan
On 07/03/2016 03:27 PM, matthew dyer via arch-general wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
Hi Matthew, Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC. -- Kenneth Jensen
Kennoth, I am on a mac using easteron. I am the us ohio. NewYork would be the closest time zone . I think it is a matter of changing it to use america/new_York if that makes sence. Matthew On 07/03/16 22:39, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:27 PM, matthew dyer via arch-general wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
Hi Matthew, Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC.
-- Sent from my Arch Linux VM
On 07/03/2016 03:50 PM, matthew dyer via arch-general wrote:
Kennoth, I am on a mac using easteron. I am the us ohio. NewYork would be the closest time zone . I think it is a matter of changing it to use america/new_York if that makes sence.
Matthew
On 07/03/16 22:39, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:27 PM, matthew dyer via arch-general wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
Hi Matthew, Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC.
There are named timezones in the /usr/share/zoneinfo/US directory; try ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime then check the date. If this does not work, try replacing US/Eastern with UTC. -- Kenneth Jensen
Hi, The date is set fine it is just the time that is off.. Matthew On 07/03/16 20:56, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:50 PM, matthew dyer via arch-general wrote:
Kennoth, I am on a mac using easteron. I am the us ohio. NewYork would be the closest time zone . I think it is a matter of changing it to use america/new_York if that makes sence.
Matthew
On 07/03/16 22:39, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:27 PM, matthew dyer via arch-general wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
Hi Matthew, Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC.
There are named timezones in the /usr/share/zoneinfo/US directory; try ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime then check the date. If this does not work, try replacing US/Eastern with UTC.
-- Sent from my Arch Linux VM
Part of the beginner's guide tells you exactly how to do this. How did you install Arch? On Mon, Jul 4, 2016 at 6:24 AM, matthew dyer via arch-general <arch-general@archlinux.org> wrote:
Hi,
The date is set fine it is just the time that is off..
Matthew
On 07/03/16 20:56, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:50 PM, matthew dyer via arch-general wrote:
Kennoth, I am on a mac using easteron. I am the us ohio. NewYork would be the closest time zone . I think it is a matter of changing it to use america/new_York if that makes sence.
Matthew
On 07/03/16 22:39, Kenneth B. Jensen via arch-general wrote:
On 07/03/2016 03:27 PM, matthew dyer via arch-general wrote:
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
Hi Matthew, Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC.
There are named timezones in the /usr/share/zoneinfo/US directory; try ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime then check the date. If this does not work, try replacing US/Eastern with UTC.
-- Sent from my Arch Linux VM
On Sun, 3 Jul 2016 22:50:17 +0200, matthew dyer via arch-general wrote:
On 07/03/16 22:39, Kenneth B. Jensen via arch-general wrote:
Did you set the timezone correctly? If so, is your virtual machine using your machine's time as UTC? If it is, then make sure that you set your timezone as UTC. Kennoth, I am on a mac using easteron. I am the us ohio. NewYork would be the closest time zone . I think it is a matter of changing it to use america/new_York if that makes sence.
No, if the virtual machine get's local time, then "The hardware clock can be queried and set with the timedatectl command. To change the hardware clock time standard to localtime, use: # timedatectl set-local-rtc 1" - https://wiki.archlinux.org/index.php/time IIRC a long time ago I experienced an issue. Just setting to local time didn't work. IIRC I needed to repeat it, # timedatectl set-local-rtc 1 # timedatectl set-local-rtc 0 # timedatectl set-local-rtc 1 or I had to do a similar strange workaround.
On Sun, 3 Jul 2016 22:27:56 +0200, matthew dyer via arch-general wrote:
How can I change my time to the corect local time?
Don't correct local time, chose the wanted local time. https://wiki.archlinux.org/index.php/time#Time_zone
Hi, I got the timezone set america/new_york. Will see what I can do about getting the time set correctlly eventually. I thought after setting the correct tz it would set the correcrt time from ntpd, but it is still showing the time differenrt then what the time is by over 4 hours. For example, current local time here is about 6:20 here but when I check the time using orca, I see that it is about 10:20 or in orcas catse it is 22:20. It is very strange. Matthew On 07/03/16 20:39, Ralf Mardorf wrote:
On Sun, 3 Jul 2016 22:27:56 +0200, matthew dyer via arch-general wrote:
How can I change my time to the corect local time? Don't correct local time, chose the wanted local time. https://wiki.archlinux.org/index.php/time#Time_zone
-- Sent from my Arch Linux VM
ln -s /usr/share/zoneinfo/America/New_York >/etc/localtime<enter> That's a one time operation and should have been one of your beginning installation steps. I got many of mine from the beginner's guide which is longer and more informative. On Sun, 3 Jul 2016, matthew dyer via arch-general wrote:
Date: Sun, 3 Jul 2016 16:27:56 From: matthew dyer via arch-general <arch-general@archlinux.org> To: arch-general@archlinux.org Cc: matthew dyer <ilovecountrymusic483@gmail.com> Subject: [arch-general] time setting problem after installing.
Hi all,
I just installed arch into a vertual machine dfor now as I do not have a bare boons system to install to at the moment. Any way I have a problem whare my system thinks I am in lundon uk and not in the us. I have tried running NTPD-QG but I am told that the command not found. I want the clock to show the correct local time and not have it showing 4 hours ahead of it self. Any ideas on how to fix this. I want to show it in .profile, but it just creates a new file instead of using the exhisting file. How can I change my time to the corect local time? Thanks.
Matthew
--
On 07/07/2016 07:19 AM, Jude DaShiell wrote:
ln -s /usr/share/zoneinfo/America/New_York >/etc/localtime<enter>
That's incorrect. There should be no '>' there.
participants (7)
-
Bardur Arantsson
-
Damjan Georgievski
-
Jude DaShiell
-
Kenneth B. Jensen
-
matthew dyer
-
Oon-Ee Ng
-
Ralf Mardorf