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

    Entware Problem mounting opt / installing entware

    So a Tailscale daemon bug (or Entware build specific). I would also test if closing the terminal session doesn't kill the daemon. Modify S06tailscaled further: #!/bin/sh ENABLED=yes PROCS=tailscaled ARGS="--state=/opt/var/tailscaled.state > /dev/null 2>&1 &" PREARGS="nohup" DESC=$PROCS...
  2. jacklul

    Entware Problem mounting opt / installing entware

    So, for example CTRL-C or SIGINT signal. Maybe you're executing that ping command in the same terminal session you used to start tailscaled? Maybe tailscaled does not goes into background properly, in that case it's a bug.
  3. jacklul

    Entware Problem mounting opt / installing entware

    Oh, I had the same issue I think, tun module isn't loaded. This is what my startup script ran before tailscaled daemon started: ! lsmod | grep -q tun && modprobe tun && sleep 1 You should edit init.d script for tailscaled and add this just before rc.func line: case $1 in start|restart)...
  4. jacklul

    Entware Problem mounting opt / installing entware

    Check tailscaled logs? Make sure to not run "--no-logs-no-support" option, check the S06tailscaled file if it has it. I am pretty sure you will need custom iptables rules if you want it to be an exit node.
  5. jacklul

    Entware Problem mounting opt / installing entware

    There is only S06tailscaled, it's like this for the startup ordering.
  6. jacklul

    Entware Problem mounting opt / installing entware

    Right after installation the daemon isn't started by opkg, use this to start it: "/opt/etc/init.d/S06tailscaled start"
  7. jacklul

    Entware Problem mounting opt / installing entware

    The script is truncated at the start and won't run, not sure if copy error just in the post or on the router, my guess is it's on the router since letter A enables input in vi so everything after that letter went into the file and you didn't notice. The log goes to the syslog, readable in the webui.
  8. jacklul

    Entware Problem mounting opt / installing entware

    Did you use official Entware install instructions here? They do not work because /opt/var doesn't exist and /opt is a directory on readonly root. This is why the only working method of mounting is to mount --bind /tmp/mnt/sda/entware /opt
  9. jacklul

    Entware Problem mounting opt / installing entware

    Yeah it seems like workaround won't work, apps_state_autorun should be set to 4 by the router when successfully mounted the asusware folder, apps_state_update is 2 - so it ran but at that point the autorun one should be 3... You're probably missing a trigger that makes it all work, installing...
  10. jacklul

    Entware Problem mounting opt / installing entware

    Does this return anything: nvram show | grep apps_ Ahh, you're right, I see it's just very much requested.
  11. jacklul

    Entware Problem mounting opt / installing entware

    So it's TUF AX3000 v2 not just AX3000, I believe it is supported in GNUton's Merlin fork by the way. So, did the workaround work or not?
  12. jacklul

    Entware Problem mounting opt / installing entware

    Everything looks fine to me, assuming /opt/bin/opkg exists it should be working. What about calling it with the full path, does it still doesn't work? Maybe data gets corrupted by the filesystem check ? (you can disable it with "nvram set stop_fsck 1 && nvram commit") Getting out of ideas here
  13. jacklul

    Entware Problem mounting opt / installing entware

    Perhaps PATH variable doesn't contain paths to /opt, can you run opkg through /opt/bin/opkg command instead? What is the output of "echo $PATH" ? What is the output of "cat /etc/profile" ? Does running the following command makes you able to use just opkg command afterwards ? export...
  14. jacklul

    Entware Problem mounting opt / installing entware

    Perhaps that model doesn't support it internally, I'm not that familiar with the source code to be able to answer that. Have you tried debugging the workaround? Simplest would be putting something like this into asusware.arm/etc/init.d/S50usb-mount-script: echo "YES" > /tmp/workaround-worked...
  15. jacklul

    Entware Problem mounting opt / installing entware

    This. In my case ext4/3 didn't auto mount but ext2 did. Maybe your model doesn't support Asus' Optware at all, that would probably make the workaround not work. See if nvram get rc_support contains "app" or "appnet".
  16. jacklul

    Entware Problem mounting opt / installing entware

    You're definitely doing something wrong because it works on my end. Maybe the USB drive is at fault here? You should debug if the workaround even works, sometimes you have to install Download Master once first (then wipe the drive, not uninstall) to have some nvram vars initialized/set.
  17. jacklul

    Wireguard on Asus: Can only see router, not LAN Devices!

    If you're trying to access LAN shares through the VPN then the connections are probably denied by each individual device due to connection not coming from LAN IP (but instead it comes from the WireGuard's network IP). The working workaround is to either add MASQUERADE iptables rules on the...
  18. jacklul

    Entware Problem mounting opt / installing entware

    See if those will help you out (you still need workaround on the USB drive): (untested code, taken from my Entware installer)
  19. jacklul

    Entware Problem mounting opt / installing entware

    Have you tried mount --bind /tmp/mnt/sda/entware /opt
  20. jacklul

    Entware Problem mounting opt / installing entware

    And the workaround for this is here (more updated version here) - still works - been using it for a some time. Even build a mini-script "ecosystem" with it, including Entware support. The moment you setup stable Entware setup you don't really need Merlin firmware for scripting and extra apps.
Top