PDA

View Full Version : direct connection between boxes


RedFedora
2007-04-09, 07:03 AM CDT
I have two Fedora Core 6 boxes. One is connected directly to the Internet and
the other is a stand-alone. What I'd like to do is connect the two computers directly
using a LAN cable and copy a large number of files between the two.

Computer A has a FTP server installed, so I could use that to copy files.
Computer B usually doesn't touch the net.

Under Windows XP I'd run the Transfer Files & Settings Wizard to handle this,
but I'm not sure how to go about it in Fedora. Would someone be able to tell
me how to get a direct connection between the computers?
If I connect them directly, will I have to manually create IP addresses for them?

DollaBillz217
2007-04-10, 02:37 PM CDT
As long as the IP addresses are both on the same network you should be alright and yes you will have to give them IP's unless you are using DHCP. You should probably connect them both directly to your network (modem, router, etc.) In linux you can open up a terminal (ctrl + alt + t) and use the rsync or scp to copy the files. scp is secure copy and works great. You can use the rsync command as follows. Enter the directory of files you want to copy and type the following:

rsync -vaP * /path to send file (ie: rsync -vaP * root@test:/tmp/temporaryfiles

This should be helpful for you. It is probably easier to use an ftp server to do this, but whatever is easier for you.