script

  1. D

    [AC87U]: Limit Bandwidth On 5GHz Band Using Script

    Hi everybody, I'm trying to write a script that does the following: Read a list of user/device name/mac addresses/limit Check if the device is active (i.e. bandwidth is over a given threshold) - e.g. every minute Count the times the device is over this threshold If the device breaches the...
  2. 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...
  3. 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...
  4. Freakandel

    Switching Guest network on/off wifi with SSH command

    Hi, I would like to know if it is possible to switch on/off the WiFi Guest network (2.4 and 5 Ghz) with a SSH command or script. I want to achive an easy way (wife proof ;-)) to get control over the Guest network in combination with Domoticz and a dVent, LUA or other script. Also, if applicable...
  5. B

    Script to reboot when WAN detected as down

    Asus RT-86u running Merlin Every now and then - like every day or so the router just loses connectivity. I have been trying in vain to scour logs for a while with no idea why. A reboot seems to fix it. This was then running fine with a daily reboot set to 5am. Except now it dropped out after 9...
  6. O

    How can I use user script in AI Mesh nodes?

    Hello, I have a question about script. I am using 3 AC-68U routers, they are runing in 384.13, one is router, the others are nodes. It seems that if I enable the ai-mesh node mode, the device will reset its nvram which means I cannot enable the jffs scripts. My goal is to use scripts to auto...
  7. L&LD

    GitHub Sponsors New Way to Pay Developers.

    I found this interesting article that the scriptwriters here may be interested in. It is only in Beta now but looks promising. This is sponsored by both GitHub and Microsoft and they are offering a matching fund for the first year up to $5,000...
  8. P

    Problem with VPN IP leak, Firewall script

    Hello I have a problem with VPN settings . Here is my previous topic https://www.snbforums.com/threads/openvpn-configuration-ip-leak.50334/ I used the way with jffs firewall script, to block wan . And it seemed to me that everything was ok, but lately i had power outage, so the router and...
  9. H

    Scripted VPN client configuration

    Is there a way to set up a VPN client connection at the command line. I'd like to be able to read an ovpn file and write the configuration using a script. My intention is to automate downloading of an ovpn file; choosing a server with the most capacity and lowest ping, and then automatically...
  10. wheelq

    unknown syslog copy

    I have noticed very high CPU spikes, so I did a little research. As it turns out, every , the following command is being issued: 2984 admin 1420 D cp /tmp/syslog.log /tmp/syslog.log-1 /jffs I have checked the 1420 and it is: 101 admin 1420 S /bin/sh Yes, I do lots of...
  11. johnathonm

    Script Recommendations

    Hello, I hope you are all well. I wanted to reach out to the forum to see if you all had any scripts and/or script recommendations you would be willing to share. I am currently using the three big ones that I came across in the forum: the two from Lonelycoder (Ab-solution his terminal script)...
  12. I

    Schedule LED Control Script not working

    Hello. I have the Asus RT-AC68U router with the last Merlin firmware installed (384.4_2). I'm completely new to asus routers and I'm still adapting to it. But so far I'm not having mayor problems except for the following. I was trying to schedule the led control following the guide...
  13. AppleBag

    DDNS script example to update CloudFlare not working

    Hi I copied/pasted verbatim, the CF example script (here) to update my "A" record. Edited the respective areas, placed it in my jffs/scripts folder and set it's permissions executable. Now in the logs it says it's failing: -- Apr 6 20:39:57 start_ddns: update CUSTOM , wan_unit 0 Apr 6...
  14. Quadcore

    Strange behaviour of script "app_base_link.sh"

    I am an owner of RT-AC86U router with last stable release of RMerlin (384.4.2). I've an external USB3 HDD with two partitions, first one with NTFS fs, second one with EXT3 fs. I've installed the Entware packages (32bit) with the newest script and I've installed the same packages I had with my...
  15. Sinner

    A good IOS app for editing and uploading scripts?

    Anyone have any suggestions for a good IOS app to edit and upload scripts to the router? I've looked at a few like shelly and codeanywhere. I'm just wanting something simple that can edit and upload fairly easy. Any ideas? I'm not sure if this is the best section to post this in but under...
  16. S

    Need a script that auto reboot if internet is down

    Hi, I have merlin 380.64 on asus ac68u and sometimes internet goes down while I am away from home and need to reboot the router to be up again. Can someone please help with a simple script that checks for internet connectivity every few minutes and if it’s down, perform a reboot? Thanks in advance.
  17. S

    How do I send a script DDNS over VPN to JIFFS

    I am running my own email server. Gmail and the like bounce my emails under various excuses, mostly residential IP. I have seen that Merlin has a script to run DDNS over the VPN, but I did not find out how to send this script to jiffs? Can you help point me to the correct script for AC87U and...
  18. M

    Samba share everyone write access

    I am affected by this error and cannot save image backups to the drive. The solution to this is to enable write access to everyone. What is the most beautiful way to do this for single share? Is there such control in the GUI or should I modify smb.conf via postconf script in that way...
  19. Z

    iptables script

    I know just enough to accidentally do very terrible things to my system, but I follow directions very well. :D I have an Asus RT-AC68U router flashed to merlin firmware version RT-AC68U_380.66_4 I want to insert an iptables script to automatically set the TTL value to 65 for all connected...
  20. P

    AC68U - 4G USB hanging up

    Hi guys! I bought Asus RT-AC68U with Huawei 4G LTE Modem. There is problem with connection stability, usb modem hang-up and i need to reconnect it manually. I've installed Asuswrt-Merlin with hope that there will be possibility to automate this process. Now I've created the script to ping...
Top