Ask Your Question
0

Clock captures the wrong time

asked 2018-10-29 19:48:39 -0500

teodoro777 gravatar image

updated 2018-10-29 19:50:30 -0500

We are having problems with the connection, or the modem works and makes us connect, but it does not connect to the internet. In this computer, of course, I set the automatic time from the network. Now I ask you, is it normal that you download a timetable from the modem, even if this is incorrect? Ask this question, because other computers at home, equipped with other distro linux, do not suffer from this "problem". Then I noticed that, disconnecting the wifi and restarting, the time is right.image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-29 22:45:11 -0500

florian gravatar image

updated 2018-10-29 22:56:30 -0500

I used to have the exact same problem at my workplace before.

I am actually not 100% sure why it happened but I know what solved the problem: My workplace's firewall used to block the port that chrony, the NTP implementation on Fedora needs to sync the time.

You will have to make sure traffic to 123/UDP is allowed. As soon as my workplace's IT allowed to connections on that port the problem disappeared.

You can run

chronyc sources

and

chronyc tracking

to see whether you can reach your NTP servers

You may also want to check whether the chronyd service is loaded correctly ($systemctl status chronyd) and read the FAQs to see if any of the issues described there applies to you.

edit flag offensive delete link more

Comments

A while back I noticed that if chrony is started after network is established, it didn't pick up the ntp server configuration from dhcp. After restarting NetworkManager, chrony would work normally.

villykruse gravatar imagevillykruse ( 2018-10-30 02:57:19 -0500 )edit

ok, but I think this is not normal. In fact, in other distros, this does not happen

teodoro777 gravatar imageteodoro777 ( 2018-10-30 06:28:28 -0500 )edit

If you can access the NTP pool servers, then this is not an issue. Just something you might want to check.

villykruse gravatar imagevillykruse ( 2018-10-30 07:10:09 -0500 )edit

Again, in my case it was clearly related to the firewall issue. Check the firewall on your modem!

florian gravatar imageflorian ( 2018-10-30 09:00:47 -0500 )edit

in my case the modem has nothing to do with it, because as I said, in other distros, this does not happen. Now i'll check access to ntp pool servers.

teodoro777 gravatar imageteodoro777 ( 2018-10-30 09:18:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-10-29 19:48:39 -0500

Seen: 207 times

Last updated: Oct 29 '18