BackupGGCode / wl500g

ASUS WL-5xx RT-N1x Oleg's based custom firmware
0 stars 0 forks source link

NTP server list #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add the ability to manually enter a list of NTP servers. Just need the 
ability to check the list in ping time for the corresponding the sort.

Original issue reported on code.google.com by obtim1...@gmail.com on 2 Dec 2010 at 11:32

GoogleCodeExporter commented 9 years ago
Please describe in detail, why you want this feature and why most other users 
needs this too.

NB! NTP protocol has nothing with ping

Original comment by lly.dev on 2 Dec 2010 at 11:40

GoogleCodeExporter commented 9 years ago
btw, you can already specify ntp servers list with space as delimiter

Original comment by v...@orient-96.ru on 2 Dec 2010 at 6:42

GoogleCodeExporter commented 9 years ago
I'm understand that the NTP protocol is not relevant to the ping. I live in 
Russia. The time server's located in the RU zone often do not work properly. To 
detect the production server I had to verify and monitor several servers. To 
this end I propose to introduce three NTP servers - if some of them are not 
available, then the program turns to the next. Ping from the firmware needed to 
check access to time servers. In my understanding, it looks like this: load the 
firmware list of 50 servers (for example), press by the button ping (proposing 
to implement this function by a button). Sheet of the servers ping and sorted 
according to access time. When I choose the right server, and leave them in the 
firmware.

Original comment by obtim1...@gmail.com on 4 Dec 2010 at 9:33

GoogleCodeExporter commented 9 years ago
You have to exclude ugly time-servers, country of residence doesn't matter. 
Simple test:

$ nslookup ru.pool.ntp.org
Server:     192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:   ru.pool.ntp.org
Address: 193.169.32.220
Name:   ru.pool.ntp.org
Address: 212.192.253.168
Name:   ru.pool.ntp.org
Address: 83.229.210.18

give several LIVE ntp servers.

Behavior similar to your described, has full-featured ntp server. You can 
install it from Optware, for example.
Built-in ntpclient can't do this, moreover router has very bad clock dispersion.

Probably, we will upgrade old ntpclient with busybox's one in future, it can 
choose best server. But I really worry about amount of queries increase due to 
low internal clock quality.

Anyway, you can use solution suggested by theMIROn in comment #2

Original comment by lly.dev on 4 Dec 2010 at 10:10