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. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    His firmware was updated with this change. Just testing it now. https://github.com/blackfuel/asuswrt-merlin/commit/447e213224f2a5a13341c23c25f9f2bcd9164a5b
  2. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    Here's my Tor backup and restore code, as implemented in services.c. It minimizes writes to /jffs, and supports symbolic linking of the .tordb directory. It doesn't purge the cache every 7 days. ~/asuswrt-merlin/release/src/router/rc/services.c #if...
  3. Fitz Mutch

    Unexplained Disk Activity

    My router has Entware-ng, so I use the MiniDLNA package from Entware-ng. The config file is here: nano /opt/etc/minidlna.conf However, Asuswrt-Merlin has MiniDLNA too. You can follow the wiki for custom scripts and configs. And could override the default settings, like this: cp -p...
  4. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    I like your idea of nuking the /jffs/.tordb directory, when Tor hasn't been used in a while. Also, I noticed a big file in /tmp/.tordb hasn't changed in 24 hours. I don't know if these two files are static. The others are definitely updated more frequently. -rwx------ 1 tor tor...
  5. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    Yes, it's a good idea. If the backup and restore logic is exactly as follows, then it would update only when the files have changed, to reduce wear on the flash memory. Also, it could allow the source and destination directories to be symbolic links. Backup /bin/mkdir -p /jffs/.tordb /bin/cp...
  6. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    The Tor data directory is always cached in RAM anyway until the router is rebooted. Plus, backing up the Tor data directory while Tor is running could cause file corruption issues. Been using Tor on the router for a long time without the cache. I haven't seen Tor take longer than 60 seconds...
  7. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    It's exactly what Merlin said, just "rm -rf /jffs/.tordb" and reboot the router.
  8. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    Yes, it would become stale. You could probably get away with removing that entire block of code from watchdog. So every time you reboot the router, Tor would re-cache the certs and descriptors.
  9. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    Your Tor data directory is /tmp/.tordb. Please check the ownership and permissions of your Tor data directory. Sometimes this is a cause of Tor not starting. A="l s"; ${A/ /} -ld /tmp/.tordb/ What I think about is the ownership and permissions of the Tor data directory. How to fix it...
  10. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    I'm guessing the issue is either the non-root Tor user or the Tor directory ownership/permissions. cat /tmp/torrc | grep tor cat /et?/passwd | grep tor cat /et?/shadow | grep tor cat /et?/group | grep tor cat /et?/gshadow | grep tor A="l s"; ${A/ /} -ld /var/lib/tor/ (silly Cloudflare)
  11. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    The Tor log file name is /tmp/torlog cat /tmp/torlog
  12. Fitz Mutch

    Tor on ASUS RT-AC66U after FW upgrade to 380.67

    Tor is running fine for me on Asuswrt-Merlin 380.68-alpha1. However, I'm using Tor 0.3.0.10 upgrade, and a homemade /jffs/scripts/torrc.postconf /jffs/scripts/torrc.postconf https://cryptobin.co/36s0b7v3, password is lol
  13. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    A few posts back I show my ntp.conf. And my ntpq -p shows only GPS_NMEA(0) and LOCAL(0). I use Orphan Mode to fail over to Local Clock when the GPS loses it's satellite fix or if it's unplugged. Also uploaded a picture of me. :)...
  14. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    U-blox7 USB GPS is no PPS. If PPS is something you need, I would build it myself from scratch. Maybe ask someone in your local area if you don't know how. Anyway, the Linux kernel would need to be configured to trigger an interrupt on the PPS signal... so he knows exactly when the second...
  15. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    My router where I use GPS+PPS requires a Linux kernel change to AsusWRT (my brother Jon did it), and I'm using an RY835AI GPS receiver, inside a homemade weatherproof enclosure, mounted up on the roof of the building. However, you don't need to be within microseconds of standard time. Your...
  16. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    The DS3231 real-time clock has a temperature compensated oscillator, and goes for weeks without significant drift. Almost don't need a GPS, except now it's real easy to set the RTC from the GPS by typing, hwclock -w.
  17. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    I'm starting over using a Raspberry Pi with Arch Linux. It has fast startup because there is no graphical window environment. It boots in under 10 seconds. Is there a way to configure the Linux hotplug rules in AsusWRT? This makes it easy. My Pi has an I2C RTC and the same USB GPS as you...
  18. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    I fixed the GPS script today. No more $GPTXT messages. And, it's all in one script now. https://www.snbforums.com/threads/usb-gps-instead-of-ntp.39806/ Won and done?
  19. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    Try my script to set your router clock, here: https://www.snbforums.com/threads/usb-gps-instead-of-ntp.39806 Use the Busybox NTP server included with Asuswrt-Merlin to serve your NTP clients, here: /usr/sbin/ntpd It's proof you don't need another NTP server. Is this the trouble? opkg update...
  20. Fitz Mutch

    NTP Daemon for ASUSWRT/Merlin

    Just curious if this works. cd /tmp wget https://github.com/blackfuel/asuswrt-merlin-addon/raw/master/staging/bin/ntpd opkg update opkg install coreutils-sha256sum [ "$(sha256sum ntpd | cut -d' ' -f1)" == "885f0ab1f7885cf8772be02a81a9ad724bf48ae2acce23377496c076b3f27693" ] && echo good || echo...
Top