Change NTP server

Hello

On my work network I cannot access external NTP server. So my Things gateway cannot get any ntp responses. Here are logs :

INET: Connected to a network, waiting for DHCP lease, checking validity with ping                                                                                                                                  
SNTP: State change from 1 to 2                                                                                                                                                                                     
WIFI: IP Address: 192.168.132.222
SNTP: State change from 2 to 3
SNTP: State change from 3 to 4
SNTP: State change from 4 to 5
INET: State change to 3
INET: Ping probe
INET: Error sending probe on Eth
INET: Ping response from MRF24WN, set as default
INET: State change to 4
MON: SYS Stack size: 3961
MON: heap usage: 147KB (157KB), free: 192KB
SNTP: State change from 5 to 6
SNTP: State change from 6 to 1
INET: Initiated NTP request.
SNTP: State change from 1 to 2
SNTP: State change from 2 to 3
SNTP: State change from 3 to 4
SNTP: State change from 4 to 5
MON: SYS Stack size: 3961
MON: heap usage: 147KB (157KB), free: 192KB
SNTP: State change from 5 to 6
SNTP: State change from 6 to 1
INET: Initiated NTP request.
SNTP: State change from 1 to 2
SNTP: State change from 2 to 3
SNTP: State change from 3 to 4
INET: Not received any NTP response. Wait for network again (after 20 seconds).

When connecting GW to my phone (in access point), I do not have any problems.

  • How can I change my TTN gateway NTP server?
  • Are NTP frames exchanges in broadcast or client/server on port 123?
  • recompile the source with your ntp server details
  • client/server udp port 123