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

    How to display open ports

    netstat and lsof are available through Entware-ng
  2. S

    Does anybody have DUAL WAN working?

    If things are critical ... why don't you raise a porting request for mwan which is available in LEDE with Entware-Ng team or post on Adze openwrt thread for a port to merlin ?
  3. S

    User NVRAM Save/Restore Utility (R26.2)

    This is the most useful and easiest tool I have come across after moving to merlin. Save and Restore...and save a ton of time and frustration. I assume @john9527 would not mind, if users take initiative in starting/updating a user/installation guide with installation steps, experience, faq etc.,
  4. S

    Email notification when switching to secondary WAN?

    AFAIK Restarting pppd will restart pppoe, dnsmasq (dhcp) and wan. As for the VPN protocols i.e., pptp etc., i assume if the VPN is configured to be ON, it should restart auto after a ppp/wan restart/change.
  5. S

    Email notification when switching to secondary WAN?

    perhaps instead of rebooting the router, things may workout with just restarting pppd or restarting wan # For wan0 link, modify for dual wan if (cat /var/run/ppp0.pid) then logger "wan0 already running..." killall pppd #or just kill the pid of cat cmd fi logger "Starting wan0..."...
  6. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    Adding a $USER to cron.allow and the soft link are elegant. @Odkrys Try this approach. Do a test after configuration with @kvic's suggested steps to see if crontab is working for $USER. I have included a quick fix for you, uptake the file and in the .ipBLOCKer.config file add the below...
  7. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    @bayern1975 in your case you would need to replace the USBDIR in the above command with sda1 i.e., cru d ipBLOCKer-synch cru a ipBLOCKer-synch "*/30 * * * * . /tmp/mnt/sda1/ipBLOCKer/.ipBLOCKer.config; /tmp/mnt/sda1/ipBLOCKer/ipBLOCKer.sh synch"
  8. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    Have you tried as suggested in the Guide Check the name of super user on your system. If it's other then root, please fix it at /opt/etc/crontab. As an example, asuswrt(-merlin) uses admin: sed -i 's/root/admin/g' /opt/etc/crontab NOTE: Since entware has the vixie's version and as @...
  9. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    you can use cru cru a ipBLOCKer-synch "30 * * * * . /tmp/mnt/USBDIR/ipBLOCKer/.ipBLOCKer.config; /tmp/mnt/USBDIR/ipBLOCKer/ipBLOCKer.sh synch"
  10. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    Are you on 1.0 or 1.1 ? You have given me very little information from which to work with, I can derive the below: 1. ipBLOCKer starts and see’s that firewall has restarted and restores firewall from saved state. I do not know from your posted output whether the router has restarted too and...
  11. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    The user has some USB issue (i think from his posts) after the router is restarted, files seem to be present on the USB but file content is inconsistent across boots. FYI ipBLOCKer.sh setup will start the Setup Menu and wait for user to select or change system configuration. ipBLOCKer.sh...
  12. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    Too bad, tested and working for all the situations router restart => block synch_all (all saved state restored) firewall restart => system automatically detects restores when invoked As I have requested you before, as none of the blocking solutions seem to work for you, start a new thread...
  13. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    Go through the upgrade instructions and do backup your system. It addresses your router restart issue specifically. After you restart your router assuming you have not uninstalled anything and have saved files in the refresh folder go to ipBLOCKer and use the option synch_all
  14. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    ipBLOCKer Version 1.1 available now. See Post #1 & Post #2 for Changelog and Upgrade Instructions
  15. S

    How to Dynamically Ban Malicious IP's using IPSet (Martineau version)

    Perhaps we can include a menu option with credits to Martineau.
  16. S

    :: ipBLOCKer :: Category blocking using iptables and ipsets

    I thought (he/she) was an alien
  17. S

    [To all script writers] Suggestion for better environment management

    I tried initially on my mac with grep version 2.5 it failed to extract the difference. I tried again with entware grep 2.26 version. BINGO works like a charm. I posted the code you mentioned here, into multiple location in a sample script i.e., into 3 different locations in some another...
  18. S

    [To all script writers] Suggestion for better environment management

    Typically i stay away from sed when it comes to multiple changes more so in situations when another process can access the same file and safer to create a temp file. The mutex can be unpredictable when it comes to sed. Each their own style of coding
  19. S

    [To all script writers] Suggestion for better environment management

    The point was about adding a meaningful comment to whatever is posted. Atleast finally now we all agree that a comment follows above, below, next or somewhere to the scriptcall
  20. S

    [To all script writers] Suggestion for better environment management

    I just tried your code inline with other scripts. The function does not work for your situation, will update if i can find a way
Top