Viktor Jaep
Part of the Furniture
Interim v1.5 Beta3 is out there if anyone wants to test any of this new functionality... Here's some of the additions since v1.5b2:
Stable:
- Added live feedback during the config process to indicate what the user entered, to hopefully catch typos before getting saved into the config. I thought this would be less messy than showing a huge summary of what all entries would be added to the config at the end of the setup process. Also, note that I'm not giving people feedback on Y/N questions, since these are really hard to screw up. -- thanks @Kal1975
- Added a new switch called "-screen", which will kick off VPNMON-R2 using the screen utility so we don't have to type this huge commandline each time (usage: "vpnmon-r2.sh -screen") -- thanks @Kal1975
- Added the WAN connectivity check to the top of the VPN reset function. It will start off by first validating whether or not there's a functional WAN connection before attempting to initiate a VPN connection. WAN connectivity checks continue to be done at each interval to determine if VPNMON-R2 needs to take a back seat until the WAN comes back up.
- Enhanced the checkwan function and loop for when the WAN goes down. I don't think it worked as advertised in v1.5b2. Please know this is largely untested in a WAN down scenario, and would love to hear your feedback to see if this works. I will try to simulate this when I get a chance.
- spdMerlin integration that changes which VPN tunnel to run speed tests from when the slots change -- thanks @iTyPsIDg
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R2/master/vpnmon-r2-1.5b3.sh" -o "/jffs/scripts/vpnmon-r2.sh" && chmod a+rx "/jffs/scripts/vpnmon-r2.sh"
Stable:
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/VPNMON-R2/master/vpnmon-r2-1.4.sh" -o "/jffs/scripts/vpnmon-r2.sh" && chmod a+rx "/jffs/scripts/vpnmon-r2.sh"
Last edited: