1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How stop automatic blocking of NTP servers

Discussion in 'Tomato Firmware' started by HennieM, Jan 16, 2008.

  1. HennieM

    HennieM Network Guru Member

    I use an internal ntp server, which in turn syncs with internet time servers. I also redirect any request for ntp time (from any device on my network) to this server. When this ntp server starts up (like after a power failure), it takes a while to sync time.

    When Tomato starts, it looks at my ntp server, and, seemingly, as the ntp server's time is at stratum 0, does not sync its own time, but displays, on the Basic > Time page
    Code:
    The following NTP servers have been automatically blocked by request from the server:
    NTPServer1 NTPServer2 ....
    On closer inspection, it seems the nvram variable "ntp_kiss" lists all the blocked ntp servers, and 'ps w' shows "ntpsync --init" (or something similar) running.

    A little bit later, the server's time is synced, but Tomato still does not sync its own time.
    Once the blocked ntp servers are "cleared" from the GUI, Tomato syncs its own time, and the variable ntp_kiss=nothing.

    It seems the ntpc/ntpsync utility was written by Jon, so I can't find any public info on it.

    How to fix?
     
  2. der_Kief

    der_Kief Super Moderator Staff Member Member

    Hi,

    you should contact Jon himself about this :wink:

    der_kief
     
  3. HennieM

    HennieM Network Guru Member

    For those of you interested (on my Tomato v1.10.1188)
    Code:
    nvram set ntpc_kiss_ignore=1
    Note ntpC_...

    A variable called ntp_kiss_ignore exists in nvram, but the ntpc utility seems to want ntpc_kiss_ignore. Dunno if this is a bug??
     

Share This Page