Search results

  • 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!

  1. cmkelley

    Best method for reloading settings after wipe?

    I've been out of the loop a couple years, and it's looking like time to wipe my AC86U and reload fresh, having some weird rebooting issues. In the past, I've tried to screenshot every page and use those to go through and manually re-enter the settings, because last time I looked, re-loading...
  2. cmkelley

    Scribe General: would a few people verify firmware binary locations?

    We recently discovered that not every router has the "nvram" binary in the same location. Mine (AC86U) is in /bin. Apparently at least in the AC68U, nvram is in /usr/sbin. When writing scribe, to prevent other installed entware programs from interfering, I tried to explicitly call most...
  3. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    scribe v3.2_0 2023-06-11 scribe is a script that installs syslog-ng and logrotate from Entware. Filters for various common logs are included, and logrotate files to manage those logs. NOTE WELL: Looking at log files to "see if anything is wrong" is counter-productive. Log files are best used...
  4. cmkelley

    Scribe Scribe 2.5.0 Testers Needed

    NB: I MAKE NO PROMISES!!! Don't get mad if you lose your log files, you have been warned! Since ASUS is now putting the default syslog.log on /jffs instead of /tmp, this is causing problems for scribe. I don't have one of those new-fangled routers, so I can only test that it doesn't...
  5. cmkelley

    script writers: what programs _don't_ need to be explicitly called?

    I know I'm kinda late to the table on this, but I'm going through scribe with sed to directly call most of the busybox commands. There are some I've not bothered to though, I'm curious what the other script writers think. I've (tried to) explicitly call out everything except [, true, false...
  6. cmkelley

    Scribe Scribe 2.4.4 is out

    Pushed scribe 2.4.4 Fixes the gnu grep "stray \ before /" warning, probably the "wrong" way, by fixing it for gnu grep rather than forcing busybox grep ... Somewhere along the line, syslog-ng.ctl and syslog-ng.pid files path was changed to /opt/var/run/syslog-ng; if you were upgrading that...
  7. cmkelley

    Scribe scribe and Entware

    Just a reminder since Entware recently updated, and included an update to syslog-ng, after updating Entware, it's advisable (but not mandatory) to run scribe's status function to update the syslog-ng.conf file to reflect the latest version. This can be accomplished in 3 ways: If using amtm...
  8. cmkelley

    How long before AC3200 is "unsafe"?

    NB: I wholeheartedly agree with Merlin's reasoning for not supporting the AC3200 any more. I am thinking of giving my "spare" AC3200 to my dad as he just moved into a new place and needs a wifi router. Of course, no support mean no vulnerabilities patched. How can I decide when it's no longer...
  9. cmkelley

    Any well to tell from script if router is mesh node?

    Is there an NVRAM variable or some other trick to determine in a script if it is running on a node or on the main router? I tried searching the NVRAM variables for something obvious, but either there's not an obvious one, or what's obvious to someone else isn't to me. :-)
  10. cmkelley

    What does /sbin/ntpd_synced do?

    I presume it does something more than set the nvram ntp_ready to 1? I noticed the firmware calls it when it launches ntpd (and apparently every 11 minutes as well, according the busybox usage for ntpd), although the entware installation of ntpd doesn't. /sbin/ntpd_synced is symlinked to...
  11. cmkelley

    What does "wlc" stand for in wlc event daemon (wlceventd)?

    I know, silly, but it's annoying me I can't figure it out, and my google-foo is failing me. It was easy to find that afpd is apple filing protocol daemon and that ascd is automatic channel selector daemon, but this one is eluding me.
  12. cmkelley

    syslogd and klogd being started from "restart time" service event

    Turns out not to be a 384.11 problem only ... I had been counting on syslogd and klogd only being restarted via the "restart logger" service event. However, I have found that they also restart after a "restart time" service event. This is further complicated by the fact that a "restart time"...
  13. cmkelley

    What might restart syslogd and klogd in firmware?

    (asking here for a wider audience than might see it in the scribe thread) To those who are familiar with the firmware source: Other than at boot, when I clearly can kill them when S01syslog-ng starts, what actions might restart syslogd and/or klogd? I honestly have no idea of what I'd search...
  14. cmkelley

    Scribe scribe - syslog-ng and logrotate installer

    scribe v3.0_0 2023-04-24 scribe is a script that installs syslog-ng and logrotate from Entware. Filters for various common logs are included, and logrotate files to manage those logs. NOTE WELL: Looking at log files to "see if anything is wrong" is counter-productive. Log files are best used...
  15. cmkelley

    Extend "service" to Entware services

    I got tired of typing '/opt/etc/init/S01syslog-ng restart', particularly when there's a perfectly good "service action_target" mechanism for the firmware services. So, not knowing any better, I set out to remedy that situation (it's late, I'm punchy, bear with me). In the spirit of the "add...
  16. cmkelley

    Printing output from service-event???

    /jffs/scripts/service-event runs anytime the command "service" is called (e.g. service restart_httpd). But it somehow prevents any writing to the screen! I've tried '>> /dev/tty' & '>>/dev/console' but to no avail. Is it not possible to force something to output to the screen when service is...
  17. cmkelley

    And now for something completely different ...

    Anyone good with ASCII art? Seems like for the price of asking and a logo we could have neofetch recognize Asuswrt-Merlin. :) I know, not terribly impressive or awesome, but kinda cool. I just have not a single artistic bone in my entire body or I'd take a shot at it. Details of the...
  18. cmkelley

    Script to remove dcd crashes from system log

    Finally got tired of seeing them; I have little faith Trend Micro or Asus will correct anytime soon. Add the following line to /jffs/scripts/post-mount cru a dcd_crash "*/10 * * * * /jffs/scripts/rm_dcd_crash /tmp/syslog.log" #remove dcd crash lines from syslog Replace /tmp/syslog.log with...
  19. cmkelley

    Redirect external NTP calls to local NTP server?

    Except of course, NTP calls from the NTP server itself. :) I have a local NTP server on my network (not the router itself). For silliness where specific ntp servers are hard-coded into devices, is it possible to redirect all ntp traffic to my local server and allowing only my local ntp server...
  20. cmkelley

    Setting the clock as early as possible (using local time server)

    If you have a local time server on your network, below is a script that can be called from init-start to set your router clock as early as possible in the bootup sequence. Put it in /jffs/scripts and of course make it executable with chmod a+x fetch-ntp #!/bin/sh # # Script: fetch-ntp # #...
Top