System Error Message
Part of the Furniture
aside from GPS/radio/ntp client/server i wonder if you can set up 3 asus routers and create your own independent NTP network.
@JGrana here you're. I don't know how it works. I simply compiled in SHM clock as suggested by ASAT.
https://github.com/kvic-z/goodies-asuswrt/blob/master/ntpd_SHM.tar.gz
For testing, Entware has a ntpd package including all clock drivers. Worth a try in case the above doesn't work out for you.
In regards to the original stock ASUS ntp client, is it possible to disable it now that I will be using this implementation of ntp? If so, what would be the best method to accomplish this?
Nice, enjoy!
If people like to experiment, you may delete the three lines containing "jquery" sub-string in /www/Tools_NtpdStats.asp. Do a backup of the file before the experiment..
I think this might work for all versions (<378.55, 378.55 and >378.55).
Running 380_57, either commenting out all three lines, or just the one "jQuery.noConflict();" line, both result in fixing the top, I can get to the tabs
however the "refresh" button on the bottom instead says "Are you sure you want to" and then is cut off below the button.
<input type="button" onClick=reload() value="Refresh" class="button_gen">
Also, thanks for this VERY cool tool. Very nice.
I'm not complaining at all. Did you sleep during those 7 days? Seems like you've accomplished a lot.You're absolutely right. jQuery call/module is actually not needed for this page. I came to the same realisation later. I was a web dev for 7 days when first creating this
Yeah ... I was kinda wondering about that. It seems to me that the really difficult part of being a software author of this sort is figuring out how to upgrade when new features are added or bugs are stomped.I may do a new packaging with the above two changes in a future time. To keep people's life easier with firmware upgrades..
So, I noticed I get an error message about "restrict br0" in my log on start. Restarting ntpd though, doesn't produce the error.I'm going to update ntp.conf with:
Code:restrict br0 interface listen br0
interface ignore wildcard
interface listen br0
restrict 127.0.0.1
restrict -6 ::1
restrict 127.127.1.0
restrict br0
<title><#495#> - System Information</title>
<title><#523#> - NTP Daemon Performance Stats</title>
<title>Tools - NTP Daemon</title>
kvic - a quick note. zyxmon and ryzhovau have both ntpd (with SHM support) and now gpsd available with Entware-ng. I installed both this morning on my AC88U running 380.57.
NTPD now sees the GPS and gets the time information over USB using gpsd.
BTW, having ntpstats run every 5 mins from cron was causing lots of lines in my syslog.log file. Instead of running from cron, I changed the script to a "while true do......the script..... sleep 300 done" daemon. I start it in the background from services-start.
Nice! You proved it works. According to ASAT, then you're the first guy on this forum.
Have you got the chance to re-try the ntpd version in #39? I expect it's going to save you some RAM. If it doesn't, and you happen to know the driver currently works, I might be able to custom compile a version for you.
I recall seeing that too. I've syslog-ng from Entware installed and replaced the stock syslog. Hence, all my cron job logs are in its own file. It's less a nuisance as it won't clog the main syslog. You may spend sometime on such a project.
Another way is to install "watch' from Entware. Use watch to run the ntpstat script every 5 minutes. People can give it a try too..
Thanks for the update!
Could you please check what is the USB-to-serial driver that it is loading? Type 'dmesg' and look for /dev/ttyUSB0.latest version and Entware-ng's gpsd work well together on my RT-AC88u.
Could you please check what is the USB-to-serial driver that it is loading? Type 'dmesg' and look for /dev/ttyUSB0.
Finally compiled a version for MIPS routers. Surprisingly code size is quite a bit bigger than ARM at the moment (but shall still be lot better than stock version from Entware). Interested RT-N66/AC66 users could give it a try.
Also included feedback/changes discussed in this thread. Please refer to #1 for Installation Guide and change log.
@JGrana I added a new section on the Guide about GPS dongle, and linked to your post. Interested folks may reach out to you in future...
Your GPS receiver is being presented to the system as a USB modem (ttyACM0) and it is apparently working just fine for you.it was reported as ttyACM0
Your GPS receiver is being presented to the system as a USB modem (ttyACM0) and it is apparently working just fine for you.
Mine shows as ttyUSB0 because I've modified the kernel configuration to disable the USB modem driver and enable the USB-to-serial drivers: FTDI and CH341. I can connect any generic NEMA device, or an Arduino, for example.
Here's my patch file for the Asuswrt-Merlin 380.57 Linux kernel for ARM routers. It enables the USB-to-serial drivers: FTDI, CH341 and PL2303. And it disables the GSM modem driver. It also enables the kernel for use with NTPd and PPS over USB.force it to NOT use the GSM modem driver?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!