Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2005, 12:47 PM   #1
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
atomic clock sync

is there a slackware package or in this case, a package for linux that can sync your clock?

my system clock is a mess. it always gets out of sync. is there an easy way to sync it?
Old 02-25-2005, 01:06 PM   #2
LQ Newbie
Registered: Dec 2004
Location: Naugatuck, CT
Distribution: Open SuSE 10
Posts: 9

Rep: Reputation: 0
I believe Slack comes with a utility called "Netdate" that is made for this purpose. You can find more info here:

Last edited by High-Hopes; 02-25-2005 at 01:07 PM.
Old 02-25-2005, 01:09 PM   #3
Senior Member
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187

Network TIme Protocol

I never used it so i can not say how good it works, but some distros include it with their packages so it should work good in slackware too...
Old 02-25-2005, 03:52 PM   #4
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
I always set mine up following the directions here:

I do look up a nearby timeserver and add its ip address instead.
Old 02-26-2005, 05:22 AM   #5
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
The syntax is ntpdate
This requires root privileges.
Old 02-27-2005, 01:32 PM   #6
Registered: Jun 2004
Location: N. Ireland
Distribution: Zenwalk 6.2
Posts: 30

Rep: Reputation: 15
When you mentioned that your clock was never in sync, I immediately thought that it sounded like a motherboard problem. Sometimes, the battery powering the memory that stores your system's settings starts to go flat and a sign of this is the clock running slow.
Old 02-28-2005, 10:22 AM   #7
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
here's the whole page

Slackware Tips & Tricks by Jack S. Lai
Last Updated: Thu, 14 Nov 2002 17:35:15 GMT
Time synchronization
Why do we want to ensure proper time? When investigating a security issue or reporting an issue, we want our logs to match our ISP's.

Create /etc/cron.daily/timecheck (Check and update the time from which is close to me)

/usr/sbin/ntpdate && /sbin/hwclock --systohc


How do I create /etc/cron.daily/timecheck ?

is timecheck a conf file?
Old 02-28-2005, 11:47 AM   #8
LQ Newbie
Registered: Mar 2004
Distribution: slack10.1 :: kernel 2.6.10 :: nvidia6629
Posts: 23

Rep: Reputation: 15
why not just su, then 'ntpdate -b'

this will give you your current time according to the location of your ip add, and it works like a champ, i especially love the >7 day uptimes, after running this your screensaver will kick in because it thinks like 15 minutes has past during the time update
Old 02-28-2005, 11:28 PM   #9
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
my clock sync works great for minutes, but now it thinks i'm set at GMT, and i live in central time mexico. how do i fix this??

plus, i can't get another user to sync the clock because the only one who can is root... any ideas on permissions???


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Atomic Clock with Dial-up Connection bezaleel Linux - Newbie 1 04-03-2004 09:38 AM
Clock sync (RH 9.0) herc Linux - Software 4 10-14-2003 04:15 PM
Atomic Clock Sync cjwcash Linux - Software 1 08-06-2003 12:14 PM
disable clock sync on shutdown? dingding66 Linux - Newbie 4 03-16-2003 06:41 PM
Hardware Clock sync? gritts Linux - General 1 08-19-2002 05:25 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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