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

Recent content by Maverickcdn

  1. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    @dineshgyl @jksmurf ## 4.11 April 10 2025 * ADDED: cron fully customizable in wicens_update_conf.wic * ADDED: cron on/off in wicens_update_conf.wic (cron_option 1=on 0=off) (off: cron entries will still be created, script will immediately exit on cron runs) * NOTE: disabling or editing cron...
  2. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    Yes I noticed the same when implementing my Opnsense box as my gateway (AP mode has the same issue), this should be a matter of commenting out a few lines in the setup. Writing the WAN IP on settings creation is legacy from the V1 days (prior to the option to selectively enable WAN IP...
  3. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    No sweat Sorry yes, in order to not have to manually create your custom cru(cron) after reboots that function would need to be edited in /jffs/scripts/wicens.sh to be persistent. Although you will always show a MD5(hotfix) update if ever checking for script updates. At this point if there ever...
  4. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    Altering cron run intervals will directly affect the calculated estimated down time during reboot notifications... ie. you set cron to 10 days when the router comes back up if the last time cron ran was 10 days ago (last time router uptime was recorded) the reboot Email notification will say the...
  5. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    The 11 minute cron is automatically added upon enabling any notification type. Its used to monitor for failed Email attempts and update Router uptime etc Unfortunately WAN IP change monitoring cannot be enabled without also enabling WAN IP Email notifications, if you want WAN IP changes logged...
  6. Maverickcdn

    Compatibility Findings with AddOns with GT-BE98 Pro

    If someone wants to install and report back it would be appreciated... but I added [ "$(F_nvram firmver)" = '3.0.0.6' ] && return 0 in the compatibility check a few months back from a Github request for a user running a GT-BE98Pro, so my assumption is at least one person would have tried and...
  7. Maverickcdn

    Block AI Crawlers

    https://serverfault.com/questions/690870/iptables-block-user-agent Maybe there is something within entware, but I personally run Fail2Ban on the Nginx server (offload everything from the router as much as possible) and add offender IPs from the fail2ban.log to a blacklist that then gets added...
  8. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    ## 4.10 Feb 3 2025 * ADDED: reboot notification has down time between power loss-reboot *approx * ADDED: logging to independent file in wicens directory (maxsize: 200KB) option z * ADDED: check custom script file exists w/cron (if missing we spam log with cron) * ADDED: Email test can now send...
  9. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script v4

    Can you PM me your entire syslog, or post the output of grep -E 'wicens' /jffs/syslog* and redact/edit your WAN IP? Also please check the bottom of the received Emails and tell me what 'Script ran with option:' is outputting
  10. Maverickcdn

    amtm Email Notifications from router rejected - Code 552 5.2.0 Message contains bare LF

    Wasn't 100% 👍 Thank you, I've looked at your code somewhere and ended up following your email formatting closely in wicens awhile back but overlooked your curl and I swear when I reviewed email.mod from amtm that wasn't there I must have completely overlooked it as well
  11. Maverickcdn

    amtm Email Notifications from router rejected - Code 552 5.2.0 Message contains bare LF

    Thanks. Well very interesting I must say. All these years no ones mentioned this issue (that Im aware of) using curl for sending Emails from the router. Makes me wonder if we should all start using the file conversion for generated email files... You could probably edit your informational...
  12. Maverickcdn

    Tutorial Automatically Reboot Asus Router on Network Failures

    The OP script is based around if the Internet connection is down and rebooting the router, mine is only a WAN IP monitor and my entire script relies on the Internet connection being up. To your point though mine could force a reboot if the IP changed (custom WAN IP change script / option 5)
  13. Maverickcdn

    amtm Email Notifications from router rejected - Code 552 5.2.0 Message contains bare LF

    Im curious, was this only failing to your CC: address? and not to your TO: address? Limited reading and assuming the above, it seems your CC recipient enforces the RFC standards for composition So running unix2dos on the generated txt file before sending w/curl resolved the issue?
  14. Maverickcdn

    amtm Email Notifications from router rejected - Code 552 5.2.0 Message contains bare LF

    Can you provide a sample email text file that is failing for everyone to look at? Are you using any formatting ie: MIME type etc Others may be able to help with some more information provided. If it were me I'd export your generated email file to Notepad++ (windows) and enable show all characters
  15. Maverickcdn

    Tutorial Automatically Reboot Asus Router on Network Failures

    Another user bitten by the scripting bug... careful you'll go from 50 line simple scripts to 1000+ lines in no time ;) wicens internet check
Back
Top