LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-05-2008, 10:07 AM   #1
lifeforce4
Member
 
Registered: May 2003
Location: 2:16:840
Distribution: Slackware, CentOS, RedHat, Xubuntu
Posts: 169
Blog Entries: 1

Rep: Reputation: 32
Question Multi OS Network File Sharing.


Here is what I am attempting to do with my network. I have multiple machines on my network. A Slackware desktop(turning in to a server to host MP3, Video, Data files), Slackware Laptop, XP Laptop, XP desktop and a Win2K Desktop(soon to cycled out). What I want to do is set up for file sharing across the network. The Windows machines have shared folders and can access each other. This is my first time to do file sharing with Linux.

SAMBA is just a file server from my understanding, which is what I will have on the Linux Desktop which I want to access files that are on it. Also I want to access the shared folders on each machine. Priority is having linux access the windows shared folders. Then if I could set it up so windows can access the linux shared folders as well.

I have read so many different things I dont know which way would be best for what I want to do. People were talking about using SCP but thats only for one file and thats copying it all the time instead of just accessing it from the other machine. Others have said something about Rsync but again thats for copying the files over. How would I set it up to just access the files and then have the option of copying them to the host machine?

Thank you,
Kyle
 
Old 07-05-2008, 11:00 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Quote:
Originally Posted by lifeforce4 View Post
SAMBA is just a file server from my understanding, which is what I will have on the Linux Desktop which I want to access files that are on it. Also I want to access the shared folders on each machine. Priority is having linux access the windows shared folders. Then if I could set it up so windows can access the linux shared folders as well.
Samba is actually a suite of several things. The main Samba service provides file and printer sharing, as well as Windows NT style shared authentication. You don't need a Samba service running for your Linux desktop to access Windows - if the client software is installed then you can use Windows resources either from your desktop or the command-line (with the smbclient utility). You will need the Samba service for your Linux desktop to provide file or printer sharing to Windows desktops.

The scp utility is just a convenient interface to the SSH secure remote access suite, which provides secure file transfer capabilities for software on UNIX. You are right that it is for transferring files from one system to another, rather than sharing, so it isn't relevant here. It isn't limited to one file at a time, though.
 
Old 07-05-2008, 01:55 PM   #3
lifeforce4
Member
 
Registered: May 2003
Location: 2:16:840
Distribution: Slackware, CentOS, RedHat, Xubuntu
Posts: 169
Blog Entries: 1

Original Poster
Rep: Reputation: 32
Smile

Quote:
Originally Posted by hob View Post
Samba is actually a suite of several things. The main Samba service provides file and printer sharing, as well as Windows NT style shared authentication. You don't need a Samba service running for your Linux desktop to access Windows - if the client software is installed then you can use Windows resources either from your desktop or the command-line (with the smbclient utility). You will need the Samba service for your Linux desktop to provide file or printer sharing to Windows desktops.

The scp utility is just a convenient interface to the SSH secure remote access suite, which provides secure file transfer capabilities for software on UNIX. You are right that it is for transferring files from one system to another, rather than sharing, so it isn't relevant here. It isn't limited to one file at a time, though.
So if I understand this properly... if I want to access any shared files/folders on my Linux machines they need to be running Samba? I will do more research on the smbclient command that sounds just like the windows //PCname/Shared-Folder command.

Thank you for explaining about the scp that makes sense now.

Kyle
 
Old 07-05-2008, 03:06 PM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Quote:
Originally Posted by lifeforce4 View Post
So if I understand this properly... if I want to access any shared files/folders on my Linux machines they need to be running Samba?
From Windows, yes. UNIX systems natively use other (standards-based) technologies for file and printer sharing, but Microsoft choose to do their own thing. The Samba service implements file and printer sharing the Microsoft way, so that Windows can work with a UNIX system exactly as if it was another Windows system.

Quote:
I will do more research on the smbclient command that sounds just like the windows //PCname/Shared-Folder command.
If you run GNOME or KDE then you can actually access Windows printers and file shares through the desktop - behind the scenes they use Samba client software to do this. The smbclient utility is a command-line tool supplied with Samba itself.
 
  


Reply

Tags
samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xubuntu network file sharing!!! LINUX USER Linux - Software 3 07-25-2006 10:39 PM
File sharing on a network NFS linux_blnk182 Linux - Networking 2 01-05-2005 06:29 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
Need help for file sharing over network Joey2619 Slackware 5 04-08-2004 02:19 PM
Network file sharing APOLLO Linux - Newbie 3 03-20-2004 03:09 PM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration