if [ ! -L /tmp/var/log/messages ]; then cat /tmp/var/log/messages >> /opt/messages/messages; fi
killall syslogd
syslogd -Z -L -s 2048 -O /opt/messages
ln -sf /opt/messages/messages /tmp/var/log/messages
Thanks, I am now using this. Is there a reason to use /opt and not /jffs for a USB stick? _________________ Netgear R9000
DD-WRT v3.0-r55819 std (04/17/24)
Linux 4.9.337 #722 SMP Wed Apr 17 04:16:49 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
Bushant seems to think so, why exactly, I wouldn't know as I dont use jffs normally, only for testing when Im doing fixes UI fixes on features that need jffs to be enabled, otherwise that shit is off.
Interesting. I was using it for leases and it gave me no issues. I'll switch to /opt if it gives me grief. It is working well for me now w/r/t logging _________________ Netgear R9000
DD-WRT v3.0-r55819 std (04/17/24)
Linux 4.9.337 #722 SMP Wed Apr 17 04:16:49 +07 2024 armv7l
Gateway, AP, DNSMasq, Clock 2000MHz
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
CloudFlare, no SFE, SmartDNS, no QoS
2.4GHz: Vanilla, Airtime Fairness, NG-Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
5GHz: Vanilla, Airtime Fairness, AC/N Mixed, ACK Timing 3150, WPA2 w/AES & WPA3
2 Netgear AX1800 WiFi Mesh Extenders
Xfinity 1.2Gbps/35Mbps
/jffs is a simple directory and you can mount everything there
JFFS2 is a file system
If you enable JFFS2 in dd-wrt, then free flash memory of the router will be mounted to /jffs
so you can't use both at the same time
1. a usb-stick mounted to /jffs
2. flash memory mounted to /jffs
And somehow many users always confuse this
So again
JFFS2 = free flash memory of the router (can be activated in the abministrations tab)
/jffs = only a directory where you can mount USB sticks as well
Joined: 16 Nov 2015 Posts: 6446 Location: UK, London, just across the river..
Posted: Wed Jun 01, 2022 14:49 Post subject:
MLandi wrote:
Alozaros wrote:
(save to USB script)
if [ ! -L /tmp/var/log/messages ]; then cat /tmp/var/log/messages >> /opt/messages/messages; fi
killall syslogd
syslogd -Z -L -s 2048 -O /opt/messages
ln -sf /opt/messages/messages /tmp/var/log/messages
Thanks, I am now using this. Is there a reason to use /opt and not /jffs for a USB stick?
i just don't have a jffs partition, so in my case im not using it...i use /opt instead... _________________ 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
thanks to the link above where it was carefully explained by ho1Aetoo "what is the correct way to use dnsmsq.leases on jffs"
but...is that a new trend to dnsmsq.leases on /jffs...how many of us are not using it ???
damn Billy Elsih has a ADHD ...i want that too..
not much point of using this option...as you can copy paste all leases in advanced dnsmasq rules... unless you have 256 leases _________________ 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
Last edited by Alozaros on Wed Jun 01, 2022 18:37; edited 2 times in total