I am maintaining it, but the problem I have is it does seem to just work for me following the old instructions.
/jffs/scripts/post-mount looks like this:Would suggest the www directory isn’t getting mounted from your USB. Have you double checked k the post mount script has the commands?
#!/bin/sh
swapon /tmp/mnt/USB256/myswap.swp # Swap file created by amtm
mount -a
service restart_httpd
. /jffs/scripts/post-mount.div # Added by Diversion
/jffs/scripts/post-mount looks like this:
Code:#!/bin/sh swapon /tmp/mnt/USB256/myswap.swp # Swap file created by amtm mount -a service restart_httpd . /jffs/scripts/post-mount.div # Added by Diversion
If I run service restart_httpd manaully after boot, the tab appears correctly.
Trying to install this script for my RT-AC86U and I am getting this when I install the second command from Step 4:
....
@RT-AC86U-99A8:/tmp/home/root# /opt/etc/init.d/S77ntpd-custom start
Starting ntpd... failed.
Any ideas as to what I am doing wrong? I can actually see the NTP Daemon tab under Tools but nothing else. Obviously, I am not done installing it my by I am not sure why I can move forward with this.
Step 4: Run the following command to manually start ntpd as litmus test
- cp /jffs/configs/fstab /etc; mount -a
- /opt/etc/init.d/S77ntpd-custom start
- /jffs/bin/ntpstats.sh
I followed those steps but did not achieve any success in the page getting updated. I did find however that the new "stats.rrd" that gets created is only 2848 bytes while the original is 128280 bytes, and am wondering if this could be why? Everthing else in my case appears to be correct and working.The 86U needs some updating to make it work - it’s on my list.
Can you follow these steps - https://r.tapatalk.com/shareLink?share_fid=52425&share_tid=28041&share_pid=401588&url=https://www.snbforums.com/index.php?posts/401588/&share_type=t
Sent from my iPhone using Tapatalk
Thank you very much!!Yep, I’ll work on getting it sorted ASAP!
I don’t have an 86U though so might have to ask a couple of people to test stuff for me [emoji51]
Sent from my iPhone using Tapatalk
[QUOTE
There are the following issues after installing which have to be fixed:
- The files ntpd, ntpdc and ntpq in /jffs/bin are 32-bit.
Install ntp-utils with 'opkg install ntp-utils'. Copy ntpdc and ntpq from /opt/var/spool/ntp to /jffs/bin.- The stats.rrd file in "/opt/var/spool/ntp" is 32-bit and needs to be converted to 64-bit.
Install ntpd with 'opkg install ntpd'. Copy ntpd from /opt/sbin to /jffs/bin.
See next post for stats.xml code.
cp /opt/var/spool/ntp/ntpdc /jffs/bin/
cp /opt/var/spool/ntp/ntpdq /jffs/bin/
cp /opt/sbin/ntpd /jffs/bin/
Available to test, whenever you may have something ready.Yep, I’ll work on getting it sorted ASAP!
I don’t have an 86U though so might have to ask a couple of people to test stuff for me [emoji51]
Sent from my iPhone using Tapatalk
@spanjap This is probably very easy to do but since I am new at this......How do you do the above lines in bold? I have already installed nap-utils and ntpd. Thank you.
cp /opt/var/spool/ntp/ntpdc /jffs/bin/
cp /opt/var/spool/ntp/ntpdq /jffs/bin/
cp /opt/sbin/ntpd /jffs/bin/
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!