How do I share folders and files using SAMBA?

I have a System76 Lemur Ultra Thin (lemu4) notebook PC and I installed OpenSuSE 12.3 64 bit. Then, I changed it to Tumbleweed and I did an upgrade. I have an external Western Digital My Passport 2 TB USB 3 Portable hard disk drive which I encrypted using LUKS. It is mounted in Dolphin and I use K Wallet to manage my passwords.

How do I share folders and files from my WD hard disk drive with family members and friends on the same local network?

I don’t see the WD hard disk drive under /media or /mnt. How do I find it’s location so that I can share it?

What do I need to know in order to setup SAMBA successfully in this scenario?

In KDE it should be possible by just right-clicking on the folder in dolphin, select “Properties” and switch to the “Share” tab.

I don’t see the WD hard disk drive under /media or /mnt. How do I find it’s location so that I can share it?

What do I need to know in order to setup SAMBA successfully in this scenario?

If you do it the KDE way as above, you don’t have to find it’s location (but it’s normally /var/run/$USER/media/xxx in case your interested).

If you want to share it permantently, even when you are not logged in f.e., you would have to mount the drive in /etc/fstab and configure the share in /etc/samba/smb.conf .
I won’t explain now how you would do that, there should be tutorials available on the net.
If you do want to do it that way, just ask though…

On 2013-10-14 12:26, wellywu wrote:

> How do I share folders and files from my WD hard disk drive with family
> members and friends on the same local network?

Have a look here: openSUSE SuSE Linux
HOWTOs and Tutorials by Swerdna

Although it seems to be down currently.

> I don’t see the WD hard disk drive under /media or /mnt. How do I find
> it’s location so that I can share it?

Issue the command “mount” on a terminal. Everything that is mounted will
be listed. If it is not there, it does not exist.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

On 2013-10-14 12:54, Carlos E. R. wrote:
> On 2013-10-14 12:26, wellywu wrote:
>
>> How do I share folders and files from my WD hard disk drive with family
>> members and friends on the same local network?

There are two threads of yours with the same problem. One should be
closed or merged. Please ask a moderator to do so (triangle button below).


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))