Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad (update, if _first_ server is bad)

2017-11-07 Thread Karl Palsson
Final note here, busybox has fixed this upstream, and ntpd now syncs faster and _vastly_ more reliably with bad servers in the list. Depending on their release schedule some people may like the patches backported, but I'm just carrying them myself for the time being. Cheers, Karl P Karl Palsson

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad (update, if _first_ server is bad)

2017-10-27 Thread Karl Palsson
Magnus Kroken wrote: > On 21.08.2017 16:34, Karl Palsson wrote: > > on master, even with the ntpd patch for busybox applied. > > # ntpdate -q localhost > > server ::1, stratum 0, offset 0.00, delay 0.0 > > server 127.0.0.1, stratum 0, offset 0.00, delay 0.0 21 > > Aug 14:26:24 ntpd

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-23 Thread Magnus Kroken
On 21.08.2017 16:34, Karl Palsson wrote: on master, even with the ntpd patch for busybox applied. # ntpdate -q localhost server ::1, stratum 0, offset 0.00, delay 0.0 server 127.0.0.1, stratum 0, offset 0.00, delay 0.0 21 Aug 14:26:24 ntpdate[1392]: no server suitable for synchron

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-21 Thread Karl Palsson
Magnus Kroken wrote: > Hi Karl > > On 17.08.2017 15:13, Karl Palsson wrote: > > It certainly _looks_ better, but isn't actually syncing... > > > > Sincerely, > > Karl Palsson > > > > > > # /usr/sbin/ntpd -d -n -N -l -S /usr/sbin/ntpd-hotplug -p > > 0.lede.pool.ntp.org -p working.good.org >

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-18 Thread Magnus Kroken
Hi Karl On 17.08.2017 15:13, Karl Palsson wrote: It certainly _looks_ better, but isn't actually syncing... Sincerely, Karl Palsson # /usr/sbin/ntpd -d -n -N -l -S /usr/sbin/ntpd-hotplug -p 0.lede.pool.ntp.org -p working.good.org ntpd: bad address '0.lede.pool.ntp.org' ntpd: sending query t

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Hans Dedecker
On Thu, Aug 17, 2017 at 3:13 PM, Karl Palsson wrote: > > Hans Dedecker wrote: >> On Thu, Aug 17, 2017 at 1:25 PM, Karl Palsson >> wrote: >> > >> > Ok, so this was broken after busybox 1.23.2 and not fixed until >> > 1.27 via >> > >> > https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Weedy
On 17 August 2017 at 09:13, Karl Palsson wrote: > > Hans Dedecker wrote: >> On Thu, Aug 17, 2017 at 1:25 PM, Karl Palsson >> wrote: >> > >> > Ok, so this was broken after busybox 1.23.2 and not fixed until >> > 1.27 via >> > >> > https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b62ea3

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Karl Palsson
Hans Dedecker wrote: > On Thu, Aug 17, 2017 at 1:25 PM, Karl Palsson > wrote: > > > > Ok, so this was broken after busybox 1.23.2 and not fixed until > > 1.27 via > > > > https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b62ea34afed7d3bf60a6c8ef5a030fea52f55b10 > > > > Presumably updat

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Hans Dedecker
On Thu, Aug 17, 2017 at 1:25 PM, Karl Palsson wrote: > > Ok, so this was broken after busybox 1.23.2 and not fixed until > 1.27 via > > https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b62ea34afed7d3bf60a6c8ef5a030fea52f55b10 > > Presumably updating busybox in master isn't exactly on th

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Jo-Philipp Wich
Hi Karlp, > Presumably updating busybox in master isn't exactly on the roadmap. > Would a backport of this patch be acceptable for both 17.01 and > master? Definitely! ~ Jo signature.asc Description: OpenPGP digital signature ___ Lede-dev mailing li

Re: [LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Karl Palsson
Ok, so this was broken after busybox 1.23.2 and not fixed until 1.27 via https://git.busybox.net/busybox/commit/networking/ntpd.c?id=b62ea34afed7d3bf60a6c8ef5a030fea52f55b10 Presumably updating busybox in master isn't exactly on the roadmap. Would a backport of this patch be acceptable for both

[LEDE-DEV] busybox ntpd not syncing if any server is bad

2017-08-17 Thread Karl Palsson
Hi, On old openwrt 15.05 builds, if I was running in a private network, and only had some NTP servers available, ntpd would still sync, and I could still query the local ntpd for it's sync status. However, now in lede-17.01 and lede current master, ntpd seems to just get stuck trying the first l