Missing SMB 3 protocol

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
tempuser11
DD-WRT Novice


Joined: 24 Sep 2011
Posts: 8

PostPosted: Thu Sep 23, 2021 13:27    Post subject: Missing SMB 3 protocol Reply with quote
Hi.
I'm using TP-Link TL-WR842ND v2
For filesharing via Samba I need 3.0 or 3.11 protocol version which have encryption. It for sure supported in DD-WRT.
But at Services > NAS in dropdowns "Minimum / Maximum Protocol Version" listed max "SMB 2".

Tested on latest today's beta (09-23-2021-r47479). Same on old betas 01-03-2020-r41874 and 12-31-2020-r45219.

Question: is this mistake? Or SMB 3 disabled for this model due low performance / flash size?
P.S. I extensive googled before posting.
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Sep 23, 2021 13:58    Post subject: Reply with quote
Try clearing your browser cache; if that yields no joy, I would try a hard reset ('nvram erase && reboot') and reconfigure from scratch - do not use a backup config as there may be applicable variables written on boot that are different than what is currently on the device. Looking at applicable information, I cannot find anything specific that says this device wouldn't include it, but I will continue looking. It has 8MB flash, so it *should* have full samba functionality, but no guarantees.

EDIT: Some configuration information in public source repository has not been updated in quite some time; so not sure if ksmbd and wsdd2 are included in this device's configuration, whatsoever.

_________________
"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
tempuser11
DD-WRT Novice


Joined: 24 Sep 2011
Posts: 8

PostPosted: Thu Sep 23, 2021 15:02    Post subject: Reply with quote
kernel-panic69,
Thanks for quick answer and research.
Clearing cache or reset not helped.

I digged into firmware file and found file /etc/config/02samba3.webnas which defines related options in web-interface.
And there's no mention of "SMB 3". Same into source code

This is related for samba36 version. But samba4 contain more options and "SMB 3" too: same file
So seems for this model firmware compiled using older version of Samba.

This can be somehow fixed in future builds or easily manually overrided?
Maybe replace /usr/sbin/samba_multicall and samba4.webnas from other router?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Thu Sep 23, 2021 15:17    Post subject: Reply with quote
I can always inquire, but no promises. I think part of the thinking behind leaving the older samba version on there, etc. was because this router's hardware specs may not allow for the newer samba version. The encryption alone might make it choke. For comparison, here are the specs for the 842 v2 vs. the 1043 v2:

https://wikidevi.wi-cat.ru/TP-LINK_TL-WR842ND_v2.x

https://wikidevi.wi-cat.ru/TP-LINK_TL-WR1043ND_v2.x

The 1043 v2 includes the newer ksmbd/wsdd2, and the 842 does not, as we have already determined. I have not checked a similar Broadcom device to see if the newer samba is there or not (yet) to see if it is the same scenario.

_________________
"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
tempuser11
DD-WRT Novice


Joined: 24 Sep 2011
Posts: 8

PostPosted: Thu Sep 23, 2021 15:26    Post subject: Reply with quote
Well, fair enough. So, initial assumption about hardware was true and this is not error.
Eh. Will negotiate encryption absence in some way.
Thanks for help!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum