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

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Sorry, I don't quite understand what you're trying to say. The section of the email with the line "From the ... router" is generated in a different/separate function from where the body of the email with the TEST message is set, so I'm not seeing how the latter could affect the former WRT...
  2. M

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    WRT the "broken line" in the email: From the "A88U " router. It's very odd. It looks as if a linefeed was inserted just after the value of the "FRIENDLY_ROUTER_NAME" variable (which is the one used in that line), but I just double-checked the script and I don't see any LF at all between the...
  3. M

    Crontab jobs disappeared.

    I got a request to send email notifications from the "MonitorCronJobList.sh" script when the number of cron jobs changes between 2 consecutive checks so there's a new updated version in GitHub. The emails are a way to get alerted right away when a change WRT the cron job list has been detected...
  4. M

    Crontab jobs disappeared.

    I'm very curious to see when the problem with "disappearing cron jobs" happens so I wrote a script to take a snapshot of the cron job list at a given frequency, specified in minutes. The script is available on GitHub if you want to try it: mkdir -m 755 -p /jffs/scripts curl -kLSs --retry 3...
  5. M

    amtm amtm 4.9 - the Asuswrt-Merlin Terminal Menu, June 30, 2024 (locked thread)

    Oh yeah, I get it. I prefer to write my own custom scripts as well, as much as possible and as time allows, using my preferred coding standards & formatting "just the way I like it" :>). So there's no problem at all and no offense is taken. I just provided a possible solution for those who might...
  6. M

    amtm amtm 4.9 - the Asuswrt-Merlin Terminal Menu, June 30, 2024 (locked thread)

    I have a shell library script that I wrote & have used for several years to add the "email notification" feature to other custom scripts I have. It uses AMTM email configuration variables to send the email. The library script can be downloaded from my GitHub repository: mkdir -m 755 -p...
  7. M

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    BTW, as you did before with the Backupmon cron jobs, make sure to rename the 2nd "stuck" cron job ID (e.g. "stuck_boot"); otherwise, it will overwrite the 1st one when the script is executed.
  8. M

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Yeah, I understand. My post was directly referring to the scenario @bibikalka described (which is why I quoted his post just above my response). IOW, I'm not saying that stuck "nvram/cru" commands will explain all cases, only that they might explain cases such as his with daily reboots.
  9. M

    BACKUPMON BACKUPMON v1.5.10 -Mar 1, 2024- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! (**Thread closed due to age**)

    Given that stuck "nvram" calls are occurring in @Viktor Jaep's AX-class router (see this post), it's possible that other routers may be experiencing the same, which would mean that any "cru" call could also stuck while trying to add a cron job (as a consequence of the stuck "nvram" cmd), and if...
  10. M

    Script to Back Up & Restore Subsets of NVRAM Variable Settings.

    I originally wrote the script to target specific subsets of NVRAM vars so that they could be easily saved & restored onto the same router model after doing a factory defaults reset; but the code does not actually check whether you're indeed restoring the NVRAM vars onto the same router model, so...
  11. M

    Script to Back Up & Restore Subsets of NVRAM Variable Settings.

    Yes, those are exactly the reasons why I prefer the current mechanism where the user supplies the desired list of NVRAM vars to save & restore. The script is agnostic when it comes to different hardware revisions, firmware versions, or added/deleted features; the expectation is that users will...
  12. M

    Script to Back Up & Restore Subsets of NVRAM Variable Settings.

    For the record and in case anyone else is interested or curious, here's a way to make sure the var key names are nicely sorted alphabetically so you get all related key names grouped together, next to each other: nvram show 2>/dev/null | sort -fd -t '=' -k 1 > NVRAM_vars_sorted.txt
  13. M

    Release Asuswrt-Merlin 3004.388.6 is now available

    In cases where you have enabled HTTPS-Only access to the webGUI and no longer are able to connect for some reason, you can re-enable HTTP access with the following commands on an SSH terminal window: nvram set http_enable=0 ## HTTP-Only access ## ## OR ## nvram set http_enable=2...
  14. M

    Asuswrt-Merlin Addon Software Catalog

    That page comes from an HTML file that's part of @Jack Yaz shared library of resources, which is installed on the router here: /jffs/addons/shared-jy/redirect.htm This is open source so anyone can update it if/when needed and then submit a PR to Jack's GitHub repository...
  15. M

    YazFi Allowing access to selected network devices

    @Jack Yaz has merged the PR containing the fix into his 'develop' branch. If you want to switch from the current master "4.4.4" release to the latest develop "4.4.5" version use the following commands: /jffs/scripts/YazFi develop /jffs/scripts/YazFi forceupdate FYI.
  16. M

    Simple script for DNS fallback

    Just a couple of suggestions: 1) The "-P" parameter used with the grep commands is *not* valid for the F/W built-in grep tool. The "-P" option is available in the GNU grep version so it works if you have Entware installed, your PATH environment variable is set up to include the Entware paths...
  17. M

    wlcsm_create_nl_socket binding netlink socket error

    Based on the output you posted, you had 4 distinct "nvram" cmd processes stuck at that point. Here is the breakdown: 1) "nvram get vpn_client4_state" call during execution of "vpnmon-r3.sh -reset" script. 5930 5920 ViktorJp S 4008 0.3 0 0.0 nvram get vpn_client4_state 5920 13444...
  18. M

    Beta Asuswrt-Merlin 3004.388.6 Beta is now available

    The OpenVPN clients are restarting every 60 seconds due to the "inactivity timeout" triggered by the 60-sec "ping-restart" directive which is pushed to the clients. This "inactivity timeout" sends the SIGUSR1 signal which is what causes the encrypted tunnels to be closed and restarted every...
  19. M

    amtm amtm 4.9 - the Asuswrt-Merlin Terminal Menu, June 30, 2024 (locked thread)

    My post was not meant to imply that you don't have high standards. It's been clear that you do based on how quickly you tend to respond to reported issues and your thorough solutions. I simply meant to express that I understood the different circumstances, standards & requirements under which...
Top