How to connect two ubuntu computers with ethernet cable

Posted by Lukasz Zaroda on Ask Ubuntu See other posts from Ask Ubuntu or by Lukasz Zaroda
Published on 2014-05-31T15:18:42Z Indexed on 2014/05/31 16:02 UTC
Read the original article Hit count: 316

Filed under:

I'm trying to connect with ethernet cable two computers - desktop and laptop. What I want to do is transfer a lot of data from one to another. The problem is that I'm doing everything from:

How to network two Ubuntu computers using ethernet (without a router)?

But after that, ping always gives me "Destination host unreachable".

I was searching a while but couldn't figure out what is a reason it doesn't work, maybe it's something about my devices or maybe someone will have another idea.

Ethernet cable I got with my router. There is a text printed on it:

Aurit Data Cable Cat.5 UTP 26AWG 4PAIR AWM PUC 75°C EIA/TIA 568B

It's connecting now my desktop to router, so I can send this question.

My desktop:

System: Ubuntu 12.04
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)

"ethtool -i eth0" output:

driver: r8169
version: 2.3LK-NAPI
firmware-version: rtl_nic/rtl8168d-1.fw
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes

My laptop:

System: Ubuntu 14.04
Ethernet controller: Qualcomm Atheros AR8162 Fast Ethernet (rev 08)

"ethtool -i eth0" output:

driver: alx
version: 
firmware-version: 
bus-info: 0000:01:00.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

My iptables are accepting everything.

Any ideas why I cannot reach other computer?

© Ask Ubuntu or respective owner

Related posts about ethernet