rdate uses the Internet Time Protocol, RFC 868 (see www.rfc-editor.org,
it's only 2 pages long) which runs on port 37.
The service is provided by inetd itself and is listed in /etc/inetd.conf
as the service named "time" (not "daytime") and the command entry is
"internal" because it is.
To use the time service uncomment the "time stream ..." entry and do:
/etc/rc.d/init.d/inet reload
rdate has 2 options: -p the default, and -s to set the system clock.
The above is based on rhl 6.2. I assume xinetd used in rhl 7.x also
provides the time service but have not checked into it.
>
> I am having problem getting xntpd to respond to requests. I cannot find
> out what is wrong. If I run rdate from another Linux box the response I
> get back is connection refused. When my routers try and sychronize, they
> fail as well. xntpd is sychronizing with a remote server.
>
> I could not see any configuration required for xntpd to respond to
> requests. What have I missed?
>
>
> david
>
> On Mon, 26 Feb 2001, Anthony E . Greene wrote:
>
> > On Mon, 26 Feb 2001 09:18:31 David Brett wrote:
> > >As a follow up to this, is there a process for sending the date to devices
> > >who request it from a Linux?
> >
> > If the Linux box is running Samba, it can provide date/time to Windows boxes
> > that request it using the DOS command:
> >
> > net time /set /yes \\SAMBABOX
> >
> > I usually put that command in a batch file and put the batch file in the
> > Startup folder on Windows boxes. That keeps their time from drifting too far
> > under normal circumstances.
> >
> > Any system/device that can use rdate or NTP can get time from a Linux box.
> > As noted in another post in this thread, NTP requires the installation of
> > xntpd or equivalent.
> >
> > Tony
> > --
> > Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
> > PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
> > Chat: AOL/Yahoo: TonyG05 ICQ: 91183266
> > Linux. The choice of a GNU Generation. <http://www.linux.org/>
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
--
+-------------------\\ //---------------------------+
/ C h i p p e w a \\ // alley Technical College /
/ 620 W. Clairemont Ave \// Eau Claire, WI 54701 USA /
/-----------------------------------------------------/
/ Paul F. Almquist, Instructor--Networking/Unix/Linux /
/ Computer Information Systems Dept Unix Forever!! /
/ [EMAIL PROTECTED] /
/ http://cis.chippewa.tec.wi.us/almquipf /
+-----------------------------------------------------+
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list