Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Questions on ntp (network time protocol)
Results 1 to 4 of 4

Thread: Questions on ntp (network time protocol)

  1. #1

    Questions on ntp (network time protocol)

    Hi,

    I've a question in ntp. I've successfully installed ntp on Redhat 7.3 but I'm not sure how to use it.

    How can I know if the my system time sychronize to the ntp server time??

    Are there any command to show and configurate time on linux??

    It seems that ntp fails to look at the file /etc/ntp.conf for configuration. Although I insert the line "server clcok.via.net", it still can't recognize the new server??

    Thanks in advance.

    William



  2. #2

    Re: Questions on ntp (network time protocol)

    I have it running on RH 7.0.

    I'm using ntp.ourconcord.net and nss.nts.umn.edu

    I initially had problems because my firewall was blocking the UDP packets that the time server was sending.

    Check your messages log for denied packets from those servers.

    Also your machines local time must be within 1000 seconds or it just won't sync.

    It takes a while to syncronize, after about 15 minutes, you should see the time on the machine has shifted and locked on to the correct time.

    You can use the ntpq program to debug problems. See /usr/local/docs/ntp-4.0.99j/debug.htm for instructions

    Also if you reboot your machine it won't automatically re launch unless your tell it to start that service at startup.

    In RH as root run setup then go to system services and set ntpd to on.

    hope this helps.

  3. #3

    Re: Questions on ntp (network time protocol)

    Thanks for your help ;D

    By the way, do you know if there are any commands to show and config time??

    In addition, how can I know if the time is sychronizing?? I mean is there any command to show the status or something??

    William

  4. #4

    Re: Questions on ntp (network time protocol)

    All I've seen is the ntpq and ntpdc command then type help for the options.

    The doc files have a lot on these tools, but their not a simple "is it working" check.

    I don't know of any simple check method other than going to www.time.gov and compairing it to your computers time.
    (it displays US time whithin an few tenths.)

Similar Threads

  1. DNS and home network questions
    By deucez in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 04-05-2005, 12:46 PM
  2. Mozilla Protocol
    By GhostDawg in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 12-31-2004, 11:21 PM
  3. Router and Routing protocol questions ?
    By flyingfish in forum Linux - General Topics
    Replies: 2
    Last Post: 06-04-2004, 12:44 PM
  4. What's your favorite im protocol?
    By gmoreno in forum Linux - General Topics
    Replies: 31
    Last Post: 04-08-2003, 11:21 PM
  5. Wireless Network Questions
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 08-21-2002, 05:07 AM

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
  •