Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Network time server for vxWorks booting from Darwin
From: "Ernest L. Williams Jr." <ernesto@ornl.gov>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: tech-talk@aps.anl.gov
Date: Sun, 14 Dec 2003 18:48:20 -0500
Hi Mark,


Also, check Darwin for a ntp configuration file.  There may be a default
security level just like in LINUX:


------ Such as on LINUX -----------------------------------------------
# -- CLIENT NETWORK -------
# Permit systems on this network to synchronize with this
# time service.  Do not permit those systems to modify the
# configuration of this service.  Also, do not use those
# systems as peers for synchronization.
# restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
-------------------------------------------------------------------------



On Sun, 2003-12-14 at 10:51, Mark Rivers wrote:
> Folks,
> 
> I am setting up an EPICS system where a vxWorks 5.4.2 IOC will boot from a Mac Darwin host.  FTP and NFS are working fine, so the IOC boots OK.  However, it then prints the message:
> ioc13lab> iocClockSyncWithNTPserver: sntpcTimeGet S_sntpcLib_TIMEOUT
> 
> which means that it was not able to get the time from the boot host.  Typing "date" at the vxWorks prompt shows that indeed it has not set the date and time correctly.
> 
> In the past I have successfully booted vxWorks IOCs from Windows systems by enabling the "timed" service provided by Hummingbird's inetd.
> 
> I am confused about how to enable a time server on Darwin that the IOC can use.  By default neither "ntpd" nor "timed" seem to be running (as judged from "ps -ax").  Manually starting "ntpd" and/or "timed" did not help, the IOC still does not get the time when it boots.
> 
> Does anyone have an idea on what time server I should be running for vxWorks to be able to get the time, and how to correctly start that on Darwin?
> 
> Thanks,
> Mark Rivers
-- 
Ernest L. Williams Jr. <ernesto@ornl.gov>


References:
Network time server for vxWorks booting from Darwin Mark Rivers

Navigate by Date:
Prev: Re: Network time server for vxWorks booting from Darwin hkm
Next: RE: Network time server for vxWorks booting from Darwin Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Network time server for vxWorks booting from Darwin Mark Rivers
Next: RE: Network time server for vxWorks booting from Darwin Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·