What's new

Suricata Addon-Tabs are not loaded

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

here1310

Regular Contributor
AX88U- Addon error

"/jffs/addons/suricata/suricata_stats.sh startup # Suricata_Stats.sh" in post-mount script prevents loading of the other addon tabs

Code:
/jffs/scripts/dn-vnstat startup "$@" & # dn-vnstat
/jffs/scripts/spdmerlin startup "$@" & # spdMerlin
/jffs/scripts/connmon startup "$@" & # connmon
/jffs/scripts/ntpmerlin startup "$@" & # ntpMerlin
/jffs/scripts/uiScribe startup "$@" & # uiScribe
/jffs/scripts/uiDivStats startup "$@" & # uiDivStats
/jffs/scripts/scmerlin startup "$@" & # scMerlin
#/jffs/addons/suricata/suricata_stats.sh startup # Suricata_Stats.sh
#
sleep 30
/jffs/addons/unbound/unbound_stats.sh startup "$@" & # Unbound_Stats.sh

If you remove suricata_stats.sh all tabs are loaded without only the suricata tab being loaded....

the sleep 30 before and unbound_stats.sh at the end I set because unbound_stats.sh also prevents the other tabs from being loaded....
 
i found in suricata_stats.sh: (??) share: /jffs/addons/shared-jy is not exist

#needed for shared jy graph files from @JackYaz
readonly SHARED_DIR="/jffs/addons/shared-jy"
readonly SHARED_REPO="https://raw.githubusercontent.com/jackyaz/shared-jy/master"
readonly SHARED_WEB_DIR="$SCRIPT_WEBPAGE_DIR/shared-jy
 
I have a AX88U, installed this program, I have the tab on the add-on page
 

Attachments

  • Screen Shot 2021-05-04 at 8.21.12 AM.png
    Screen Shot 2021-05-04 at 8.21.12 AM.png
    407.8 KB · Views: 147
thanks for the feedback.

1. if only suricata is installed, it works.
2. if other scripts, like ntpmerlin etc. are also installed, only! the suricate addon will be loaded, the others not
3. without suricata the other addons are loaded, see # in post-mount
 
after much trying...in the order (post-mount) it works....

Code:
#
/jffs/addons/wireguard/wg_manager.sh init "" & # WireGuard Manager
#
/jffs/addons/suricata/suricata_stats.sh startup # Suricata_Stats.sh
#
#sleep 30
/jffs/addons/unbound/unbound_stats.sh startup "$@" & # Unbound_Stats.sh
#
/jffs/scripts/uiScribe startup "$@" & # uiScribe
/jffs/scripts/uiDivStats startup "$@" & # uiDivStats
#
/jffs/scripts/dn-vnstat startup "$@" & # dn-vnstat
/jffs/scripts/scmerlin startup "$@" & # scMerlin
/jffs/scripts/ntpmerlin startup "$@" & # ntpMerlin
#
/jffs/scripts/spdmerlin startup "$@" & # spdMerlin
/jffs/scripts/connmon startup "$@" & # connmon
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top