Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Ntp configuration

  1. #1

    Question Ntp configuration

    Hello every body
    I've a peer to peer LAN and want to sycronize the computer's clock on it
    I use the open suse 12.2 and the LAN is isolated i.e. not connected to internet.
    But i couldn't run the ntp server even by help of http://doc.opensuse.org/documentatio...netz.xntp.html and some other links.
    can anybody help me?
    thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: Ntp configuration

    I am not sure that I completely understand you. But as you say you only read some documentation, didn't you try YaST > Network Services > NTP to see if it provides you with the feature you want?
    Henk van Velden

  3. #3

    Question Re: Ntp configuration

    Quote Originally Posted by hcvv View Post
    I am not sure that I completely understand you. But as you say you only read some documentation, didn't you try YaST > Network Services > NTP to see if it provides you with the feature you want?

    i've read documentation and test the ntp in yast in an isolated local area network, but i couldn't get a succeed result...
    i don't know what's problem
    notice that the network not coonected to internet

    you and any other friends can make me happy i'll wait for your help

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: Ntp configuration

    Quote Originally Posted by icteta View Post
    i've read documentation and test the ntp in yast in an isolated local area network, but i couldn't get a succeed result...
    i don't know what's problem
    Sorry, but that is not much more then "it does not work!".

    Please describe what you did, what you expected to happen and what happened instead.

    When I try to imagine what you did, I see two systems before my eyes, both with NTP switched on and one configured to synchronize with the other. When that is the case, please tell w hat you filled in in that YaST page and show both configurations:
    Code:
    su - -c "grep -v '^#' /etc/ntp.conf"
    and show that the NTP deamon is running on bothe systems:
    Code:
    ps -ef | grep ntpd
    Did you check from the YaST page of the client to see if the server can be synched with?

    How did you come to the conclusion that it does not work?
    Henk van Velden

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Ntp configuration

    On 2014-03-23 07:46, icteta wrote:

    > i've read documentation and test the ntp in yast in an isolated local
    > area network, but i couldn't get a succeed result...
    > i don't know what's problem
    > notice that the network not coonected to internet


    Well, we can not guess what the problem is, if you don't even say the
    symptoms. Saying "does not work" is saying nothing.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  6. #6

    Question Re: Ntp configuration

    Thanks and you are right
    I should tell more detail

    I have some pc's that have the ip range 192.168.0.x. the network doesn't have any server system, i.e the network is peer2peer and the network is isolated i.e. not connected to internet...

    most of them have oensuse12.2 linux os that each of them have yast2 nt server and two of them have windows 7.

    I should do two jobs:
    First: syncronize the pc's with opensuse linux
    Second: syncronize all pc's with any os system
    Now my job is to solve the first problem

    In the below pictures i used yast2 ntp server to syncronize that steps are shown sequentilay.

    But in this way and in the 3rd step when i chose Local NTP Server, in the 5th step i face to an error that tell me "No Ntp server has been found in my network"

    I don't know whats the problem and what should i do.
    Also i don't know how could i my job in yhe second step by chosing "peer" radio button
    in the network all systm are connected by a switch, but the system with opensuse os can't communicate to themself
    For example to share a file in my opensuse os, I first put this file in a system by win7 os, then any other by an other opensuse os take from win7 os

    Now i'm on vacation an not access to system to show the files content

    It's very important for me to solve the proplem before next 10 days.
    I wish you help me and thank you alot

    1st:


    2nd:


    3rd:


    4th:

  7. #7

    Default Re: Ntp configuration

    5th:

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: Ntp configuration

    I d not understand what you mean with
    Code:
    the network doesn't have any server system, i.e the network is peer2peer
    but I assume that that does not matter and hat it is a normal TCP/IP LAN.

    Do not use that Local vs. Remote menu. Just fill in the IP address of the server you want to use in that field and click OK.

    When you choose Local, it wiill go and scan your LAN for an NTP server. As long as there isn't one that should give you the error message.


    I hope I understand you correctly:
    • you have a LAN with several systems;
    • one of those systems is the leading one in having the correct time;
    • the other systems have to use NTP to synchronize to that one NTP server.

    When this is what you want, then you have to start NTP on all the systems in the way you do it with YaST.
    On the master/NTP server use 127.127.1.0 as the server address.
    On the other systems use the IP address of the server.

    That hould work IMHO.

    BUT!
    I asked you the oupuut of two commands and you did not do that.

    I also asked you:
    How did you come to the conclusion that it does not work?
    But you did not answer that.

    Remind that not answering to questions asked here by people who spend their spare time in helping you might lead to people ignoring you. It is not nice to get no answers when one tries to help.
    Henk van Velden

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Ntp configuration

    On 2014-03-24 08:16, icteta wrote:

    > But in this way and in the 3rd step when i chose Local NTP Server, in
    > the 5th step i face to an error that tell me "No Ntp server has been
    > found in my network"


    Well, you do need at least one machine to be an ntp "server". No, peer
    to peer is out of the question here. It is not "optionable", so forget it.

    One machine (or several) has to be the time source of reference to the
    rest. Normally, you provide that reference from internet, but your
    network is isolated.

    Thus you need to buy a hardware reference clock that can then be read by
    the ntp server machine. This would preferably be an atomic clock, which
    I assume you can not afford ;-) so the alternatives would be some very
    expensive quartz clocks in controlled ovens, some types of radio clocks,
    and recently, a GPS module. And maybe more I don't know about.

    (Hint: a real hardware RS232 port is better in this situation than USB,
    for reading external clocks)

    I'd recommend you read the NTP documentation, package "ntp-doc". And if
    you have doubts, you should consider asking those people instead of us,
    as this is somewhat specialized knowledge. Just a quick look at that
    documentation finds hundreds of references to "reference clocks", and
    GPS clocks.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,818

    Default Re: Ntp configuration

    I assume your interpretation that you need an atoomic clock (or similar) is a bit exaggerated. I read nowhere that the OP needs his LAN sytems synchronized to a high degree with the "real" time.
    There is a perfect case for wanting your own system all have the same time without that time being synced with the outside world where you have not even direct contact with.
    Henk van Velden

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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