Unix Technical Forum

NTP

This is a discussion on NTP within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How to start NTP at boot on Slackware 9.1?...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 07:47 AM
JR
 
Posts: n/a
Default NTP

How to start NTP at boot on Slackware 9.1?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 07:48 AM
Peter
 
Posts: n/a
Default Re: NTP

JR wrote:

> How to start NTP at boot on Slackware 9.1?


1) create an ntp.conf file in /etc with a pointer to your time server of
choice. Here is mine:
$ cat /etc/ntp.conf
server tick.jrc.us
driftfile /etc/ntp/ntp.drift

2) create an /etc/ntp directory (this may be optional, but do it in case)
3) add a line in rc.local or another startup file (local is better) that
calls ntpd -A (to load as a daemon) or ntpd -q to just sync and exit.

Of course, this assumes you have the package loaded and installed.

Also, if you use dhcp, be sure to change the line in /etc/rc.d/rc.inet1 that
calls dhcpcd so that it includes the command line option -N to prevent it
from overwriting your ntp.conf file each time.

Good luck

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 07:48 AM
The LinuxBuff
 
Posts: n/a
Default Re: NTP

On Tue, 24 Feb 2004 15:30:00 -0600, JR wrote:

> How to start NTP at boot on Slackware 9.1?


Put the relevant commands in /etc/rc.local.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 07:48 AM
jasonlambert
 
Posts: n/a
Default re:NTP

In slackware 8.1 & 9, the default location is /etc/rc.d/rc.local,
has it been changed in 9.1?

I havent made the upgrade yet.

Thanks,
Jason
----
Message posted via www.linuxforums.org - the HTTP Linux community.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com