Jokes aside, I fully agree.
I'll be the first to admit that due to x.y.z this can't be accomplished, but until I have the x.y.z technical reasons, I am challenging myself trying.
Saying "just don't do it" or "just don't try it" isn't enough of a deterrent for me.
If the project dies, you'll...
I think the real win from this endeavor will be to prove that we can interact with the GUI-only features via script and imagine new features from there. iOSshortcuts, PowerShell scripts, shell scripts, or even an unofficial Merlin app.
Thanks for that - I hadn't used the Better Search before, I've now found what I was looking for.
For reference, I put together a simple IOSShortcut that runs a Shell script that initially checks for the output of "wg". If that returns nothing, my single wg client is currently disconnected, so...
...-> Enable/Disable (WGC1), I'd prefer to be able to quickly SSH into the router and run a command to start/stop/check status. I'm looking to ideally tie it to an IOSShortcut, but for now, just automating it on/off would be great.
Could anyone please point me in the right direction?
Thanks!
Matt
I've encountered that issue in the past, but most of the related code is closed source, so I could never get to the root cause of it.
Try service start_wgc1 or service start_wgc 1 ( i haven't tried it).
I assume this is to use with SSH? whats the exact command to start wireguard client 1 to start? i am trying to run the command on iosshortcuts. i tried "Service wgclient1-start" nothing happended.
thx
Let's try this again, I hope this time it lasts :cool: ;)
iOSShortcut v1.4 is now available
What's new in v1.4
- Compatibility fix for Asuswrt-Merlin 386.7.
- Adds amtm script update check!
- This version requires Diversion 4.3.0 installed, see release notes here.
amtm can return a list of...
I don‘t have an Ubuntu system running. Would you be able to compile a version for my RT-AC86U so I can test it?
This goes deeper as I had to change Diversion to use the full path to the Diversion file everywhere or else the withdrawn iOSShortcuts v1.4 release still wont work.
Thanks.
So the shortcut seems to be not working correctly.. I tried the disable diversion service and it didn't actually disable it meaning if I go to the Lan / Diversion tab it says its still on & then I can't actually disable it -- The shortcut also produces some weird output -- I've saved a video...
iOSShortcut v1.4 is now available
What's new in v1.4
- Compatibility fix for Asuswrt-Merlin 386.7
- Adds amtm script update check!
amtm can return a list of available script updates through an SSH command and its SSH UI. To make use of the former, I added this command to the Diversion...
...Linux terminal, MobaXterm appears to work.
Using a more exotic client like SmarTTY that @jsbeddow was using or in this very case, the iOSShortcuts app changes how the $PATH environment is set for the console.
This is something for @RMerlin to re-consider.
The iOS app returns the following...
That‘s confirmed. Running any of the commands in the terminal works, but the iOSShortcut is left hanging with no action or output. Let me try to get to the bottom of this new mystery.
It didn't work for me - formatted the jffs partition / factory reseted, and reconfigured everything and the counter never changes plus the iOSshortcut doesn't work meaning if I select any option its blank.
And....you repaired it by doing....?
A full format and reinstall of amtm and all scripts? Sure, I know that will work, but was trying to avoid it if possible.
So I had to downgrade.. I'm noticing that with the IOSShortcut for Diversion 1.3 it doesn't work correctly with my RT-AX86U on 386.7 alpha build. If I try to use it and select any of the options such as "Count Ads" they don't appear to run. Only way I fixed this was downgrading back to 386.5_2.
Setting up Diversion iOSShortcut on iOS 15: the syntax is different from the Diversion webpage description for iOS 12 link.
I tried URLs: Get Component of URL as that allows specifying username, password, URL and port. But this doesn't render any Diversion options. Any suggestions?
UPDATE...
Hi RMerlin I found some bugs
1) Trend Micro: Signature version can not be update. It's says "Signature update failed"
2) GT-AX11000 Firmware 386.3_2 Aicloud not working. When I make a USB to USB sync it does not work or other type of FTP sync too. It stay in "WAITING". Help please
...#796 from decoderman/master
da11794861 build: fix et userspace tool copy on SDK 6.37
15ccb9cbfb amtm 3.2.1 release, preparation for IOSShortcuts
03c9fdcf06 httpd: fix potential use of uninitialized variable in do_vpnupload_post(), introduced in 6ce76323bf
71732c5a66 rc: reapply...
...the security of your router. I don't understand why it is needed.
If you want to enable or disable VPN through your phone, you can use iOSshortcuts to login to SSH and use commands to complete it. Once you have created such a shortcut, you only need to press the switch next time.
service...
...#796 from decoderman/master
da11794861 build: fix et userspace tool copy on SDK 6.37
15ccb9cbfb amtm 3.2.1 release, preparation for IOSShortcuts
03c9fdcf06 httpd: fix potential use of uninitialized variable in do_vpnupload_post(), introduced in 6ce76323bf
71732c5a66 rc: reapply...
I think it's a bug or something. Since it's fine on 384.19 and older. For now I'm just staying on 384.19 since i kinda need the network to be stable without the 2.4ghz freaking out every few hours.. but ye. Atleast it works fine on 384.19 ..
Thanks
I configured an iOSshortcut with those commands. Makes it so much easier.
Still infuriating that I have to do this for a $200+ router. My ISP modem/router is more stable than this.
An option to add a domain to whitelist would be good addition. My wife is a total non techie, but she can easily use the iOSshortcuts app.
A simple option to add a domain to whitelist via the iOSshortcuts would greatly ease the pain for a lot of users, there are times you wish a website was...
You can do it via an SSH command and iOSshortcuts now support SSH commands. So you can even ask Siri to turn the VPN on/off.
I don’t have the commands to hand but I expect a quick search will yield them.
Sent from my iPhone using Tapatalk
...and have the Diversion 1.3 shortcut installed. (Currently running amtm 3.1.2 & Diversion 4.1.9)
It seems once Diversion is "Disabled" or ad-block state is "Switched", the iOSshortcut can no longer reconnect. (I get an error message: "Run Script Over SSH could not connect to the SSH server")
This can be done with Diversion using iOSshortcuts or an SSH Android app fairly easily. With SSH Button on Android I can disable Diversion with 2 taps. Unfortunately there is no timer function though. More information here: https://www.snbforums.com/threads/ios-shortcut-for-diversion.55974/
Hi,
I have no ios device.
Is it possible to create a new destination like http://router_ip/stop_vpn_client1 and when I go there it starts the script. And without logging in.
Just trying to figure out my options.
...it possible to create a shortcut to turn on/off the router's LEDs?
Something similar to what @thelonelycoder did with Diversion and the iOSshortcut. (iOSShortcut for Diversion).
On a similar note, is it possible to create another SSH shortcut for @Jack Yaz spdMerlin to enable/disable the...
I don't know. A crude way would be to create a file with content such as:
#!/bin/sh
sleep 1800
diversion sh-a >/dev/null 2>&1
And then add such a command as the shortcut:
diversion sh-a; sh /path/to/file &
@thelonelycoder -
The iOSshortcut works great, very handy, thanks!!
I wanted a "disable ad-blocking for XX minutes" function, so attempted to add one. Using "diversion sh-a && echo diversion sh-a | at now + 30 minutes" for the action mostly works, but creates some issues if used a...
...to purchase a "special limited release" Disney purse.
I used the occasion to learn how to reinstall all the wonderful scripts. Your iOSshortcut Disable/Enable option is greatly appreciated!
Unfortunately, I am the only person allowed to "mess" with the network, so all blame goes on me...
thelonelycoder
I wanted to let you know that your iosshortcut has been greatly appreciated in my household! Much less frustrating, than my wife unplugging the usb, then unplugging/plugging in router's power.
Again, Thank You!!
iOSShortcut v1.3 is now available
What's new in v1.3
- Adds blocking list update through Shortcuts
- Adds hosted lists update and processing through Shortcuts
- Adds Exit button to cancel operation
- Rearranged menu
- Diversion shortcut 1.3 requires Diversion 4.1.3
How to install on your iOS...
https://diversion.ch/diversion/manual/alternate-blocking-file.html
I am researching it here. Thank you for your quick responses. *note* it took me for ever to find this section, I might bookmark it for my future reference
I would do this using the Diversion script with minimal blocking by default, and use a fast switch alternate list with Snapchat blocked. There’s even an IOSshortcut you can switch quickly and easily.
iOSShortcut v1.1 is now available
What's new
- More options and simplified menu.
- Version 1.1 requires Diversion 4.1.0.
How to install on your iOS device
See instructions in post #1, once the new Shortcut is configured and working, you may safely delete v1.0 from your Library.
...Adaptive QoS
AIProtection
All work as expected as they did with alpha2
amtm, diversion, skynet & spdmerlin installed plus both iOSshortcuts
Still having fun playing with scripts
Diversion is disabled because the internet side of my Tivo v6 box does not play nicely when the VPN clients...
Thanks for testing.
I could probably test this myself, my RT-AC1900P runs on the same firmware but misses the DSL hardware. But no need to try since you provided feedback.
...- no more DNS leaks and DNSSEC working as it should. One :) camper!
Only setup OpenVPN on the DSL-AC68U to have easy access to your IOSShortcut for Diversion - another brilliant tool to be found here ...
https://www.snbforums.com/threads/ios-shortcut-for-diversion.55974/
Thanks to all for...
Do a forced update. The version number hasn't changed, but there will be a change behind the scenes for this iOSshortcut. The same happened with me and the forced update fixed it (instructions further up in the posts)