Home/Support/Support Forum/SNTP running only with DHCP
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

SNTP running only with DHCP

0 votes

I have a no connectivity to sntp server with module static IP address.
Result is NO Primmary server
of course gateway IP is correct

but if module is in DHCP mode, connectivity working good.

asked Aug 6, 2012 in Plug N' Play by jgroch New to the Community (6 points)
recategorized Dec 4, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes

I haven't worked much this this product, but if you're referring to the SNTP server by name, then you should make sure you are configuring a valid DNS server as well. This would be done in DHCP mode automatically but might be missed with a static network configuration.

answered Aug 6, 2012 by cpopp Seasoned Professional (183 points)
0 votes
Thank You Chris,

its true, problem with DNS,
when I connect SNTP with IP address only, SNTP working on module static IP also.

Customer dont accept my recommendation" please use DHCP" and setup router to assign IP by module MAC address

answered Aug 7, 2012 by jgroch New to the Community (6 points)
0 votes
If the customer is using a static IP address then he may have to set up static SNTP server addresses. One way to do this is in file appconf.h. Look for the macros for APP_SNTP_PRIMARY and APP_SNTP_SECONDARY. These would need to be defined as needed by the the customer and then rebuild the application. Also there is a macro in the BSP and another in appconf.h that must also be defined TRUE for SNTP to be enabled.
answered Aug 15, 2012 by dakotas_dad Veteran of the Digi Community (694 points)