Tried few times with Connection Watchdog (as I understood it's the only option for automatic reboot), but it's not working. It's keep rebooting after mentioned timeout period. Looks like it pinging, but not getting the response and that's why keep rebooting.
Any ideas? Maybe ping blocked on dd-wrt router? But I didn't find such option though.
Why not use a watchdog built specifically to monitor the OpenVPN process, like my own (see my signature).
Sounds like a great idea.
I followed instruction ddwrt-ovpn-watchdog.sh. I enabled jffs2, but in Total row it showing "not mounted". Probably to this, upon running installation command from Commands tab, I got error:
Code:
warning: /jffs not mounted; using /tmp
I rebooted and tried to install again, but got this error:
Code:
warning: /jffs not mounted; using /tmp
warning: existing file: /tmp/ddwrt-ovpn-watchdog.startup
sh: can't open /dev/tty: No such device or address
info: installation aborted
tr: write error: Broken pipe
What can I do in this situation? Thank you and sorry for noobish questions (never worked with scripts before).
The JFFS partition has to be formatted as either ext2, ext3, or ext4, since it will be used to execute Linux programs/scripts. Linux can't read DOS-based partitions like FAT32 for these purposes. You can use a bootable distro of Linux and the gparted utility to create a ext2/3/4 partition (e.g., Ubuntu Live CD). There's even a distro specifically for gparted.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sun Jul 25, 2021 19:42 Post subject:
FWIW, I have formatted USB drives as ext2 or ext4 from the dd-wrt NAS page. I don't remember the details, but it was fairly obvious. So no need for a linux machine external to the router. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.