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. Maverickcdn

    Best log message to detect boot/reboot

    Yikes https://github.com/RMerl/asuswrt-merlin.ng/blob/master/release/src/router/rc/common.c#L1182-L1281
  2. Maverickcdn

    Best log message to detect boot/reboot

    No worries. I had it a very similar way already (compared line # in file).... seemed too simple and I wanted to complicate things ;) The rabbit holes into methods of writing code still makes my head hurt
  3. Maverickcdn

    Best log message to detect boot/reboot

    The script is meant to be run on demand and usable on install, it does not write to itself or storage of any data, relies completely on your pre-existing logs. The wan-event is just a preferred search method for last WAN up. If Im not mistaken you need a wan-event file in /jffs/scripts to...
  4. Maverickcdn

    Best log message to detect boot/reboot

    I guess one of the biggest issues is the syslog messages don't have a year so the script only has 364d23h59m59s of resolution. Any date that is found and appears higher than current sync'd day is considered from the previous year... so my May 4 wan-event messages example (really from Mar 26)...
  5. Maverickcdn

    Best log message to detect boot/reboot

    No... sorry rushed that post before leaving work, would like to calculate WAN uptime regardless if boot/reboot or just a disconnect/reconnect, issue is first two preferred search methods usually happen before NTP has sync'd on boot/reboot and I need the script to know if its found a legitimate...
  6. Maverickcdn

    Best log message to detect boot/reboot

    Until the day Asus or RMerlin add a WAN up date/time value in nvram or tmp file Ive been working on a way to try and calc WAN uptime from log messages (ie wan-event connected, wan: finish adding multi routes, Initial clock set messages) Wondering what would be the best message in the logs to...
  7. Maverickcdn

    Site removed from Duckduckgo results

    likely the same as what I see but that is a result for smallnetbuilder.com not snbforums.com
  8. Maverickcdn

    Site removed from Duckduckgo results

    For whatever reason today snbforums no longer appears in duckduckgo search results :rolleyes: I dont use bookmarks on my mobile and always just searched snb merlin, even directly searching snbforum no longer brings up the forums site.
  9. Maverickcdn

    Release Asuswrt-Merlin 386.5 is now available

    386.5-->386.5_2 openvpn and openssl all good here it appears Thanks
  10. Maverickcdn

    How to see how long the internet connection has been up?

    Here is a Merlin specific solution using a user created script, I hope it works for others :p This requires having a wan-event file I do believe to trigger the wan-event messages in the log... Im not sure how else to capture the wan up/down in the log I had a function for something similar, I...
  11. Maverickcdn

    Solved strange behaviour of hostname in syslog logging

    I noted this behavior when it first appeared here cfg_group appended to hostname Just use a script in services-start to kill syslogd and restart it with the host name you want. #!/bin/sh F_log() { printf '%s' "$1" | logger -t "syslogcheck[$$]" ; printf '%s\n' "$1" ;} cfg_id=$(nvram get...
  12. Maverickcdn

    RT-AC86U - WPA2 Enterprise / RADIUS leaving clients associated but not authed

    What does the authentication flag show under Log-->Wireless Log when the issue happens? Anything in the radius and/or router logs? I've been running Radius (w/o certificate, just username/pass) on a QNAP NAS for many years and never had any issues.
  13. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    Private IPs defeat the purpose of the script hence it fails on detection and should have logged as such edit: Ill push an update with your suggestion, version 2 did break support for double nat (your scenario)
  14. Maverickcdn

    Release Asuswrt-Merlin 386.4 is now available

    1 hr up, dirty update (w/usb removal) was seamless and smooth sailing here so far. Thank you.
  15. Maverickcdn

    The Uptime Contest

    Twas a good run... shutdown after this for the update to 386.4... pwned again ;) ASUSWRT-Merlin RT-AC86U 386.3_0 Fri Jul 23 17:52:57 UTC 2021 Current date/time : Sun Jan 2 17:42:51 MST 2022 Boot date/time : Mon Sep 13 19:06:53 MDT 2021 Router uptime ...
  16. Maverickcdn

    Release [Fork] Asuswrt-Merlin 374 LTS release 52E3

    You can skip the part about installing winscp in this case but its good information to know
  17. Maverickcdn

    Receive email or RSS on new Merlin stable release?

    I had the chance to test this last night as Im still on 386.3_0... appears to be working as expected if anyone wants Email notification for firmware updates... My understanding is RMerlin has it set to check every 48hrs Dec 17 03:57:20 watchdog: New firmware version 386.3_2 is available. Dec...
  18. Maverickcdn

    Receive email or RSS on new Merlin stable release?

    I added the firmware update notification to my WAN IP Email script wicens Just need to setup Email credentials and enable for Firmware updates. Currently untested, relies on built in update-notification script but in theory it should work.
  19. Maverickcdn

    Release [Fork] Asuswrt-Merlin 374 LTS release 52E3

    Ya I got a little bit of reading in at work and it was on the drive home it all came together. Thanks again for your guidance, you're a wealth of knowledge and thanks to @john9527 for your attentiveness. Still a great community here.
  20. Maverickcdn

    Release [Fork] Asuswrt-Merlin 374 LTS release 52E3

    Yes it was working but with a different Timezone offset (-6 mine is -7) But I got home and just had a big aha moment The issue I believe is kernel time and DST Router was booted 10 days ago during active DST (-6 UTC). On Sunday we flipped back to MST (-7 UTC). Everything in the GUI is...
Top