Results 1 to 3 of 3

Thread: using ntp for time around network

  1. #1
    Join Date
    Feb 2006
    Beans
    5

    using ntp for time around network

    I am looking to have one computer on my network have the time, and I have two other computers which I want to grab the time from my time server. This is just a local network where no machine has access to the Internet. Is ntpd the right service I want to be using to do this? Can anyone point me in the right direction to set this service up properly for my server box? I have been looking around for this but everything seems to discuss grabbing time from some third party server over the Internet which I can not do in this case. Thanks in advance.

  2. #2
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,292
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: using ntp for time around network

    Yes, ntpd id the service you want. I don't know of any HOWTO about it, but it is pretty straightforward anyway.

    Code:
    sudo apt-get install ntp
    The default configuration should be fine for you. Then, install it on your client machines and configure it to use your server as reference: in /etc/ntp.conf, remove all the "server" lines, and add one like

    Code:
    server 192.168.1.40
    Then restart ntpd with

    Code:
    sudo /etc/init.d/ntp restart
    You're there.
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    Feb 2006
    Beans
    5

    Re: using ntp for time around network

    Thanks for your help, it is much appreciated. I will give this a try.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •