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

    Transfer files to another device (raspi) in the same network

    Hello! I need to automatically transfer files from my RT-AC86U to a Rasperry Pi in the same network. amtm is installed and entware, too. The raspi is connected to the router by an ethernet cable and IP adresses are known, of course. The raspi has a SSD connected which is mounted. I'm wondering...
  2. S

    vnStat how to restore vnstat database

    Hi! I have a recent backup of the jffs partition (tar archive). I need to restore the vnstat database from it (no configuration or settings, only the database). Which files and folders do I have to extract from the tar file to the dn-vnstat.d folder? Is it simply the complete folder "csv"...
  3. S

    vnStat usb vs. jffs storage location

    Hi! I'm wondering what "usb" means if set it as storage location? Where is the exact location? I've got an external SSD drive attached to my router and entware is installed on it. Will that be automatically used? And in which directory will the database reside? I'm asking because I've lost my...
  4. S

    halt the router through cronjob

    Hi! If I type "halt" in a shell, it works as expected and the router halts itself (I know, it's not totally powered off). But if I add "halt" to a cronjob, it doesn't halt the router but performs an unwanted reboot at the given time: cru a Shutdown "30 2 * * * halt" Is there something wrong...
  5. S

    reboot instead of halt when using putty

    Hi! When opening a command line / bash with WinSCP and typing in "halt" everything works like a charm: the router stops everything within 10-20 seconds and every LED is finally turned off and the router ready for poweroff. But when I try to achieve the same using Putty, the router always only...
  6. S

    ntpMerlin no clients shown

    Hi! Sometimes after powering on/booting my router "chronyc clients" doesn't show any clients in the list although chronyd obviously works because it serves the time to clients requesting it: operator@homerouter:/tmp/home/root# chronyc clients Hostname NTP Drop Int IntL...
  7. S

    same variable name in different bash scripts

    Hi! I have two different bash scripts. They perform independent tasks from each other, but can possibly run at the same time (during boot process). In both sripts there are variables (for instance to count loops). Can it cause confusion if both scripts use a varibale with the same name or does...
  8. S

    ntpMerlin no clock sync with chrony after router powerdown / reboot [solved]

    Hi! I have a AC86U router, firmware 386.4, using amtm 3.2.3 and ntpmerlin 3.4.5 (installed through amtm). I configured ntpmerlin to use chrony. It works fine, but there is one situation that seems to cause problems. This router isn't always on (due to its location), i.e. it's often shut down...
  9. S

    Route only a specific device through VPN

    Hello! I set up a VPN client (NordVPN) in my Asus router. It works fine, however it affects all internet traffic when I turn it on. But how can I configure my ASUS router to only route the traffic of one specific local device (e.g. a mobile phone with a fixed local IP address) through that VPN...
  10. S

    DNS redirect to local DNS server

    Hi! Some of my devices use an hard-coded DNS server, i.e. 8.8.8.8. I like to re-direct this DNS traffic to my local unbound DNS server by using the firewall script of my AC86 router. I use the following IPTABLES commands. The rule is added correctly to iptables. Are these rules correct and how...
  11. S

    RAM full, Wifi crash, what can I do?

    Hi! While using Skype for video conferences my AC86U's Wifi keeps crashing atfer some time - sometimes it takes half an hour, sometimes only a few minutes. Wifi is gone then, neither my laptop or the smartphone can find the SSID anymore. I have to plug out and in the router to make the Wifi...
  12. S

    wan-event script not executed

    Hi! My old wan-start worked fine. After updating to firmware .15 I renamed it to wan-event and adapted it to consider the new parameters. But it doesn't call the "wan-event-connected.user script" anymore in its code. What is wrong with the following code of the wan-event script? #!/bin/sh if...
  13. S

    wan-start script also run on wan-stop

    Hi! I just found out that /jffs/scripts/wan-start is also run when the wan interface is stopped, e.g. by command 'halt'. I found out by letting this script email me a message when WAN starts (works great), but I also receive the email when I halt the router before power is turned off. A reboot...
  14. S

    Network flooded by dns.msftncsi.com requests

    Hi! Every 15 seconds the router sends a request to dns.msftncsi.com and is flooding the network. I found a setting in the router GUI. Ticking "DNS query" makes it visible, it doesn't affect the frequency of the request tho: What is the purpose of these requests and how can I decrease the...
  15. S

    Powering off the router by shell command

    Hi! I need to power off my router at a certain time of the day. I'd use a cron job for that, but what command can I use to shut down the router? Usually I'd use "shutdown" or "poweroff", but none of these are available. I have Entware installed. Is there a package that provides shutdown...
  16. S

    Connection and Wifi fail after changing router's IP

    Hi! After changing my AC87's local IP address from its default 192.168.1.1 to something different like 192.168.87.1 both the internet connection and the Wifi signal completely fail after the router's reboot. "Wifi fails" means the green icon in the upper right corner of the configuration page...
  17. S

    Budget router with Asuswrt-Merlin support

    Hi! I am looking for a new router but find it hard to find a model that suits my needs. I currently have the outdated Asus N66U. The new router should simply meet the following criteria: - budget (< 130 US-$ or €), no need for cutting edge speed or latest technology - current Asuswrt-Merlin...
  18. S

    OpenVPN Client: Accept DNS Configuration

    Hi! My question is about the OpenVPN Client setting: Accept DNS Configuration: Strict Accept DNS Configuration: Exclusive What is the difference between these two values? How do they work compared to each other? There are a few webpages with explanations on this, but to me they seem...
  19. S

    Strange openssl behaviour / fopen error

    Hi! I am trying to set up an openssl script (also see http://forums.smallnetbuilder.com/showpost.php?p=89025&postcount=78), but performing the openssl command ends with a strange error message. The openssl command is: openssl smime -encrypt -aes256 public.pem -in plain.txt -out mail.txt...
  20. S

    Permanent alias

    Hi! In which config file can I define permanent aliases? Any alias I set up in a shell is temporary only and not there anymore after I close the current session. Usually there should be a file .bash_aliases in the home directory, but I don't think it works this way? Rgds
Top