You are not logged in.

#1 2006-04-08 19:52:11

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Linux file sharing

I've been using Linux for a while now, although I'm pretty new to Arch (and love it, BTW). I have gotten Samba to work for sharing back and forth between a Linux box and a Windows box, but what about between Linux boxes. I have this one running Arch (KDE) and a Kubuntu box and have yet to be able to share files.

Any suggestions? Yhanks,

Bill

Offline

#2 2006-04-08 22:29:01

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: Linux file sharing

use nfs. its easy to setup and is for between unix systems.

Offline

#3 2006-04-09 00:14:07

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Linux file sharing

Thanks. I'll give it a try. I think I may have looked at it before, but I'll revisit it.

Bill

Offline

#4 2006-04-09 00:22:55

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Linux file sharing

You can also just use samba between the two linux boxes.

Offline

#5 2006-04-09 00:32:09

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Linux file sharing

I usualy use sshfs, is secure and easy tu use. The drawback may be the aditional cpu consumption bacause of the encryption.

Offline

#6 2006-04-09 03:59:10

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Linux file sharing

Haven't had any luck getting Samba to work between Linux boxes. I'll check into sshfs. Thanks.

Bill

Offline

#7 2006-04-09 04:09:19

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: Linux file sharing

you'll need to patch your kernel or use beyond on both systems. thats why i recommended nfs. both systems will already have support for it.

Offline

#8 2006-04-09 05:12:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Linux file sharing

syamajala wrote:

you'll need to patch your kernel or use beyond on both systems. thats why i recommended nfs. both systems will already have support for it.

No, sshfs is the fuse based one, and fuse has been merged into mainline.

shfs is the one that has been included in archck. It wasnt included in beyond.

Offline

#9 2006-04-09 19:43:05

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Linux file sharing

I tried my Samba again and it worked! Whadayaknow. I still want to try to get *n*x networking to work (it's got to be faster), but at least I can xfer files in the meantime. Thanks again for the suggestions. I'll give it a shot.

Bill

Offline

#10 2006-04-09 21:18:39

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: Linux file sharing

I built myself a samba server, and im still using it after removing windows from my pc tongue

p.s. I have also set up nfs for a network booting box I have, and samba seems faster to me. plus NFS was a PITA to get working right. if I didnt tell my nfs root enabled kernel it was a "v3" NFS server, it didnt mount it! that took some finding.

Offline

#11 2006-04-09 21:42:08

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: Linux file sharing

NFS is really easy to get running. And it is best option for simple networks (OpenAFS + Kerberos is another category ;-)), much better than Samba. But if you want good security, you must use NFSv4. Or something like sshfs, but it is IMHO not too good solution...

Offline

#12 2006-04-29 18:31:40

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Linux file sharing

After playing with Samba and trying different things with the smb.conf file, it still only works after I've been playing with it, but then won't work. I finally came to the realization that it's not starting at bootup. Running

/etc/rc.d/samba start

gets it up and running. Where do I put this script to get it to run at bootup?

Thanks,
Bill

Offline

#13 2006-04-29 18:33:59

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Linux file sharing

just put 'samba' in the daemons array in rc.conf.

Dusty

Offline

#14 2006-04-29 18:35:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Linux file sharing

Just add samba to the DAEMONS array of /etc/rc.conf
Make sure you put it after network.

Offline

#15 2006-04-29 18:38:01

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: Linux file sharing

You can also set up a ftp server. That's quick and simple.

Offline

#16 2006-04-29 18:49:16

straydog
Member
From: middle of Ohio, USA
Registered: 2006-03-11
Posts: 64

Re: Linux file sharing

Thanks,guys! Modifying rc.conf took care of it. An ftp server might be something to play with, but for now just being able to xfer files within my home Linux/Windows network works okay with Samba (abeit a little slow). Does an ftp server have the same functionality? Is it any faster? I'm not very familiar with ftp.

Bill

Offline

#17 2006-06-24 17:58:54

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: Linux file sharing

by the way I get much much faster transfer rates with samba if i mount the share using "mount -t cifs" and manipulate the files with the command prompt. If I use nautilus I get about half the speed (even using the mounted folder), using cp etc on command line I can sometimes  get 10mb/s over a 100mbit ethernet connection to a 500mhz server. Which is near the limit of the network anyway.

Offline

Board footer

Powered by FluxBB