LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please lecture me in Samba. (http://www.linuxquestions.org/questions/linux-newbie-8/please-lecture-me-in-samba-923676/)

TroN-0074 01-13-2012 07:49 PM

Please lecture me in Samba.
 
Hi Everybody.
I am trying to get my SlackWare/Xfce Laptop to open up files from my Ubuntu/KDE desktop

I was able to get samba going through the command line by issuing the command
Code:

$ smbclient  //LocalHost/Downloads
Is there a way I can go to the mounted folder and just right click on a file and select open with vlc?

how can I play the mp3s from the desktop in the laptop?

I will appreciate it.

Thank you!

fukawi1 01-13-2012 08:06 PM

Yes there is a way, but you will need to mount the share first, with either "smbmount" or "mount -t cifs".
For simplicity you would probably want to add that to fstab too.

TroN-0074 01-13-2012 08:18 PM

Quote:

Originally Posted by fukawi1 (Post 4574062)
Yes there is a way, but you will need to mount the share first, with either "smbmount" or "mount -t cifs".
For simplicity you would probably want to add that to fstab too.

What would be the syntax? Because I typed
Code:

$ smbmount //LocalHost/Downloads
and nothing happened.
then I tried
Code:

$ /sbin/mount.cifs //LocalHost/Downloads
And again nothing happened

Thank you.

John VV 01-13-2012 08:21 PM

if this is not a Microsoft windows host ( and you stated it was a ubuntu host) why use samba ?

use the standard NFS ( network file shares )

TroN-0074 01-13-2012 08:24 PM

Quote:

Originally Posted by John VV (Post 4574070)
if this is not a Microsoft windows host ( and you stated it was a ubuntu host) why use samba ?

use the standard NFS

what is the standar NFS? Pardon my ignorance. I just want to open the files from my desktop in the living room while I am with the laptop in the garage.

I will appreciate it all advices, Thank you.

fukawi1 01-13-2012 08:28 PM

To answer your question to me, about the mount syntax, read the manuals, or google.

To answer your question to JohnVV, google.

allend 01-13-2012 08:28 PM

For information on NFS in Slackware, look at /usr/doc/Linux-HOWTOs/NFS-HOWTO and http://rlworkman.net/howtos/NFS_Firewall_HOWTO

TroN-0074 01-13-2012 08:35 PM

Thank you for pointing that out. I will do the required reading. I really appreciate it.


All times are GMT -5. The time now is 12:13 PM.