What's new

Samba autostarts during boot (but off in settings)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

tomislav

Occasional Visitor
I've had this issue for quite a few version now, and it's still occurring in the latest 380.60_beta2.

Samba autostarts on boot even though "Enable Share" is off and "Force as Master Browser" is No.

This is after boot:

Code:
[:~] $ smbutil -v status -ae router
Using IP address of router: 192.168.1.1
NetBIOS Name                     Number  Type    Description
ROUTER                           0x00    UNIQUE  [Workstation Service]
ROUTER                           0x03    UNIQUE  [Messenger Service]
ROUTER                           0x20    UNIQUE  [File/Print Server Service]
%01%02__MSBROWSE__%02            0x01    GROUP   [Master Browser]
WORKGROUP                        0x1d    UNIQUE  [Master Browser]
WORKGROUP                        0x1e    GROUP   [Browser Service Elections]
WORKGROUP                        0x00    GROUP   [Domain Name]

If switch "Enable Share" ON and then back OFF that seems to stop it.

Code:
[:~] $ smbutil -v status -ae router
Operation timed out: unable to get status from router using address 192.168.1.1

But on next boot it's back up again.

I used to have a USB drive connected and shared, but I don't anymore.

Doesn't happen with the latest official firmware, just Asuswrt-Merlin.
 
What about WINS setting?

I highly doubt the router is starting Samba without reason, as I've actually had multiple reports of the opposite, where Samba would fail to start if there was no USB disk plugged in, preventing the use of the router as a master browser unless you plugged a USB disk. So, something must be causing it to start on your router.
 
Good call - nmbd might be firing up samba, as smbd and nmbd services are connected - so if there's a WINS entry in setup...
 
Good call - nmbd might be firing up samba, as smbd and nmbd services are connected - so if there's a WINS entry in setup...

I actually don't make any difference, I always start both, or neither, for simplicity's sake.
 
Yes, WINS was on. When I turned it off it doesn't autostart anymore. I was under the impression that the big "Enable Share" switch on top turned everything off.

Thank you
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top