What's new
  • 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!

Samba share name

vrapp

Senior Member
On the USB drive connected to my RT-N66U I have ext3 volume mounted as sda2. On the router I have Samba enabled with device name HomeLan. Looking from Windows workstations, I see HOMELAN as "computer", with sda1 as share under it. I wonder if it could be made more user-friendly - the best would be if I could expose to the LAN only a directory on the volume, that is, the workstation would see not \\Homelan\sda1\folder1 but just \\folder1, or at least \\homelan\folder1. is it possible?

Even better would be if this storage appeared to the workstations not as computer but as NAS.
 
On the USB drive connected to my RT-N66U I have ext3 volume mounted as sda2. On the router I have Samba enabled with device name HomeLan. Looking from Windows workstations, I see HOMELAN as "computer", with sda1 as share under it. I wonder if it could be made more user-friendly - the best would be if I could expose to the LAN only a directory on the volume, that is, the workstation would see not \\Homelan\sda1\folder1 but just \\folder1, or at least \\homelan\folder1. is it possible?

Even better would be if this storage appeared to the workstations not as computer but as NAS.

Not possible. Windows File Sharing requires you to specify both a device named and a share name in the URI.

What you could do is map a network drive to point to the desired share, so it will appear under a drive letter in Computer.
 
Maybe it's possible to expose as share not the whole volume sda2 but only a folder?

That's how Asuswrt actually works when you enable user-based sharing (disable Guest access). Once you enter the device, it will only list the available shared folders.

If you also want to hide shares someone isn't allowed to access then you will have to manually tinker with the smb.conf config file. I think it's possible, but I have never really looked into it.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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