how to connect 2 linux computers directly via ethernet

I have 2 linux computers, both with ethernet cards. I want to link them together temporarily so that I can copy files from one computer to another. I only have one network connection, so I can't do it over the network. I need to do it directly from one computer to the next. How do I configure these computers (what files, etc.?) so that I can do this?  I'm running redhat linux 5.0 on both computers.
djc2Asked:
Who is Participating?
 
jlmsConnect With a Mentor Commented:
If you are using 10BaseT or 100BaseT wiring you can connect directly both computers using a "crossover" cable. Most computer dealers have it and most hubs and switches mention the way to make one.

0
 
djc2Author Commented:
Isn't there a way to do it directly with a normal ethernet cable (with RJ45 connector)?
0
 
djc2Author Commented:
Followup: Can't I just use an ethernet cable, and somehow set up a local network of some sort so that I can just ftp the files from one computer to the next?
0
 
jlmsCommented:
The RJ45 cable is the one used for 10BaseT or 100BaseT based networks. So yes, you can do it with just a cable, but is not a normal one, you have to change the wiring to manage to make a direct connection between both computers.

  This problem is common so just ask in a retail store or check for a crossover cable in any hub´s manual if you prefer to make it yourself.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.