Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Mon Dec 06, 2021 13:49 Post subject:
1) We are likely not going to see Linux 5.x in DD-WRT due to firmware size constraints
2) I can email/check and see if this patch has been employed in the last updates merged to DD-WRT
(or you can compare if you know where to look!)
3) It seems as is people do not think that BrainSlayer doesn't read the news. _________________ "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
I have not heard back from the developer (usually meaning: No can do)
As I was compiling anyway for my EA6900 (which uses the same build) attached the build 47745 for your R7000
It has some extra bonus, updated OpenVPN, Overclocking via the GUI and of course the Samba patch
Also attached the patch so that you can so how easy it is to make such a thing
This is very interesting the fact you guys have the ability to get variables from the HTML directly to NVRAM parameters so fast.
I'm not aware how DD-WRT is developed, if it's closed source, open-source or something in between nor what the relationship between all that and embeDD GmbH.
Thank you for the new updated patch for my R7000's _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
And is it normal to see 2 instances of ksmbd.mountd? Same as Dropbear SSH?
I believe those aren't two instances but 2 different threads of the same program. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Wed Dec 08, 2021 16:42 Post subject:
TCB13 wrote:
This is very interesting the fact you guys have the ability to get variables from the HTML directly to NVRAM parameters so fast.
I'm not aware how DD-WRT is developed, if it's closed source, open-source or something in between nor what the relationship between all that and embeDD GmbH.
NewMedia-NET GmbH and embeDD GmbH are both parts of all that is DD-WRT. I forget the particulars, and it doesn't seem to be blatantly explained anywhere that I know of, off the top of my head.
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Thu Dec 09, 2021 6:51 Post subject:
TCB13 wrote:
mwchang wrote:
And is it normal to see 2 instances of ksmbd.mountd? Same as Dropbear SSH?
I believe those aren't two instances but 2 different threads of the same program.
Thanks....
BTW, in DD-WRT 47822, Samba got a new option "Access Level" that has 2 values: "Everyone", "Restricted". This should affect "map to guest=", corresponding to "bad user" and "never" respectively. Same as what egc said.
Default is "Everyone"????
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Maybe you can add all of them just in case anyone complains about this.
egc wrote:
I cannot do any sophisticated things at the moment as I am tied up and that would really need me to dig in and test etc.
I made a dropdown box which lets you choose "bad user" or "never" do not look at the text/translation
Everyone = bad userRestricted= never
Counter-proposal: let there be 6 options, the first 2 being Everyone & Restricted, the last 4 being Never, Bad User, Bad Password, Bad Uid! Let user decide. In the long run, it might save some maintenance work.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Fri Dec 10, 2021 9:11 Post subject:
TCB13 wrote:
b) Change the parameter during boot, I can add this to my startup commands:
Code:
# Built in Samba - Fix SMB Windows
sed -i "/^map to guest/c\map to guest = never" /tmp/smb.conf
killall ksmbd.mountd
ksmbd.mountd -c /tmp/smb.conf -u /tmp/smb.db
The proper way to use your custom smb.conf is creating /jffs/etc/smb.conf. You don't have to touch the init process. You could also mount a USB flash drive as /jffs/, after disabling JFFS2 in WEBUI.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
b) Change the parameter during boot, I can add this to my startup commands:
Code:
# Built in Samba - Fix SMB Windows
sed -i "/^map to guest/c\map to guest = never" /tmp/smb.conf
killall ksmbd.mountd
ksmbd.mountd -c /tmp/smb.conf -u /tmp/smb.db
The proper way to use your custom smb.conf is creating /jffs/etc/smb.conf. You don't have to touch the init process. You could also mount a USB flash drive as /jffs/, after disabling JFFS2 in WEBUI.
Yeah but my sed allows me to keep using the GUI to add, remove and change the shares without having to touch a file via SSH. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
BTW, in DD-WRT 47822, Samba got a new option "Access Level" that has 2 values: "Everyone", "Restricted". This should affect "map to guest=", corresponding to "bad user" and "never" respectively. Same as what egc said.
Default is "Everyone"????
Thank you for spotting this! I've upgraded to r47822 just now and yes it does include it. Now I can remove my workaround
Unfortunately the default means new users would have to read this thread in order to have it working under Windows but we made some progress!
Thank you all guys. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 26 Mar 2013 Posts: 1856 Location: Hung Hom, Hong Kong
Posted: Fri Dec 10, 2021 13:54 Post subject:
TCB13 wrote:
mwchang wrote:
Default is "Everyone"????
Thank you for spotting this! I've upgraded to r47822 just now and yes it does include it. Now I can remove my workaround
Unfortunately the default means new users would have to read this thread in order to have it working under Windows but we made some progress!
Someone needs to update the Wiki?
I think the default should better be "Everyone", as most people expected simple access to network shares in a router/NAS.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!