public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] question about sntp
@ 2009-03-23  9:05 Jones, Tracy
  0 siblings, 0 replies; only message in thread
From: Jones, Tracy @ 2009-03-23  9:05 UTC (permalink / raw)
  To: ecos-discuss



Hi - I am trying to use SNTP in unicast mode.  The documentation says

By default, this list is configured with NTP server information received from DHCP. The number of NTP servers that are extracted from DHCP can be configured with the CYGOPT_NET_SNTP_UNICAST_MAXDHCP option. This option can also be used to disable DHCP usage entirely.

This is exactly what I want to do.  I have a statically assigned IP addr and I don't want to use DHCP at all.  I just want SNTP to ask the server that I have configured cyg_sntp_set_servers(struct sockaddr *server_list, cyg_uint32 num_servers); for the time.  

My problem is I can't figure out how to disable it.  I tried setting it to 0 and it still is using DHCP - so I end up with 2 ip addresses assigned to the same mac address.  Can anyone give me a hint?  Thanks!

cdl_option CYGNUM_NET_SNTP_UNICAST_MAXDHCP {
    # Flavor: booldata
    user_value 0 0
    # value_source user
    # Default value: 1 2
    # Legal values: 1 to 8
    # Requires: CYGPKG_NET_DHCP
    #     CYGPKG_NET_DHCP == 1
    #   --> 1
};



Important : This message is intended only for the recipient(s) identified above by the originator or forwarder of this message and may contain information that is confidential, proprietary and/or legally privileged. If you have any reason to believe or suspect that this message may have come to you in error, please notify the originator of this message of your receipt of it, refrain from sharing this message with anyone else, delete it from each computer or server on which it is stored (without copying it or printing it out) and take no other action based on its content. Thank you.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-20 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23  9:05 [ECOS] question about sntp Jones, Tracy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).