"How do I network two linux machines so that I can transfer files quickly between them?" saidth the newbie. Hi all! I am new to linux. and I am in new situation: I have two machines here running linux - both SuSE. One has SuSE 7.1 and the other has SuSE 8.2 installed. How do I set up a network so that I can transfer files between the two machines? What protocol / programs should I use? Thanks for any suggestions. Regards, Dan
Dan Eskildsen wrote:
How do I set up a network so that I can transfer files between the two machines?
Easist way (IMO) is to get yourself a "crossover" network cable to link the two cards. NB - that's not an ordinary network cable. All you need to do is setup both network cards to use the same subnet. e.g. Machine 1: ifconfig eth0 192.168.0.2 netmak 255.255.255.0 Machine 2: ifconfig eth0 192.168.0.3 netmak 255.255.255.0 Then you should be able to ping each machine from the other. e.g. Machine 1: ping 192.168.0.3 If you like, you can give them both names to save typing in the IP numbers all the time. Edit the /etc/hosts file on each machine. e.g. Machine 1: 192.168.0.3 machine2 Machine 2: 192.168.0.2 machine1 Then you can "ping machine1"
What protocol / programs should I use?
TCP/IP and whatever application suits your needs. Once the two machines can "see" each other you can use FTP to transfer files if you want to run an FTP server. Or if you have the secure shell daemon running on one or both both mahines, you can use scp (secure copy), which is probably better. hth sjb
Dan Eskildsen wrote:
"How do I network two linux machines so that I can transfer files quickly between them?" saidth the newbie.
Hi all! I am new to linux. and I am in new situation: I have two machines here running linux - both SuSE. One has SuSE 7.1 and the other has SuSE 8.2 installed.
How do I set up a network so that I can transfer files between the two machines? What protocol / programs should I use?
Thanks for any suggestions.
Regards, Dan
NFS......it's in the documentation...also look at the books
participants (3)
-
Dan Eskildsen
-
Oskar Teran
-
sjb