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

Recent content by macdis

  1. M

    Getting Traffic Monitor Values Programmatically

    And a tool like Beszel provides an at-a-glance monitoring solution for a bunch of stuff, including send/receive speeds, accessible through a web UI or Pocketbase web API, email notifications, and blah blah blah. Might be useful in some situations. Has to be installed manually to jffs and started...
  2. M

    Getting Traffic Monitor Values Programmatically

    Assuming that eth0 is the WAN interface (it is, isn't it?), I am realizing that I can probably also do this via ssh me@router 'cat /sys/class/net/eth0/statistics/rx_bytes' ssh me@router 'cat /sys/class/net/eth0/statistics/tx_bytes'
  3. M

    Getting Traffic Monitor Values Programmatically

    I'm wondering if it's possible to retrieve Traffic Monitor throughput data programmatically (MB/s, see screenshot). I can retrieve the data via a series of curl calls, but is there is a simpler way to retrieve it? My current method is ok, I guess, but clunky. Basically, it's as follows: 1...
  4. M

    Solved OpenVPN server not starting at boot

    Cool, will do! Thanks again!
  5. M

    Solved OpenVPN server not starting at boot

    I think I've solved this. In my ddns-start script, I was updating two hostnames on afraid.org. Because I didn't want to hammer the server, I put a "sleep 30" between the two update commands. Removing the sleep command was all it took to get the OpenVPN server and client to start at boot. So I...
  6. M

    Solved OpenVPN server not starting at boot

    Yes, I'm now going through the changes I've made to default settings (not that many, really) to see if I can find a configuration that works. So far no joy.
  7. M

    Solved OpenVPN server not starting at boot

    Right, ok, whoops, so if I put the following in the services-start script, then the server eventually comes online. sleep 20 service restart_vpnserver1 However, as mentioned there aren't any post-reboot ovpn server messages in the syslog until the restart that I manually added to...
  8. M

    Solved OpenVPN server not starting at boot

    Regarding the OpenVPN server that won't start, I've now noticed that when it's hanging in the "Initialinzing the settings of OpenVPN server now" state, I can't even do a "service restart_ovpnserver1". Nothing happens and nothing is logged. I'll edit the original post to reflect this.
  9. M

    Solved OpenVPN server not starting at boot

    Thanks, that's very helpful. I'll play around with your script and see how it goes, but the simplicity of the rule is appealing (so long as there are no unintended downsides).
  10. M

    Solved OpenVPN server not starting at boot

    More info: looking at syslog, I am not seeing any ovpn-server1 messages after boot, until I click on "Apply" Also re: Thanks for that. There’s probably a much better way of doing what I’m trying to do with that rule, but without it, a client of the router’s OpenVPN server can’t ssh into...
  11. M

    Solved OpenVPN server not starting at boot

    Hi all, I'm having a problem with firmware 386.4 on my RT-AX88U. I have set up an OpenVPN server, which works as expected on its own. And I have set up an OpenVPN client, which works as expected on its own. The problem: if I have them both configured, then the server won't start at boot...
  12. M

    USB drive mounting twice as different devices

    (P.S. The router is running 380.59)
  13. M

    USB drive mounting twice as different devices

    I have a setup with two USB drives, which I mount as /tmp/mnt/front and /tmp/mnt/back. /tmp/mnt/front is a time machine drive and /tmp/mnt/back is where my Entware install resides. I use a post-mount script to create the symlink to the Entware install and to start /opt/etc/init.d/rc.unslung (I...
Back
Top