Community discussions

MikroTik App
 
User avatar
Filo
newbie
Topic Author
Posts: 42
Joined: Thu Jan 13, 2022 2:37 pm
Location: Germany

7.14 and SMB on RB5009

Fri Mar 01, 2024 8:36 pm

Hey,

maybe I was too fast with upgrading to 7.14 (recently released).
I saw the changelog regarding SMB and a few posts about in the release thread but I'm unsure if I need to change the settings now.

SMB was working before, now it's not accessible from Windows-Clients.
I do not need to add the "rose-storage" package, since they moved SMB out of this package to the "standard" /IP/SMB-Package in order to update it, am I right?

Anyway it's stuck here - is it for everyone or just my dumbness or is it lacking documentation at the moment?

Thanks for any input and have a great weekend,
Martin
 
massinia
Member Candidate
Member Candidate
Posts: 194
Joined: Thu Jun 09, 2022 7:20 pm

Re: 7.14 and SMB on RB5009

Fri Mar 01, 2024 8:52 pm

Hi, try to remove old smb credentials from windows also if they are the same and use \\routerIP\shareforder URL format
 
User avatar
Filo
newbie
Topic Author
Posts: 42
Joined: Thu Jan 13, 2022 2:37 pm
Location: Germany

Re: 7.14 and SMB on RB5009

Fri Mar 01, 2024 9:17 pm

Did this - sadly no joy. There were stored credentials and mapped drives, removed both and tried to map new.
Behaves like SMB is not active at all on the routerboard ("Network share not found" - in German "Der Netzwerkpfad wurde nicht gefunden").
 
mukkelek
just joined
Posts: 8
Joined: Sun Feb 28, 2016 2:51 pm

Re: 7.14 and SMB on RB5009

Wed Mar 06, 2024 6:52 pm

SMB sharing worked for me on 7.13. Formatting too. On 7.14, if I try to connect to the SMB share, there is a kernel failure. Formatting does not work on 7.14, there is a kernel error when formatting FAT32.
 
h1ghrise
newbie
Posts: 44
Joined: Fri Apr 14, 2023 5:05 pm
Location: Vienna, Austria

Re: 7.14 and SMB on RB5009

Wed Mar 06, 2024 11:19 pm

