What's new

NTP Daemon for ASUSWRT/Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Small sticking point, the necessity to clone /www for custom page + images. Not sure how that will play with FreshJR for example

How is FreshJR making his mods to insert the new web GUI for the QOS?


Sent from my iPhone using Tapatalk
 
How is FreshJR making his mods to insert the new web GUI for the QOS?


Sent from my iPhone using Tapatalk
a mount -o bind, which in theory should be fine, but there could be an interesting race in which mounts first out of ntpd and Fresh. Going to poke around at my router with a stick
 
a mount -o bind, which in theory should be fine, but there could be an interesting race in which mounts first out of ntpd and Fresh. Going to poke around at my router with a stick

I’d suggest making them share the same mount and making both edits in the same place should one already be installed.


Sent from my iPhone using Tapatalk
 
I’d suggest making them share the same mount and making both edits in the same place should one already be installed.


Sent from my iPhone using Tapatalk
FreshJR binds a single page, ntpd requires binding the whole www directory from a cursory glance. Not sure if httpd can load images from outside /www
 
FreshJR binds a single page, ntpd requires binding the whole www directory from a cursory glance. Not sure if httpd can load images from outside /www

Oh I see, maybe just have ntp bind a single page as well the same way.


Sent from my iPhone using Tapatalk
 
Oh I see, maybe just have ntp bind a single page as well the same way.


Sent from my iPhone using Tapatalk
I thought that too. but need to load in the generated graphs. If I can src them from outside www then great, but I suspect httpd is limited /www as the highest level
 
Bind a folder for them so it’s seen as a sub dir of www


Sent from my iPhone using Tapatalk
 
Or have them generate directly to the real /www on the basis they are created on the fly anyway so if they are destroyed on reboot it doesn’t matter.


Sent from my iPhone using Tapatalk
 
Bind a folder for them so it’s seen as a sub dir of www


Sent from my iPhone using Tapatalk
Can't bind unless directory exists, so would need to bind on top of an existing subdir (and clone it)

/www is a read only file system, hence the bind-y hacks
 
Ah didn’t realise it was ro
Maybe clone the images dir if one exists?


Sent from my iPhone using Tapatalk
 
Try using /wwwext (I think that's the name....working from memory :) )
It should be r/w....I used to use it to serve custom icons for my plex clients.
 
Last edited:
With the emphasis for popular. I don't want to overcrowd amtm with tools that are only used by a handful users.
I am not sure how many use the NTP daemon.

I just know that it is something I would use if it was easily accessible.

Build it and they will come! :D

I bow down to your decision(s) though, of course! In the end, I may be forced to get my hands dirty and learn all this stuff for myself. If that is possible, for me. ;)
 
Ah, the ext symlinks to
Code:
ext -> / var/wwwext
which doesn't exist ( the path I mentioned previously does though, which is weird)
anyway, creating it and dumping images in makes them accessible at /ext/, so yay!
 
Can someone on non-HND send the outputs of the below please?

Code:
which ntpd
which ntpq
On the RT-AC1900P (68U 384.9 FW), same as with the 86U:
Code:
user@RT-AC1900P:/tmp/home/root# which ntpd
/usr/sbin/ntpd
user@RT-AC1900P:/tmp/home/root# which ntpq
user@RT-AC1900P:/tmp/home/root#
No ntpq.
 
I have also FreshJR_QOS installed and it's giving no problem at all with following lines in post-mount:
Code:
tar cf - /www | tar -C /opt/var -xvf -
mount -a
service restart_httpd
 
On the RT-AC1900P (68U 384.9 FW), same as with the 86U:
Code:
user@RT-AC1900P:/tmp/home/root# which ntpd
/usr/sbin/ntpd
user@RT-AC1900P:/tmp/home/root# which ntpq
user@RT-AC1900P:/tmp/home/root#
No ntpq.
Thanks - I think ntpq is installed via Entware's ntp-utils
 
I have also FreshJR_QOS installed and it's giving no problem at all with following lines in post-mount:
Code:
tar cf - /www | tar -C /opt/var -xvf -
mount -a
service restart_httpd
It's a headache for the user to need to clone the whole www directory for every f/w update though
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top