Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Tue Jun 23, 2020 14:22 Post subject: New Build - 06-23-2020-r43502
[WARNING]: This thread is only for feedback on this beta release for developers and the community's benefit.
DO NOT flash this beta release unless you understand the risks involved and specific device recovery methods.
Avoid discussions! Create threads for questions, general problems or use search; this thread is not for support.
Please list router model & revision, operating & wireless mode(s) and exact filename/firmware image flashed.
Notes:
• CVE-2019-14899 VPN fix from December, since then various revisions including recently 7040.
• In-kernel Samba has been implemented this year and default min/max versions have changed, with WSD support.
• VAP issue is fixed! For any Wireless Mode, create a VAP and both ath0/ath1 should now function properly.
• Local DNS option removed from Services->DNSMasq in changesets 43080 and 43081; ref: #7092
• DHCP and DNS help (English) updated in 43083; ref: #7091
• WireGuard: Policy Based Routing, Kill Switch, Inbound Firewall, Naming of Peers, Status, Key, Guides. Thanks egc!
Issues:
• There may be remaining issues for Samba (for example NTFS), with frequent updates.
Important:
• If reporting issues provide applicable info: 'dmesg', 'cat /tmp/var/log/messages', syslog/serial output, strace etc.
• For firewall issues provide 'iptables -L', 'iptables -t nat -L' and the /tmp/.ipt file.
• Search existing SVN tickets before opening a new one. Before reporting, reset and manually setup (no nvram backup).
• Be sure to include operating and wireless modes (Gateway, AP, CB, etc.) along with relevant configuration information.
With encryption required my JFFS2 SMB share is not accessible. The router itself sees it allright, which is fortunate as my dnsmasq.leases file is on it.
My laptop, which I access the SMB share from, runs Linux 19.3. Protocol requirement currently SMB 3.11 only. Just because
(Without the leases file, the router will not work under the current settings.)
Otherwise this build, too, works fine for me.
The rubbish characters in the JFFS2 info are still there, though:
JFFS2
1 892.35 kB / 528.42 MB
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Tue Jun 23, 2020 16:23 Post subject:
The rubbish characters are due to not enough space being used in jffs after cleaning it. Not sure why you would make that resource a samba share, that could be detrimental to your flash chip. I presume you mean Linux Mint 19.3? You should specify which distribution as to not confuse people _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 05 Oct 2008 Posts: 666 Location: Helsinki, Finland / nr. Alkmaar, Netherlands
Posted: Tue Jun 23, 2020 16:40 Post subject:
kernel-panic69 wrote:
The rubbish characters are due to not enough space being used in jffs after cleaning it. Not sure why you would make that resource a samba share, that could be detrimental to your flash chip. I presume you mean Linux Mint 19.3? You should specify which distribution as to not confuse people
The JFFS2 share is on a 2GB USB thumb memory stick. Does that change anything?
Linux Mint 19.3 alright. Sorry. I mentioned it because mrjcd wrote that he tested the share from a machine running Debian Testing. Linux Mint is based on Debian, but more likely a stable version.
For the rest I wasn't even aware of the encryption, or what exactly it does, but figured it's easy to test and I don't risk much, so ahead I went and sure enough requiring encryption caused a problem.
I have also dnsmasq.common on that thumb drive, which is why I need the SMB access.
Does that make sense?
As to the rubbish characters ... I see them in two places and assumed they're a result of a formatting error in the GUI. I don't know what you're alluding to as for the reason.
Joined: 06 Feb 2020 Posts: 167 Location: Maharashtra, India
Posted: Tue Jun 23, 2020 16:43 Post subject:
Router/Version: Netgear R7800
Firmware: DD-WRT v3.0-r43502 std (06/23/20)
Kernel: Linux 4.9.228 #593 SMP Mon Jun 22 10:55:43 +03 2020 armv7l
File/Upload: dd-wrt-webupgrade.bin / Upload using GUI
Mode: Gateway/AP
Reset: No
Previous: DD-WRT v3.0-r43471 std (06/19/20)
Setup Using: 2.4 GHz, 5.0 GHz, IPv4, DNSMasq, USB, NTP TimeSync, wireguard
Status: Working Fine
out of 2 Wireguard peer Peer 1 is connecting but not able to view any internal IP. second peer works Fine.
Update on wireguard: both peers are working now. during firmware update, somewhere allowed IP's messed up by me. now corrected.
Overall this build is working good so far, Thank you BrainSlayer.
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Tue Jun 23, 2020 17:14 Post subject:
ArjenR49 wrote:
The JFFS2 share is on a 2GB USB thumb memory stick. Does that change anything?
Perhaps.
ArjenR49 wrote:
Linux Mint 19.3 alright. Sorry. I mentioned it because mrjcd wrote that he tested the share from a machine running Debian Testing. Linux Mint is based on Debian, but more likely a stable version.
Never assume that any Debian-based distribution is more stable than any Debian version. That is completely nonsense!
ArjenR49 wrote:
As to the rubbish characters ... I see them in two places and assumed they're a result of a formatting error in the GUI. I don't know what you're alluding to as for the reason.
Joined: 16 Nov 2015 Posts: 6446 Location: UK, London, just across the river..
Posted: Tue Jun 23, 2020 19:18 Post subject:
Router Model TP-Link WR1043ND V2
Firmware Version DD-WRT v3.0-r43502 std (06/23/20)
Kernel Version Linux 3.18.140-d4 #81861 Tue Jun 23 04:44:08 +04 2020 mips
update: CLI 43443 > 43502
reset: NO
status: Operational 3h+
errors: After just one log-in via GUI, free ram drops from 20-23 to 10-13MB and stays like that until, unit gets down to a low ram and suddenly reboots...recently monitored via top...24h
with no GUI use unit stay's stable...as a conclusion there must be a GUI related mem-leak ...it was not rebooting on 43443 but it was going low ram...in fact the last couple of builds its going low ram but never drops bellow
14-15MB now it dropped...rebooted
is DB ed25519 finally working or it will be present only on high flash size units...(shame) its 8k kode.. _________________ 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 Thu Jun 25, 2020 13:21; edited 2 times in total
Joined: 05 Oct 2008 Posts: 666 Location: Helsinki, Finland / nr. Alkmaar, Netherlands
Posted: Tue Jun 23, 2020 19:38 Post subject:
ArjenR49 wrote:
The JFFS2 share is on a 2GB USB thumb memory stick. Does that change anything?
The thumb drive should be much longer lasting than NVRAM when it is written to often, shouldn't it? Plus the thumb drive is exchangeable.
I never looked into it nor thought about it, but perhaps it is possible to not write the leases file anywhere, and therefore keep it in RAM only. I have the static leases in a file anyway. Never mind the others.
ArjenR49 wrote:
Linux Mint 19.3 alright. Sorry. I mentioned it because mrjcd wrote that he tested the share from a machine running Debian Testing. Linux Mint is based on Debian, but more likely a stable version.
kernel-panic69 wrote:
Never assume that any Debian-based distribution is more stable than any Debian version. That is completely nonsense!
I took Debian Testing to mean an unstable Debian version, alpha, beta, what have you, developmental, for testing.
Joined: 05 Oct 2008 Posts: 666 Location: Helsinki, Finland / nr. Alkmaar, Netherlands
Posted: Tue Jun 23, 2020 19:42 Post subject:
kernel-panic69 wrote:
I am alluding to the fact that a certain percentage of the jffs space needs to be occupied by data for that anomaly to disappear, as noted in the Broadcom forum.
There was less than 1 MB on the thumb drive JFFS partition. Adding a random file indeed solved the rubbish characters.
/* Ed25519 is faster than ECDSA. Compiling in Ed25519 code increases
binary size - around 7,5kB on x86-64 */
#define DROPBEAR_ED25519 0
Code:
/* Enable Curve25519 for key exchange. This is another elliptic
* curve method with good security properties. Increases binary size
* by ~8kB on x86-64 */
#define DROPBEAR_CURVE25519 0
Code:
/* Enable elliptic curve Diffie Hellman key exchange, see note about
* ECDSA above */
#define DROPBEAR_ECDH 0
It probably won't be due to the number of low-resource routers supported by this firmware. The only option would to be remove dropbear functionality altogether in them to support this or have separate default options based on flash size restrictions as ed25519 adds to the binary size.
ArjenR49 wrote:
kernel-panic69 wrote:
Never assume that any Debian-based distribution is more stable than any Debian version. That is completely nonsense!
I took Debian Testing to mean an unstable Debian version, alpha, beta, what have you, developmental, for testing.
It is Debian-unstable. I was being a smartass. I used to apt-pin packages from different Debian trees to get around limitations in older versions of Debian back in the day. Ian Murdock was a good guy. I was sad to hear of his passing. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Netgear WNDR3700 V4
DD-WRT v3.0-r43502 std (06/23/20)
Linux 3.18.140-d4 #81889 Tue Jun 23 05:41:24 +04 2020 mips
uptime 10:23
Changing anything on webif page '.../NAS.asp' you will have to reboot this guy
cause samba won't come back up ...no problem on the EA8500.
AFAIK it has been that way for quite a while on the 3700v4.
* * * *
all on both these units is working okydokey
samba with encryption don't work for me since r43420 ---
NOTE: samba encryption must be off to mount drive if using OS Debian Testing (Bullseye/Sid)
see ---> https://svn.dd-wrt.com/ticket/7153 AND yea, samba encrytion works fine with r43420
Posted: Tue Jun 23, 2020 21:21 Post subject: Upgrades
Router/Version: Netgear R7800
Firmware: 43502
Previous: 43471
Mode/Status: WDS AP, QoS, DHCP
Reset: No
Issues/Errors: None, so far.
Router/Version: TP-Link Archer C7 v2 x2
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far.
Router/Version: D-Link DIR-862L A1 x2
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far.
Router/Version: D-Link DIR-825 B1
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far.
Router/Version: TP-Link WR841ND v8
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far.
Router/Version: TP-Link WDR3600 v1
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far.
Router/Version: D-Link WNDR3700 v2
Firmware: 43502
Previous: 43471
Mode/Status: WDS Station
Reset: No
Issues/Errors: None, so far. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Joined: 05 Oct 2008 Posts: 666 Location: Helsinki, Finland / nr. Alkmaar, Netherlands
Posted: Tue Jun 23, 2020 21:40 Post subject:
ArjenR49 wrote:
I never looked into it nor thought about it, but perhaps it is possible to not write the leases file anywhere, and therefore keep it in RAM only. I have the static leases in a file anyway. Never mind the others.
It seems to be a poor idea to untick both client lease storage options and have the leases supposedly in RAM memory only, in my case at least.
I found my DNS server (PiHole) doesn't get a name on the LAN automatically no matter how I shut down, wait and restart router and DNS server.
I have to keep DNSMasq.leases in a place where I can edit it and add a line for it manually, so I can SSH to the DNS server and use its name in the address of its GUI. Once added, the line will stay there.
That's why I use JFFS on the thumb drive.
Once I noticed its MAC had suddenly been converted to lower case, so perhaps the DNS server will eventually be added automatically if one has a ton of patience.