my RB5009 just crashes on 7.14 when I try to access SMB share from my MacBook :(
 
mukkelek
just joined
Posts: 8
Joined: Sun Feb 28, 2016 2:51 pm

Re: 7.14 and SMB on RB5009

Thu Mar 07, 2024 10:26 am

Same error on AC3 and AX3. There is no error on RB3011....
 
PaulB
just joined
Posts: 1
Joined: Tue Jan 02, 2024 7:06 pm

Re: 7.14 and SMB on RB5009

Thu Mar 07, 2024 2:58 pm

Same error on RB750.
 
gmasip
just joined
Posts: 1
Joined: Mon Sep 11, 2023 8:28 am

Re: 7.14 and SMB on RB5009

Sat Mar 09, 2024 7:03 am

Same problems using L009: SMB worked OK with 7.13.5; migrated to 7.14 I get the error "The remote device doesn't accept the connection" from Windows.
The USB unit is there and is recognized by L009: the MINIDLNA server (container) that uses it is still working (fortunately).

Update March 12
7.14.1 does not solve the problem.
Last edited by gmasip on Tue Mar 12, 2024 7:21 pm, edited 1 time in total.
 
User avatar
krzysztofciupala
just joined
Posts: 8
Joined: Thu Aug 01, 2019 11:34 am

Re: 7.14 and SMB on RB5009

Sun Mar 10, 2024 8:32 pm

Same error on RB750Gr3 and RBD52G-5HacD2HnD
 
mukkelek
just joined
Posts: 8
Joined: Sun Feb 28, 2016 2:51 pm

Re: 7.14 and SMB on RB5009

Wed Mar 13, 2024 10:42 pm

I updated to 7.14.1. The error is gone.
 
h1ghrise
newbie
Posts: 44
Joined: Fri Apr 14, 2023 5:05 pm
Location: Vienna, Austria

Re: 7.14 and SMB on RB5009

Thu Mar 14, 2024 12:10 pm

I raised a ticket to support. its working after disabling encryption on the share (require-encryption=no).
When it's (officially) fixed and confirmed, I'll update.
 
valnik
just joined
Posts: 5
Joined: Wed Aug 19, 2020 9:48 pm

Re: 7.14 and SMB on RB5009

Thu Mar 14, 2024 10:40 pm

SMB not working, i have the same error: "The remote device doesn't accept the connection" from Windows /it is also not working from linux/.

EDIT: i simply tried to add DOMAIN and COMMENT in SMB settings..and now is working. Weird...
 
pOZORjED
just joined
Posts: 8
Joined: Fri Aug 18, 2023 12:43 pm

Re: 7.14 and SMB on RB5009

Fri Mar 15, 2024 9:52 am

Had to turn SMB off, otherwise my rb4011 was rebooting every few hours.
 
foegra
just joined
Posts: 20
Joined: Wed Jan 31, 2024 6:53 pm

Re: 7.14 and SMB on RB5009

Mon Mar 18, 2024 11:23 pm

This is so weird. Running 14.1 - had add comment in SMB settings - then it started to work. Mikrotik AX3.
 
ShadowWolf
just joined
Posts: 2
Joined: Sun Jun 30, 2019 2:02 pm

Re: 7.14 and SMB on RB5009

Sun Mar 24, 2024 11:01 pm

This is so weird. Running 14.1 - had add comment in SMB settings - then it started to work. Mikrotik AX3.
Yup, same thing did fix my problem. RBD52G

But listen to this, if you remove the comment, it stops working, and if you type the same comment again it still does not work. You need to type a new comment (different that the previews one) and it works again.
 
RyperX
Frequent Visitor
Frequent Visitor
Posts: 76
Joined: Thu May 21, 2015 11:14 am

Re: 7.14 and SMB on RB5009

Sun Aug 18, 2024 8:50 pm

Is there any news on this problem? I experienced this today.

I am on 7.15.3 and tried for the first time an SMB share. (encryption enabled and share is on an SSD/USB)
After accessing the share from my client the switch completely crashes.

Still necessary workaround with comment or no encryption?

Edit:
Last test, after disabling encryption and setting an comment, it does work!
 
User avatar
ksx4system
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Sat Nov 13, 2010 7:08 pm
Location: Poland
Contact:

Re: 7.14 and SMB on RB5009

Sun Aug 18, 2024 10:39 pm

my RB5009 just crashes on 7.14 when I try to access SMB share from my MacBook :(

I've tried sharing USB drive contents (a 32GB ext4 formatted one) on 7.15.3 and accessing the share from Windows 10 resulted with router rebooting itself, we might have experienced the same issue.

Had to turn SMB off, otherwise my rb4011 was rebooting every few hours.

With SMB turned off it's perfectly stable for me. I wonder what SMB implementation does RouterOS use, I've had weirdly similar issues with devices using older ksmbd version before.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26950
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: 7.14 and SMB on RB5009

Mon Aug 19, 2024 8:10 am

Posting "same here" does not help anyone.

We are using SMB ourselves here and there have been no issues at all, so we need a lot of detailed info. Every step, every command that you use to configure SMB in the router. And then every detail about when you connect to it. Also, try the latest version, which is 7.16rc2
 
makrob
just joined
Posts: 4
Joined: Sun Dec 10, 2023 12:44 pm

Re: 7.14 and SMB on RB5009

Sun Sep 15, 2024 1:45 pm

my RB5009UG+S+ just crashes on 7.15.3 when I try to access SMB share from my Windows, the usb drive Kingston DataTraveler 3.0 even self disconnects after while, I am running adguard and homeassistent as containers on the usb drive
 
nullinger
just joined
Posts: 5
Joined: Sat Feb 10, 2024 11:58 pm

Re: 7.14 and SMB on RB5009

Fri Nov 08, 2024 11:50 pm

Posting "same here" does not help anyone.

We are using SMB ourselves here and there have been no issues at all, so we need a lot of detailed info. Every step, every command that you use to configure SMB in the router. And then every detail about when you connect to it. Also, try the latest version, which is 7.16rc2
Hi,

here is my very simple config:
# 2024-11-08 21:37:53 by RouterOS 7.16.1
# model = RB5009UPr+S+
/ip smb shares
add directory=backup name=backup read-only=yes require-encryption=yes valid-users=guest
When connecting from Windows with the username "guest", the router restarts, no matter if a password is set.
When I set "require encryption" to no, the problem does not occur.
 
User avatar
ksx4system
Frequent Visitor
Frequent Visitor
Posts: 58
Joined: Sat Nov 13, 2010 7:08 pm
Location: Poland
Contact:

Re: 7.14 and SMB on RB5009

Mon Nov 11, 2024 12:17 am

We are using SMB ourselves here and there have been no issues at all, so we need a lot of detailed info.

Out of sheer curiosity: what SMB solution does MikroTik use, is it ksmbd (solution basically built in Linux kernel) or something custom?

I will test SMB again on different device (L009UiGS-RM) and the same RB5009UG+S+IN I've tried before very soon, then report back my findings about its stability.
 
kusterh
just joined
Posts: 22
Joined: Sun Dec 31, 2023 10:39 am

Re: 7.14 and SMB on RB5009

Fri Jan 03, 2025 8:31 pm

Hi, I think I have the exact same issue here, both on my RB5009 and on the hap-ax3.
I'm using 7.16.2 firmware on all my devices, on the RB5009 I have an usb-stick connected to usb port and I share that one via smb (with domain set, comment set, user with password and no encryption). I can connect to the share, but as soon as I start putting files on the share the RB5009 crashes after few seconds. When I have winbox open, I see the cpu load slowly increases until it comes close to 100%, also the memory used slowly increases to just few MiB left as free, and then it crashes.
I've also tried the same on my hap-ax3, same firmware, same settings, only using and external harddrive instead of usb-stick, also here I can connect but the hap-ax3 crashes as soon as I start putting files on the share.
I'm trying to set these devices as a backup for my home-server (proxmox with several vm's) but sadly can't get this to work reliably, the mikrotiks keep crashing when a backup starts from proxmox.
Any idea if this can be fixed somehow ?
Thanks,
Herman
 
nullinger
just joined
Posts: 5
Joined: Sat Feb 10, 2024 11:58 pm

Re: 7.14 and SMB on RB5009

Fri Jan 17, 2025 12:43 am

When I set "require encryption" to no, the problem does not occur.
Problem seems to be fixed in v7.17

*) smb - stability improvements for client/server;

 
kusterh
just joined
Posts: 22
Joined: Sun Dec 31, 2023 10:39 am

Re: 7.14 and SMB on RB5009

Fri Jan 17, 2025 8:20 am

In the meantime I circumvented the issue and installed the rose-storage package, disabled smb and enabled nfs file share.
That doesn't crash the mikrotik devices and is also usable as a remote backup for proxmox.
But thanks anyway for pointing out, I will give it a try with the new version, btw: releasenotes for this new version is rather impressive....
 
Worko
just joined
Posts: 9
Joined: Thu Dec 14, 2023 6:01 pm

Re: 7.14 and SMB on RB5009

Wed Jan 22, 2025 9:41 am

Yesterday I have upgraded from 7.16.2 -> 7.17. So far so good I thought. Until I found out that I cannot access my SMB shares through Android, iPhone, iPad, Google TV. When I open it with my WIndows 11 PC or Kali Linux there is no problem.

Once I input my username and password from the not working OS's -> I can see the shared folders, but I cannot access their content. Going to downgrade back to 7.16.2 to see if it helped.