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

    Dnscrypt from opendns

    I made this http://www.snbforums.com/threads/beta-dnscrypt-installer-for-asuswrt.36071/ , hope it's useful and easy for you guys.
  2. B

    DNSCrypt on Asus-Merlin Variants?

    I made this http://www.snbforums.com/threads/beta-dnscrypt-installer-for-asuswrt.36071/ , hope it's useful and easy for you guys.
  3. B

    DNScrypt dnscrypt installer for asuswrt

    So to solve all the problems with installing dnscrypt with entware (or similar) then setting up various scripts to handle dnscrypt-proxy starting up including the ntp issue, I made my own installer for dnscrypt-proxy. Requirements: - ARM or MIPSEL based ASUS routers - asuswrt-merlin firmwares...
  4. B

    DNSCrypt on Asus-Merlin Variants?

    Indeed cisco/OpenDNS is location aware for CDN. Not because of anycast though as those from d0wn or fusl do not work. Also using this script here https://github.com/lancethepants/dnscrypt-arm-musl-static/blob/master/dnscrypt.sh I modified to: #!/bin/bash set -e set -x mkdir ./dnscrypt && cd...
  5. B

    Are unmount, services-stop run at reboot?

    Thanks for the info, didn't know that, I compiled it myself and it works anyway.
  6. B

    Are unmount, services-stop run at reboot?

    I compiled https://github.com/RMerl/asuswrt-merlin/commit/f3fd73ac543993d3f23c50d895bea8d8fdedda5e with usb fix and now it works correctly. For now I haven't encountered any issue with this firmware either. But I don't use stuffs like QOS to say anything about those changes.
  7. B

    Are unmount, services-stop run at reboot?

    FWIW, @john9527 manages to fix the root cause with the xhci controller handling during reboot through our PMs so we don't need to fiddle with services-stop or weird bind mount scripts that don't work anymore. I am just wondering now that is this fix ready with 380.63 @john9527 and @RMerlin? I...
  8. B

    Are unmount, services-stop run at reboot?

    After my last post I don't think simply scripting and hooking are gonna cut it, either. Still I don't think your solution will fix it, @john9527. The problem is as I said in one of my previous posts where I said that the usb kernel subsystem for the xhci controller is brought down even before...
  9. B

    Are unmount, services-stop run at reboot?

    So using @Fitz Mutch bind mount script I modify it a little to this: #!/bin/sh CMD=$(basename $0) SELF="/jffs/scripts/rc" run_unmount () { for DIR in /tmp/mnt/sd*; do /jffs/scripts/unmount $DIR umount $DIR && logger "unmount $DIR" || logger "unable to unmount $DIR" done } case $CMD in...
  10. B

    Are unmount, services-stop run at reboot?

    @wocram: You should do a factory reset now to make sure of that. You don't need to do a factory reset when .63 is out if your settings is clean from .61.
  11. B

    Are unmount, services-stop run at reboot?

    ext4 can usually handle recovery like this fine. Which filesystem do you use for your USB HDD?
  12. B

    Are unmount, services-stop run at reboot?

    So this time I rewrite my unmount user script to do everything. Case 1 I do it like before with a if as following: #!/bin/sh if [ -d $1/share ]; then touch /jffs/log/1.start [ -f /opt/etc/init.d/rc.unslung ] && /opt/etc/init.d/rc.unslung stop touch /jffs/log/2.unslung_stop sleep 1...
  13. B

    Are unmount, services-stop run at reboot?

    Thanks RMerlin, I will research these and try to come up with better scripts.
  14. B

    Are unmount, services-stop run at reboot?

    Haven't tried bind mount on symlink ever but you can bind mount rc then use $0 in script to switch the logic duh :D. Will try this, thanks for the idea. EDIT: just look at the layout of that directory, rc is a bunch of tools not just halt and reboot. Need to find another way. Can always extract...
  15. B

    Are unmount, services-stop run at reboot?

    @barbara: I did do this and to check if the services-stop has run I have tried to touch a file in jffs in this script and also added a logger output but alas this script wasn't run when I restart my router. It's likely a timing issue as I think this script should supposedly run right after...
  16. B

    Are unmount, services-stop run at reboot?

    Do you need further info on this? I can help with debugging.
  17. B

    Are unmount, services-stop run at reboot?

    To make sure it's not some script of mine, I have disabled every script in /jffs/script and the same problem (kernel: EXT4-fs (sda1): recovery complete) still persists with my USB HDD which is a WD Elements 500GB. I tried a USB thumbdrive without mounting it on Windows as a drive, and it does...
  18. B

    Are unmount, services-stop run at reboot?

    The problem is actually from line 28 down if you check the pastebin log. Seems like the kernel is already in the process of unloading various usb drivers right after closing nasapps thus causing any later command to fail including unmount custom script and where is services-stop was called, I...
  19. B

    Are unmount, services-stop run at reboot?

    According to https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts services-stop should be run when reboot, but I definitely do not see it run in my log on merlin 380.62_1 on my AC56U http://pastebin.com/DdCnMDdB (pasting the log here triggering sql injection block lol) And having unmount...
  20. B

    Minimizing JFFS wear with rsync

    Considering the P/E cycle on these NANDs are 100k as you can look up on wikidevi and snb reviews by checking their respective model specsheet. You would need to write TBs of data onto these NANDs to fail them. Probably something else will fail first, not something to lose sleep over.
Top