Greetings programs!
I came back from vacation yesterday and for some reasons a few things have changed on out router. I doubt that anybody has fiddled with the configuration, because only the boss and myself have the password to do any fiddling, apart from that, there is noone in the office who knows anything about the router to attempt that.
There were some connection issues, probably caused by DSL-problems and the people at the office thought it was a good idea to try power-cycles.
None of that however explains a few things I have noticed...
#1: The ntpd no longer starts.
When I set up the router, I configured it to start the busybox ntpd (as client and as server). It did what we needed so I saw no reason to install another package. I tested it several times because I built and installed a few new workstations which are configured to get the time from the router. The configuration is pretty simple (/etc/config/system):
config system
option hostname 'heimdall'
option timezone 'CET-1CEST,M3.5.0,M10.5.0/3'
option log_file '/mnt/storage/log/syslog'
config timeserver ntp
list server 'ptbtime3.ptb.de'
list server 'de.pool.ntp.org'
option enable_server '1'
option enabled '1'
As you can see, no big deal. However, the router does not set its own time, nor does it allow other machines to connect and get the router's time. After a reboot, the system time is completely off:
root@heimdall:~# date
Fri Apr 7 13:32:14 CEST 2017
The time servers in the list are however reachable:
root@heimdall:~# ntpd -dqn -p ptbtime3.ptb.de
ntpd: resolved peer ptbtime3.ptb.de to 192.53.103.103
ntpd: sending query to 192.53.103.103
ntpd: reply from 192.53.103.103: offset:+0.002082 delay:0.012552 status:0x24 strat:1 refid:0x50544200 rootdelay:0.000000 reach:0x01
root@heimdall:~# ntpd -dqn -p de.pool.ntp.org
ntpd: resolved peer de.pool.ntp.org to 78.46.53.8
ntpd: sending query to 78.46.53.8
ntpd: reply from 78.46.53.8: offset:+0.005597 delay:0.016232 status:0x24 strat:2 refid:0x83bc03de rootdelay:0.008652 reach:0x01
At the same time, after rebooting (see below), there are no error messages in the log file (router contains a USB-stick for storing logs). Because of this I have absolutely no idea, why the ntpd isn't running. Note that there is plenty of other stuff in the log files apart from ntp though.
Supplementary:
It seems as if wan1 and wan2 take a rather long time to go up. So it is possible that the ntpd is started before there is an internet connection. IMHO however, I should see an error message if this is the reason why the ntpd isn't started.
#2: reboot only works in combination with -f
While this is more a side note (or a further symptom), I thought I'd mention it too, because it is a little ball-busting. A simple "reboot" does nothing. The command is take and seemingly ignored (connection via ssh). Same goes for Lucy. The command is acknowledged but nothing happens. Only when I type "reboot -f" on the console, the router actually reboots. This was not the case earlier either.
Can anyone make sense of this?
Best regards,
Cassi
(Last edited by Proudmouse on 20 Jun 2017, 11:43)