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

    [WICENS] WAN IP Change Email Notification Script

    curl --retry 3 "https://raw.githubusercontent.com/maverickcdn/wicens/v2.85/wicens.sh" -o "/jffs/scripts/wicens.sh" && chmod a+rx "/jffs/scripts/wicens.sh" Uninstall any pre-existing wicens script through the wicens menu and use this for the last version before 3.00 Thanks, I decided with...
  2. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    Thanks, I had the path hardcoded to /bin for nvram lookups. Pushed a hotfix... please download and let me know. I may go back to removing all the hard coded paths if you encounter other errors
  3. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    What model of router do you have? Can you let me know the output of which nvram First glance it looks to be looping on the NTP check
  4. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    I can look at that, I can't remember why I settled on importing Ill probably look at adding a config variable to set whether the user wants to use amtm settings and then just convert the var names in a function to work with wicens. My apologies, thanks for testing... do you remember seeing...
  5. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    Ill approach him when Im comfortable and if he's willing.... for now lets just make sure I didnt bork it, and works as it should. I need someone other than me to run through AMTM import testing, forwarding function testing, upgrading from v2.xx to v3 needs testing etc
  6. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    v3.00 is finally up I meant to push this awhile back but life has been crazy. Brings AMTM Email settings import, Email forwarding user messages, and many other changes. See changelog on Github Script was completely overhauled and lots was added/changed, no guarantees I didnt break something...
  7. Maverickcdn

    ChannelHog - Monitor And Force Maximum 5GHz Bandwidth

    Just a guess but it should be as easy as putting lines 190-191 in its own if statement (assuming nvram get model returns XT8 as a model name) targetbandwidth="160MHz" if [ "$currentbandwidth1" != "$targetbandwidth" ]; then if [ "$(nvram get model)" != "XT8" ]; then...
  8. Maverickcdn

    Release Asuswrt-Merlin 386.7 is now available for all models

    You can check out my wicens script, although the script is for notifications of WAN IP changes, there is an option for Merlin Firmware update Email notifications and doesn't require using the WAN IP notification functionality. It leverages his update-notification trigger to send an Email when...
  9. Maverickcdn

    services-start NOT FOUND

    You tried to execute the file as it's own command, try sh /jffs/scripts/services-start
  10. Maverickcdn

    amtm amtm - e-mail settings.

    Sorry was missing the directory variable... edited original
  11. Maverickcdn

    amtm amtm - e-mail settings.

    . /jffs/addons/amtm/mail/email.conf EMAIL_DIR=/jffs/addons/amtm/mail /usr/sbin/curl $verbose --url $PROTOCOL://$SMTP:$PORT \ --mail-from "$FROM_ADDRESS" --mail-rcpt "$TO_ADDRESS" \ --upload-file /tmp/divmail-body \ --ssl-reqd \ --user "$USERNAME:$(/usr/sbin/openssl aes-256-cbc $emailPwEnc -d -in...
  12. Maverickcdn

    NTP boot watchdog script

    Can add this to the bottom of the script to easily log how long NTP took to sync at boot TZ="$(cat /etc/TZ)" export TZ ntp_set="$(grep "Initial clock set" /tmp/syslog.log 2>/dev/null | tail -n1 | cut -c -15)" # find NTP sync time in log [ -z "$ntp_set" ] && /usr/bin/logger -st...
  13. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    Wow :oops: sorry my bad, not yours 2.70-->2.80 broke new installs (misplaced function call) 2.82 is up addressing this. Let me know if you have issues.
  14. Maverickcdn

    Release Asuswrt-Merlin 386.7 is now available for all models

    AC86U - Dirty over 386.5_2 (USB removed).... cruising along nicely
  15. Maverickcdn

    Stuck commands

    I'll add my observation for reference... my wicens script runs every 10 mins making several sequential nvram get calls to set variables. Early days I'd find hung calls (including eth5 noise wl call) varying between weeks or months apart, I now kill wlceventd at startup as I don't use aimesh and...
  16. Maverickcdn

    My experience with the RT-AC86U

    Doh, just realized FW version (user upgrade) can be dynamic though so Ill need to come up with a way to periodically update that if needed... just food for thought when you're thinking about static/dynamic values
  17. Maverickcdn

    My experience with the RT-AC86U

    Personally I moved all non dynamic nvram values to be written to my script config files (ie model/fw version)... anything that is dynamic you may want to look at creating watchdogs for those calls if you're concerned about hung processes on AC86U models and would remove an Entware dependency for...
  18. Maverickcdn

    My experience with the RT-AC86U

    Keep it cool and it will treat you well. I agree with @Tech9 Asus dropped the ball on this model by skimping on its cooling capacity. Copper shim mod is the preferred upgrade. MavMAIN|>/jffs/scripts| ./tempmon.sh tempmon appears to be already monitoring with PID 2750 Current...
  19. Maverickcdn

    Beta Asuswrt-Merlin 386.7 Beta is now available

    Just kill the wlceventd process MavMAIN|>/jffs/scripts| cat killwlc.sh #!/bin/sh F_log() { printf '%s' "$1" | logger -t "killwlceventd[$$]" ; printf '%s\n' "$1" ;} F_log "Killing wlceventd process if running..." pidofwl=$(pidof wlceventd) if [ -z $pidofwl ] ; then F_log "Couldn't find...
  20. Maverickcdn

    [WICENS] WAN IP Change Email Notification Script

    v2.80 added historical WAN IP changes to Email message, and reduced number of required nvram lookups to prevent potential hung nvram get processes
Top