Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got two computers both running Ubuntu and i want to connect them into a LAN so i can ssh from the one into the another - i know how to do the ssh configuration part, i just don't know how to connect them - i put the cable but nothing happened.

Please tell me what needs to be done.

share|improve this question
1  
Do you have a router? –  Bobby Apr 28 '10 at 14:07
    
What version of ubuntu are you using? –  BeowulfOF Apr 28 '10 at 14:29

1 Answer 1

If you are trying to connect the computers together without a switch or hub, you will need a crossover cable. You should be able to get one at your local electronics parts house.

share|improve this answer
    
If you are going to use a crossover cable or a hub, you'll need to assign static IP addresses to each computer, because usually when you hook two machines up directly there is no DHCP server to hand out addresses. –  Millhouse Apr 28 '10 at 15:13
    
Modern NICs will work with a simple cable too when being directly connected, but the advice about getting a crossover is wise and safe. –  geek Apr 28 '10 at 15:34
    
Good points both. I presumed the OP would know about assigning IPs due to his statement about SSH configurations. Also, from my experience with Linux users, most are utilizing older equipment that may or may not have more modern NICs. –  Sarge Apr 28 '10 at 17:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.