Yes, it’s an AX88U Pro running 388.2 Beta 1.Yeah, I'll have to dig into it, and refamiliarize myself with how this all works. Is it just the 388 codebase? i.e. did it work on AX routers running the 386 codebase?
I do not recommend doing frequent writes to this area, as it may prematurely wear out the flash chip. This is a good place to put files that are written once like scripts or kernel modules, or that rarely get written to. Do not put files that get constantly written to (such as high activity logfiles) - store these on a USB disk instead. Replacing a worn out USB flash disk is much cheaper than replacing the whole router if flash sectors get worn out.
Asus routers produced since the RT-AC68U use high endurance flash memory rated for 100,000 Program/Erase cycles so wear should not be an issue for most applications. Current Asus firmware now uses the JFFS partition to store not only logfiles but databases and other frequently updated information.
It is part of the syslog-ng start in /opt/etc/init.d/rc.func.syslog-ng:It does make sense. I do have directories created (not sure by who). In looking through the scribe code, the only directories created are the share directories for the example filters.
# make /jffs/syslog.log and log-1 directories if not already
# prevents system log saver from writing to jffs
if [ ! -d "/jffs/syslog.log" ] || [ ! -d "/jffs/syslog.log-1" ]
then
rm -rf /jffs/syslog.log /jffs/syslog.log-1
mkdir /jffs/syslog.log /jffs/syslog.log-1
fi
Yeah, that's where I'm going to have to detect where the system is looking and fix it accordingly.It is part of the syslog-ng start in /opt/etc/init.d/rc.func.syslog-ng:Code:# make /jffs/syslog.log and log-1 directories if not already # prevents system log saver from writing to jffs if [ ! -d "/jffs/syslog.log" ] || [ ! -d "/jffs/syslog.log-1" ] then rm -rf /jffs/syslog.log /jffs/syslog.log-1 mkdir /jffs/syslog.log /jffs/syslog.log-1 fi
Dates from at least 6 years ago: https://www.snbforums.com/threads/configuring-syslog-ng-with-merlin-firmware.35095/post-284423
Or maybe 8 years ago: https://www.snbforums.com/threads/jffs-syslog.29073/
I'd be more than willing to test any updates on GT-AX6000 running latest Merlin 388.2 beta1 firmware.Yeah, that's where I'm going to have to detect where the system is looking and fix it accordingly.
Sadly, it's not as simple as 388 vs. 386 per RMerlin, so it looks like Adamm's solution is going to have to be it. I may not be able to get to it until this weekend though, there continues to be far too much B***S*** in my life. :-(
@cmkelley , I echo @visortgw . No worries and good luck with the BS.I'd be more than willing to test any updates on GT-AX6000 running latest Merlin 388.2 beta1 firmware.
Thanks again for your ongoing support. Sorry to hear about the BS in your life as I feel the same pain in my life.
I'm not clear anything needs to be "fixed" or what is different now. I've got an AC86 on 386.10 and an AX88 on 388.2b1.Yeah, that's where I'm going to have to detect where the system is looking and fix it accordingly.
Scribe captures the early boot process. rc.func.syslog-ng copies /jffs/syslog.log to messages before it deletes it and converts it into a directory.The syslog-ng filters are nice and I can always use dmesg to catch the early boot process.
Yes, the default for the log is /opt/var/log/messages. If you create your own destinations you can put them elsewhere (anywhere in the world!).I installed entware on a usb stick, does the log defaulted to the usb stick?
It matters at least because the webgui without uiscribe is looking in the wrong place, /jffs/syslog.log which currently I change to a directory when syslog-ng is running to prevent something, though lol, I've forgotten exactly what. I think there was some process copying syslog.log & syslog.log-1 to /jffs periodically and that was causing an issue. Maybe. It's been a LONG time, and I haven't really thought about scribe for well over 3 years.I'm still not understanding what the problem is. Does it matter if syslogd writes to /jffs or /tmp? We kill syslogd.
Maybe (resolution of slowness). I think it's related to a recent change in where some models put the syslog.log file by default. I'm currently debugging a fix that's kinda grown out of control, because it gave me the opportunity to learn some awk, which I've been wanting to do. Also, to solve the problem without causing other problems when something isn't just the way I expect it is a bit more of a challenge than I expected.Having gotten rather used to using scribe/uiscribe under my trusty RT-AC86U for the last few years, now that I recently upgraded to a GT-AX6000, I reinstalled that combination after formatting my USB attached SSD and reinstalling Diversion and Skynet. Well, while all is technically "functional", I did notice massive slowdowns (on the order of 30+ seconds) when looking at Diversion or Skynet settings/menus even using direct SSH connections. I have read both this thread and the Scribe 2.5 thread (and a few others that discuss the recent differences in PATH setups that have occurred), but frankly find it all a bit "above my pay grade" in knowing what needs to be done to resolve this kind of issue.
Can we expect any resolution to this sort of glitch coming soon? I do fully appreciate that these scripts are only possible through the dedication of unpaid, volunteer members of this fine SNB community, so this is far from being a demand, just a humble question on my part. Many thanks for all the hard work that has been poured into this over the years.
Thanks, but in my case, the fix turned out to be the one discussed here:Maybe (resolution of slowness). I think it's related to a recent change in where some models put the syslog.log file by default. I'm currently debugging a fix that's kinda grown out of control, because it gave me the opportunity to learn some awk, which I've been wanting to do. Also, to solve the problem without causing other problems when something isn't just the way I expect it is a bit more of a challenge than I expected.
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!