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

    What clever SSH shortcuts do you use?

    I have a few in my configs/profile.add which link to an alias script: service() { /jffs/scripts/alias.sh service "$@"; } enable() { /jffs/scripts/alias.sh enable "$@"; } disable() { /jffs/scripts/alias.sh disable "$@"; } start() { /jffs/scripts/alias.sh start "$@"; } stop() {...
  2. Dabombber

    [Dev] Q&A for Merlin Addons API

    am_get_webui_page() { for i in 1 2 3 4 5 6 7 8 9 10; do page="/www/user/user$i.asp" if [ ! -f "$page" ] || [ "$(md5sum < "$1")" = "$(md5sum < "$page")" ]; then am_webui_page="user$i.asp" return fi done am_webui_page="none" } I mentioned this...
  3. Dabombber

    Remote Log Server, RFC 5424

    You can get the arguments a program started with from /pr oc/$PID/cmdline (no space, thanks cloudflare), it's a little more reliable that way. For example to show the arguments (again no space in proc): if [ -f /var/run/syslogd.pid ]; then read -r PID < /var/run/syslogd.pid xargs -r0...
  4. Dabombber

    Assorted junk

    Whichever w3schools meant, it seems like Mozilla has a more detailed compatibility list.
  5. Dabombber

    Assorted junk

    Yea, go ahead, that's a big part of why I posted this. It'll need some testing on other browsers though, at the very least Edge will be iffy since it doesn't support resize.
  6. Dabombber

    Assorted junk

    The majority of people won't find this useful, but I've put most of the stuff I use onto github. They most likely won't be compatible with the standard scripts (amtm/diversion etc) because of how I wanted them to work. I may go over what's in them in more detail later, in the meantime here's...
  7. Dabombber

    Scribe scribe - syslog-ng and logrotate installer

    There's already includes for loggy (/opt/share/syslog-ng/include/scl/loggly/loggly.conf), documentation here. Just include @include "scl.conf" in the main syslog-ng configuration file and you can use something like: ### Syslog-ng Logging Directives for Loggly.com ### # This will send all...
  8. Dabombber

    Remote Log Server, RFC 5424

    Scribe's remote logging format is still RFC-3164 (BSD-syslog) I think, but it should be easy enough to change it to RFC-5424 (IETF-syslog). Just modify the A00remote config file to use the syslog() driver.
  9. Dabombber

    Issues with ipv6 and non-bridge modem.

    Have you tried setting the modem as the DHCP server, and disabling it on the router?
  10. Dabombber

    DDNS vs VPN

    The two are quite different and neither directly add any security to your LAN. You might want to have a look at the wiki pages for them Dynamic DNS/Virtual private network. If that's a bit technical, there's noip's description and simple.wiki.
  11. Dabombber

    384.15 There is an error upon login via SSH

    There's a script error in your profile.add file. You can show the file contents with "cat /jffs/configs/profile.add" or edit it with "nano /jffs/configs/profile.add"
  12. Dabombber

    Adding "add-mac=text" to dnsmasq

    Yup, there's more details on the configs here. You can use the command "service restart_dnsmasq" to see the changes without needing to reboot.
  13. Dabombber

    Adding "add-mac=text" to dnsmasq

    Rather than a postconf script, putting the line(s) in /jffs/configs/dnsmasq.conf.add would be easier.
  14. Dabombber

    Router IPv6 hosts entries

    It might only be set for use in the webui, you can just use uname -n instead. It might also be worth checking if ipv6_rtr_addr is set, since IPv6 might only be set up after dnsmasq starts.
  15. Dabombber

    Router IPv6 hosts entries

    In your example you're only setting the IPv4 addresses so you'll have the same problem... address=/router.asus.com/# Would be better since it sets both IPv4 and IPv6. But in the end there's not much difference between resolving to your router or nowhere. The real risk is if the domain is dodgy...
  16. Dabombber

    DDNS

    You can see the curl options here. -f and -s stop it from showing anything other than the result, and -4 limits it to IPv4. There isn't really any point having -4 with the dnsomatic update, but it's useful for getting your IP from a dual stack service like https://api.my-ip.io/ip. -u is for...
  17. Dabombber

    DDNS

    Rather than sleeping you could have curl retry, 7 retries should be about 28 seconds. You could also save the IP after a successful update so you don't need to use nslookup to check the previous value. The other things I'd change would be removing the -k option from curl (you can just use...
  18. Dabombber

    [Beta] Asuswrt-Merlin 384.16 beta (and 384.13_5) are available

    Is the nvram setting "rc_debug" used anywhere outside logging unrecognised events?
  19. Dabombber

    DDNS - duckdns.org

    The ifconfig command should show which tunnel you're using.
  20. Dabombber

    Any way to reboot a remote router when reboot is not rebooting it?

    You might need to rearrange the order of things in your unmount script. Looks like you've still got stuff running which references /opt, so entware and/or your swap file might not have unmounted properly. If "cat /proc/swaps" shows anything you could try "swapoff -a".
Top