LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-07-2005, 09:30 PM   #1
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
Sharing files


I have my slackware box and my buddy on my local network has a Suse box. How do I go about browsing and sharing files between the two? Now I am rather un-educated on this topic, so go easy on me, hehe.

-onelung
 
Old 06-07-2005, 09:43 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Easiest way would be to set up an FTP server. Edit /etc/inetd.conf and uncomment the vsftpd line. You may want to look at the conf file (/etc/vsftpd.conf) and set "Local_Enable=YES" so you can log in as a local user. Enable inetd, and you're up and running.

If you want to set up a Samba server sharing between the two computers, it's a little more work.
 
Old 06-07-2005, 09:48 PM   #3
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Original Poster
Rep: Reputation: 30
I have proftp running but I don't like how slow the tranfser time is, how would I go about setting up samba?
 
Old 06-07-2005, 10:01 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi!

http://druid.mine.nu:8880/Documentat...ileServer.html

another alternative is to use NFS (I think it's network file system or something). It works just like samba, but unlike Samba, you cannot connect to or from Windows shares, only Linux machines as far as I know.

I use Samba only on my computers, because I have one Windows machine and one Xbox on the same network. Samba works fine with Linux - Linux too, but somebody may recommend NFS for Linux - Linux activities.

Regards!
 
Old 06-07-2005, 10:02 PM   #5
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Samba is slower than FTP. It's the Windows filesharing system.

How slow are we talking? My MP3 collection takes about 45 minutes to download at 100mbit, and short of a mass deletion, there's nothing I can do about making it faster.
 
Old 06-07-2005, 10:16 PM   #6
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Original Poster
Rep: Reputation: 30
50 kb/s slow
 
Old 06-07-2005, 10:31 PM   #7
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Even with Samba, I usually see around 400kb/s over the 100mbit. (theoretical max is around 13mb/s, though the practical limit is around 8mb/s)

What's the hardware you're using to connect? Are you going through a router/NAT box, or a hub/switch, or a crossover cable?

Using a router/NAT box *could* cause that kind of crappy bandwidth if the NAT box needs a firmware update. Likewise, a direct cable can cause that kind of problem, if it connects at all, if you're using a straight cable, not a crossover.
 
Old 06-08-2005, 06:25 AM   #8
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
go for NFS

hi i think NFS will work
first it will take some time to mount then it will work smoothly
you can mount it , like a partition in ur sys
or even u can add it to fstab

if the sharing is b/w windows and linux boxes - then use samba

regrds
 
Old 06-08-2005, 06:47 AM   #9
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
If my understanding is clear

Samba uses the network connection rather than internet speed. ie internet is 4mb/s and the card is 100mb/s the files send at 100mb/s

Ftp goes through the internet, so the files would go at 4mb/s at the most.
 
Old 06-08-2005, 07:16 AM   #10
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
FTP will use whatever bandwidth is available. When I said 8mbyte/s was doable through a 100mbit connection, it was because that's the speed I get when downloading through my 100mbit connection.

Samba, for some reason, is actually slower, and seems to prefer a cap around 400kbyte. I get faster speed than that using FTP through my 802.11b.
 
Old 06-08-2005, 07:17 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Ftp does not go through internet if the FTP server and
the FTP client are on local network...

If the transfer speed is 50kb/sec, there should be a
problem with ftp server config (if it has a limit bandwidth
feature) or with the net card, is it a wi-fi one ?
 
Old 06-08-2005, 07:24 AM   #12
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
ok so FTP can be setup for a local network, that means samba would be useless.
FTP can be used on any os that has a ftp client ?
 
Old 06-08-2005, 07:25 AM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
FTP can be used on any os that has a ftp client ?
yes, you can even use any web browser as ftp client
 
Old 06-08-2005, 10:22 AM   #14
geletine
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 213
Blog Entries: 2

Rep: Reputation: 30
obviously Andrew Tridgell would not spend alot time reverse engineering something that was not worth while, i am guessing he did it so *nix users could interact with windows users to share printers and files.

Using an FTP is only for files ?
to share a printer samba is the only way, if you want to share with a windows box.
 
Old 06-08-2005, 12:04 PM   #15
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
FTP is only for files.

Samba is there to allow *nix users to share files/printers with Windows, and yes, that's the only reason.

And no, Samba is *not* the only way to share printers with a Windows box. It is the only way to share files, because Windows doesn't support NFS (I think Longhorn will, but no way am I going to buy, or even "borrow" that piece of crap with all the DRM and other stuff they're putting in it), but most definitely not the only way to share printers.

How do I know? Every single Windows client on my network is using CUPS/IPP to access the networked printers. Windows ME/2k/XP have innate IPP support, and Microsoft's patch to enable IPP in 95/98 is a free download. And IPP is a whole lot faster than Samba, because that's what I used to be using.
 
  


Reply



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
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
Sharing Files...? mreinecker Fedora 9 03-17-2005 12:59 PM
sharing files gazza Mandriva 4 09-06-2004 12:28 PM
sharing files ridha Linux - Networking 1 02-01-2003 10:18 AM
Sharing Files in C++ Gaz Programming 0 03-25-2001 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration