Hi,
I'd appreciate some advice regarding accessing SMB shares in my router from a WSL (Windows Subsystem for Linux) environment.
For starters, this is my router's info:
So I've been using SMB to share some folders in my router's SSD, which has been working fine so far.
Recently I upgraded WSL in my Windows PC, which came with a kernel upgrade from a v.5 to a v.6 kernel (it's currently a pre-release version), and apparently SMB v.2.0 isn't supported in WSL any more, trying to mount the shares says:
This happens only with WSL's latest pre-release version. The mounts work fine when I mount them from my Ubuntu server 24.04, and also when I mount them as network drives from Windows 11.
From what I understand the router's smbd doesn't support any SMB version higher than 2.0, so I wanted to ask the following:
PS. If I posted this to the wrong forum let me know and I'll repost it somewhere more appropriate.
PS2. I know my router's firmware isn't the absolutely latest, but I'm accessing it remotely at the moment and I'd rather not upgrade its firmware until I'm physically present
There doesn't seem to be any smbd upgrades in the latest firmware anyway.
I'd appreciate some advice regarding accessing SMB shares in my router from a WSL (Windows Subsystem for Linux) environment.
For starters, this is my router's info:
Code:
ASUS GT-AX11000
HW: aarch64 Kernel: 4.1.51
FW: 3004.388.8
smbd: 3.6.25
So I've been using SMB to share some folders in my router's SSD, which has been working fine so far.
Recently I upgraded WSL in my Windows PC, which came with a kernel upgrade from a v.5 to a v.6 kernel (it's currently a pre-release version), and apparently SMB v.2.0 isn't supported in WSL any more, trying to mount the shares says:
Code:
vers=2.0 mount not permitted when legacy dialects disabled
CIFS: VFS: vers=2.0 mount not permitted when legacy dialects disabled
This happens only with WSL's latest pre-release version. The mounts work fine when I mount them from my Ubuntu server 24.04, and also when I mount them as network drives from Windows 11.
From what I understand the router's smbd doesn't support any SMB version higher than 2.0, so I wanted to ask the following:
- Just to make sure, isn't there any way for the router's current smbd to support anything higher than 2.0 ? I've tried changing smb.conf's max protocol to versions 2.1 (2_10) and 3, but it just complained those are invalid options.
- Should I try upgrading the router's smbd to a higher version? As in, install a higher version smbd and run it instead (via bind mounting or just as an extra service somehow)?
- Another alternative would be activating and using NFS, is the router's built in NFS' version high enough? I haven't used NFS before, so my knowledge is lacking, but I'll read on it if it's recommended.
- Claude Dev suggested I could also setup a "samba proxy", i.e. use the Ubuntu server to access the router's shares and re-share them as a higher version.
- Otherwise, what could i try if I want to access the shares via WSL's latest version?
- Finally, just out of curiosity, why is the router's smbd so old it doesn't even support v.2.1? I mean is there some specific reason for it?
PS. If I posted this to the wrong forum let me know and I'll repost it somewhere more appropriate.
PS2. I know my router's firmware isn't the absolutely latest, but I'm accessing it remotely at the moment and I'd rather not upgrade its firmware until I'm physically present