NTPSET(1)             User Contributed Perl Documentation            NTPSET(1)



NNAAMMEE
       ntpset − set system clock using NTP

SSYYNNOOPPSSIISS
       ntpset [−s] ntpserver

AABBSSTTRRAACCTT
       Display or set the time obtained by NTP

DDEESSCCRRIIPPTTIIOONN
       This program contacts the specified host, obtains the time and displays
       it.  If the −s option is specified, it sets the system clock instead.

IINNSSTTAALLLLAATTIIOONN
       Copy the NTP.pm module to the appropriate site_perl directory of your
       operating system so that it can be found by "use Net::NTP;".  This is
       probably:

       "/usr/lib/perl5/site_perl/"_p_e_r_l___v_e_r_s_i_o_n_/_a_r_c_h"/Net/NTP.pm"

       You need to edit "/etc/services" to contain the line:

       "ntp 123/udp"

       if it doesn’t already.

       Then install ntpset anywhere convenient in your PATH.

SSEEEE AALLSSOO
       _n_t_p_d_a_t_e(1)

AAUUTTHHOORR
       Ken Yap <ken_yap_aus ATSIGN yahoo PERIOD com>

       Code for NTP.pm taken from Net::NTP by James G. Willmore and slightly
       modified to use older Socket API instead of IO::Socket, because the
       latter doesn’t work under Puppy Linux. I have included the entire pack‐
       age as distributed by cpan.org so that you have the original NTP.pm
       should you wish to consult it.

CCOOPPYYRRIIGGHHTT AANNDD LLIICCEENNSSEE
       Copyright 2007 by Ken Yap

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

CCHHAANNGGEE LLOOGG
       2007−08−02 Version 0.1

       2007−08−03 Version 0.2 Fixed up error in sign of single trip time



perl v5.8.8                       2007‐08‐03                         NTPSET(1)
