issue: cron doesn't execute jobs
reason: /tmp/crontab is emtpy. gui configured jobs are located in /tmp/cron.d/cron_jobs
workaround: as startup command
issue: cron doesn't execute jobs
reason: /tmp/crontab is emtpy. gui configured jobs are located in /tmp/cron.d/cron_jobs
workaround: as startup command
on which device (serveral in sig)?
do you run scripts as cron job?
which file contains the jobs?
I run custom scripts on two R7800s, my Main GW Router and AP Router. All scripts are stored on a ext4 USB3 flash drive with /opt and /jffs directories. I also copy all scripts to a custom directory like /tmp/myscripts so Cron calls them from faster ram storage.
# At Startup copy scripts to ram drive
mkdir /tmp/myscripts
cp -r /jffs/etc/config/* /tmp/myscripts
Yesterday I upgraded to Build 42542 without issue.
UPDATE: just upgraded to Build 42557. _________________ Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9
Off Site 1
R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4
Off Site 2
R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Fri Feb 28, 2020 16:02 Post subject:
mac913 wrote:
habeIchVergessen wrote:
on which device (serveral in sig)?
do you run scripts as cron job?
which file contains the jobs?
I run custom scripts on two R7800s, my Main GW Router and AP Router. All scripts are stored on a ext4 USB3 flash drive with /opt and /jffs directories. I also copy all scripts to a custom directory like /tmp/myscripts so Cron calls them from faster ram storage.
# At Startup copy scripts to ram drive
mkdir /tmp/myscripts
cp -r /jffs/etc/config/* /tmp/myscripts
Yesterday I upgraded to Build 42542 without issue.
off topic
are you really running ext4 USB3 flash drive with /opt
I always had a believe ext3 or 4 worn out flash drives and they are recommended
only for HDD ive no idea how to stop journaling in DDWRT and use ext 3 or 4 instead ext 2 on thumb drives... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
on which device (serveral in sig)?
do you run scripts as cron job?
which file contains the jobs?
I run custom scripts on two R7800s, my Main GW Router and AP Router. All scripts are stored on a ext4 USB3 flash drive with /opt and /jffs directories. I also copy all scripts to a custom directory like /tmp/myscripts so Cron calls them from faster ram storage.
# At Startup copy scripts to ram drive
mkdir /tmp/myscripts
cp -r /jffs/etc/config/* /tmp/myscripts
Yesterday I upgraded to Build 42542 without issue.
off topic
are you really running ext4 USB3 flash drive with /opt
I always had a believe ext3 or 4 worn out flash drives and they are recommended
only for HDD ive no idea how to stop journaling in DDWRT and use ext 3 or 4 instead ext 2 on thumb drives...
I long time ago I read EXT4 was safe for flash. Linux installs on Flash Drives EXT4 is used. Looking at my USB Settings...
Block device, size 1.953 GiB (2097152000 bytes)
Ext4 file system
Volume name "jffs"
Block device, size 12.36 GiB (13274972160 bytes)
Ext4 file system
Volume name "opt" _________________ Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9
Off Site 1
R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4
Off Site 2
R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531
Router/Version: Netgear WNDR3400 v1/Version: 42514 Mode: A/P File: wndr4300-webflash.bin Kernel: Linux 3.18.140-d4 #71405 Tue Feb 25 06:00:57 +04 2020 mips Status: Running well, uptime 4days, OpenVPN client failing CPU: Atheros AR9344 ver 1 rev 1.2 (0x2122)
Added OpenVPN client
Added VAP with guest network, AP isolation, Net Isolation
works well
had to add Startup "sleep 60; iptables -I FORWARD --source <VAP IP> --destination <VPN IP> -j DROP" to keep the guest wireless from having access to the VPN
OpenVPN client fails after one hour. Soft restart, TLS handshake failed. Worked at start-up and had good VPN communication for one hour. This OpenVPN client config is certificate-based and works on this hardware under DD-WRT version 33986 for months on end (also #40276, #37908, and #37782 using different hardware). Attached syslog showing correct behavior and one showing this build's incorrect behavior, with problem area marked with sidebar.