Transfer files over an Ethernet patch cable
This article provides a practical guide on using Ethernet patch cables to transfer large files directly between two computers. It highlights the speed and efficiency of this method compared to cloud storage or Wi-Fi for local data transfers.
Why it matters
It offers a cost-effective, high-speed solution for local data management that bypasses the limitations of network infrastructure.
It's possible to just connect two computers together with Ethernet and do a bit of IP configuration:
# On sender ... ip address add dev eth0 fd42:dead:beef::1/48 ip link set dev eth0 up # On receiver ... ip address add dev eth0 fd42:dead:beef::2/48 ip link set dev eth0 up
# On receiver ... / # ping fd42:dead:beef::1 64 bytes from fd42:dead:beef::1: icmp_seq=1 ttl=64 time=0.649 ms 64 bytes from fd42:dead:beef::1: icmp_seq=2 ttl=64 time=0.376 ms 64 bytes from fd42:dead:beef::1: icmp_seq=3 ttl=64 time=0.414 ms 64 bytes from fd42:dead:beef::1: icmp_seq=4 ttl=64 time=0.340 ms
# On receiver ... socat - TCP6-LISTEN: 1234 | dd status = progress > big_file.tar.gz # On sender ... socat - 'TCP6-CONNECT: [fd42:dead:beef::2] : 1234 ' < big_file.tar.gz
These commands assume you are using Linux, but this trick works everywhere.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in