I need to map network shares from my Synology NAS and also from a Win11 Pro desktop. There are just so many variations on how to do this. All I need to do is map drive letters to shares on startup so they are always available.

Sorry for the noob question.

  • rsky@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    7 hours ago

    I’m honestly confused as to why everyone here is avoiding actually answering your question. Anyway, for most modern file browsers in Linux:

    • Type into the address bar: smb://ip-address-or-domain/share-name
    • It should ask for login credentials. Enter your login for the server you’re accessing. Click “remember forever” or something like that.
    • Once you’re in, right-click the share in the navigation pane to the left and click “create bookmark” or something like that. When doing so, there may also be a checkbox to make it persistent - if so, check it.
  • itsworkthatwedo@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 hours ago

    If you only need to mount shares from the Synology box on the Ubuntu box, consider using NFS…that’s a slide button and text box or two on Synology side and a /etc/fstab edit on the Ubuntu side. If you also need to share from the Synology to the Win11 tower, samba/smb may be easier out of the box, but you could simplify by adding NFS tools, which are buried in some windows feature add-on somewhere in the OS. Ive added this feature to mount shares but never to host them.

    Hosting NFS from a non-Synology machine will be hard to explain here but a search for “setup NFS server” should get you on the right path. It may just be easier to share from the win machine using samba/smb, but I don’t know how to set that up as ive never gone that way.

    For an available-on-login setup in Linux, you most likely want to edit /etc/fstab on the client, with hostname below referring to the server…the entry should look something like this:

    Hostname.domainname:/server/mount/point /client/mount/point nfs defaults 0 0
    

    Hopefully some of this helps. It’s late.

    EDIT: it was late. I forgot the client-side mount point in the fstab entry!

  • Prairie_Madness@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    17 hours ago

    Hi,

    Not super familiar with Synology anymore but you need to create a samba/smb share as well as a user to mount with. For windows it will be straight forward and like any other share… For Ubuntu you’d need to look into how to mount a smb share into Ubuntu. I can try to find a guide that explains it well or you can do it yourself as well if you’d like