SAMBA -- Is there a definitive "How to" For Setting Up SAMBA with Rpi


  1. Posts : 2
    Win 10
       #1

    SAMBA -- Is there a definitive "How to" For Setting Up SAMBA with Rpi


    Hello,
    I was wondering if there is a resource for set up of SAMBA to enable NAS useable with Windows 10. I have been utilizing some tutorials that are way out of date, and have been searching through forums everywhere, I think I am close but am not there yet.

    Win 10 is seeing the Host in question but is not able to connect with HDD.

    I can relate more of my research but would like to see other resources before I begin a dissertation here.

    Thanks

    Dave
      My Computer


  2. Posts : 11,247
    Windows / Linux : Arch Linux
       #2

    Loonhaunt said:
    Hello,
    I was wondering if there is a resource for set up of SAMBA to enable NAS useable with Windows 10. I have been utilizing some tutorials that are way out of date, and have been searching through forums everywhere, I think I am close but am not there yet.

    Win 10 is seeing the Host in question but is not able to connect with HDD.

    I can relate more of my research but would like to see other resources before I begin a dissertation here.

    Thanks

    Dave
    Hi there @Loonhaunt

    Depending on the NAS there are ways to do this.

    First in Windows you might need to set SMB1 (older NAS systems etc still use SMB1 for sharing protocol -- enable via control panel > turn windows features on / off).

    In the NAS SAMBA config file /etc/samba/smb.conf ensure these are in the [global] section :

    [global]
    min protocol = NT1

    Also ensure workgroup is the same as your windows machine and net biosname is the correct name of the nas server

    e.g

    workgroup = WORKGROUP
    netbiosname = dogsdinner

    also in the smb.conf ensure shares are enabled :

    e.g
    [HDD0]
    comment HDD0
    path = /mnt/DV0
    guest ok = yes
    writeable = yes
    browseable = yes

    Don't forget to add the user to the smb users -- e.g on the NAS : smbpasswd -a user and then set password for the user.

    so for example on a NAS

    SAMBA -- Is there a definitive "How to" For Setting Up SAMBA with Rpi-screenshot_20211212_220708.png

    Cheers
    jimbo
      My Computer


  3. Posts : 2
    Win 10
    Thread Starter
       #3

    SAMBA Rpi Seen but Able to Connect to Drive


    Thanks Jimbo, I think that I am getting closer I corrrected the Group name from my laptop to the smb.conf, but am not sure where to make the netbios=NASNAME . Is that also done in the [Global] section of the smd.conf file? Since this is a very local network I was hoping to not deal with passwords and such, is that possible? I am including the shares portion of my file pertinent to the NAS below. I did get smbv1 activated on my Windows 10 machine, that enabled it to immediately see the Raspberry Pi NAS machine in Networks. The nas_stor HDD1 shows in the file directory but it will not connect.

    Jimbo, I certainly appreciate your knowledge. I have been at this for a couple of days hit and miss. I make a few things work and then I am down another rabbit hole, learning all the way! I hope to not make it at someone elses expense. I also need to get back to my day job!

    Kind Regards,

    Loon

    [Global]
    # Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = LAPTOP-0NS1F688
    netbios = berkana
    #### Networking ####
    client min protocol = SMB2_02
    server min protocol = SMB2_02
    min protocol = NT1


    Shares:

    [NAS_STOR USBHDD1]
    comment = NAS_STOR USBHDD1
    public = yes
    writeable = yes
    browsable = yes
    path = /mnt/media/pi/USBHDD1
    create mask = 0777
    directory mask = 0777
    guest ok = yes
    only guest = no
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:40.
Find Us




Windows 10 Forums