Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Easiest way to share files over a local network?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
al3x
n00b
n00b


Joined: 19 Jun 2002
Posts: 47

PostPosted: Sat Jul 27, 2002 10:00 pm    Post subject: Easiest way to share files over a local network? Reply with quote

When my new laptop arrives, I want to move some files off my current Gentoo system and on to the laptop (once it's got Gentoo as well). What's the easiest way to do this? I've looked into NFS, but I'm not sure about Gentoo's support for it. FTP is kinda clunky for such a quick job. Any other options? Thanks in advance for your suggestions!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20498

PostPosted: Sat Jul 27, 2002 10:50 pm    Post subject: Reply with quote

They aren't very secure, but you can look into tools such as rcp (remote copy). I'm pretty sure they work via IP address/hostname.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
al3x
n00b
n00b


Joined: 19 Jun 2002
Posts: 47

PostPosted: Sun Jul 28, 2002 1:51 am    Post subject: rtools, but what else? Reply with quote

Yeah, I know all about the insecurity of the r* tools, but this is a one-shot deal. Anybody else with reccomendations? How have y'all moved your files around :?:
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 28, 2002 1:58 am    Post subject: Reply with quote

For transferring across insecure networks, I use scp. NFS works just fine with Gentoo - just make sure you have support compiled into your kernel and that you run portmapper on both the client and the server. scp is slower than rcp due to the encryption overhead. If you really don't want to keep the sharing setup (you say it's a one-time thing), the time you spend setting up NFS is probably wasted, so rcp probably is your best bet if you trust the network or scp if not.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
fuxored
n00b
n00b


Joined: 29 May 2002
Posts: 71

PostPosted: Sun Jul 28, 2002 3:54 am    Post subject: Reply with quote

I use nfs to share files on my network. It's works fine, and is pretty painless to set up.
Back to top
View user's profile Send private message
al3x
n00b
n00b


Joined: 19 Jun 2002
Posts: 47

PostPosted: Sun Jul 28, 2002 4:15 am    Post subject: care to expound? Reply with quote

Well I've used scp before, so that's a good suggestion. Fuxored, care to elaborate on NFS setup? Maybe a good link? Thanks a bunch guys!
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 28, 2002 4:18 am    Post subject: Re: care to expound? Reply with quote

al3x wrote:
care to elaborate on NFS setup? Maybe a good link?

http://www.tldp.org/HOWTO/NFS-HOWTO/index.html
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Sun Jul 28, 2002 11:09 am    Post subject: Reply with quote

When you want to transfer a really huge file (f.ex. the tar of all files to be saved) over a LAN, then try netcat. It just transfers the pure data without much overhead and is therefore faster than any other transfer method (but of course also the "insecurest").

Code:
client#> netcat -l -p 1234 > myfile.tar

Code:
server#> netcat -h client -p 1234 < myfile.tar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum