scripts

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.
  1. H

    Beta Script to monitor temperatures on RT-AC68U

    Radios on my first router stopped working within hours of setting it up and I suspected it due to high temperature (CPU was at 96°C). When I got a replacement, I didn't want to take a chance so had it always running with a fan. I recently upgraded to RT-AC86U and converted the old router to an...
  2. XIII

    DDNS: how to set up ASUS (primary), No-IP (backup), and push notification?

    For an experiment I want to achieve this: Use *.asuscomm.com as main DDNS service Use No-IP as backup DDNS service Get a push notification (using Pushover) when the IP changes Unfortunately I'm confused by the Wiki page on DDNS services. It seems like I can achieve this by: Configuring...
  3. elrengo

    Script at start-up fail

    Hi! I have two routers: RT-AC3100 + RT-AC66U_B1. The AC3100 as main router and the AC66 as AiMesh node. Both with Assuswrt Merlin firmware up to date. In AC3100 router I've a My Passwort USB3 HDD attached where I've two paritions. Ther first one where is installed Entware and installed rtorret...
  4. T

    Scripts help please

    Hi I am trying to write a script that runs a command to push my usb into another mode but it doesn't seem to be running at boot... I'm not sure what I am doing wrong? #!/bin/sh usb_modeswitch -v 0x1410 -p 0x9020 -u 2 This is the script. I put it in /jffs/scripts and made it executable...
  5. B

    Comms between different networks help

    Hi, I.ve read many threads on how to achieve this and had partial success. Please guide me in the correct direction. Many thanks in advance. I have a Router/Modem/IPTV thing that my ISP installed me, which has the internet connection. It has a network of 192.168.1.0. This will be router 1 and...
  6. 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...
  7. Y

    AC87U: 100% CPU load on both cores and connection problems

    Hi there I am running a AC87U (Merlin 384.13) with a couple of additional scripts running: DNScrypt Skynet diversion (pixelserv) (amtm) (swap enabled on USB2) (RNG) Very often I have Wi-Fi issues. My smartphone or my laptop say that they are connected to the network, but have no internet...
  8. M

    smb.postconf not doing anything

    I'm trying to insert some veto rules into my smb.conf file via the following smb.postconf, located at /jffs/scripts/smb.postconf: #!/bin/sh CONFIG=$1 sed -i '' 's:veto files = :veto files = /._*/.DS_Store/.Trashes/.TemporaryItems:g' $CONFIG Unfortunately it doesn't appear to have any effect...
  9. M

    Directing OpenVPN Server Clients to static addresses

    Little bit of a noob here, so bear with me and please forgive my poor use of terminology. Setting me straight is appreciated! Where I'm at so far: Currently have 4 server clients setup for connecting to server 1; client1-4 Previously, I was using a TAP connection and a static mac addresses...
  10. D

    script to restart VPN client if connection goes down?

    Sometimes, after a few days, I may need to restart my VPN (client) connection. Is there any script for Asus wireless routers which will do this automatically? Restarting the router daily doesn't help. For example, I might restart it at 5:00 am, but if the VPN connection goes down at, say, 4pm...
  11. D

    speedtest script to run on router?

    Is there a script similar to this one that can be run on the router? sivel/speedtest-cli: Command line interface for testing internet bandwidth using speedtest.net https://github.com/sivel/speedtest-cli That's a python script. If there is not a script specific to an Asus router, has anyone...
  12. XtremeBattle

    Asus merlin IPTV+NET on same port

    Hello, I bought an asus router to use instead of isp router, and im trying to conect my tv box on it, my box uses both iptv and internet to acess apps and past programs. so i need to change vlans for both settings, my router doesnt have a tomato version so im trying changing scripts but i dont...
  13. HuskyHerder

    Custom script proper usage?

    I started by appending my script to the wan-start below the ab-solution portion. The script is, just a sleep event to ensure the WAN is active, and then issue a pushover notification. Is that the desired approach, to append to the existing script ? Is there somewhere I could actually specify...
  14. Tydyn Rain St. Clair

    Iptables Rules for OpenVPN Port Forwarding

    Hello all. I'll do my best to explain my situation and what I'm attempting to do as clearly and succinctly as possible. Two years ago (May 30th 2016) I posted in this forum asking for help to figure out a way to successfully forward server ports via an OpenVPN tunnel from my laptop (running an...
  15. chandras002

    crontab using cru -not working

    Dear all, last few days, struggling on this...:rolleyes: i want to run tcpdump for every 1 hours using crontab on my Asus merlin - AC88U - firmware 380.65_4. Now testing for every 1 min so, 1) I have a script name admin.sh : /jffs/scripts/admin.sh !/bin/sh echo This is test...
  16. G

    Transmission does not send an e-mail

    Hi all. Something wrong with Entware Transmission. I have a script in /jffs/scripts: I have Entware Transmission installed and configured settings.json to include: "script-torrent-done-enabled": true, "script-torrent-done-filename": "/jffs/scripts/tmail.sh", Everything was fine...
  17. S

    Need help with nat-start script.

    Since I enabled the FTP server on my NAS I've been getting several log alerts in my mail about failed login attempts. This is part of the log that is sent to my email from my NAS 2016-12-26 19:26:20 alert Failed pure-ftpd login attempt (incorrect password or inexistent username). The details...
Top