News for hackers. Stuff that matters.
Re:Dumb Pipe by felurx on Sunday July 27, 2025 @05:45PM (#44704997)
You actually can connect two machines via USB-C (USB4 / Thunderbolt) and you get a network connection.

You only get Link-Local addresses by default, which I recall as somewhat annoying if you want to use SSH or whatever, but if you have something that does network discovery it should probably work pretty seamlessly.

See https://christian.kellner.me/2018/05/24/thunderbolt-networki... or https://superuser.com/a/1784608

Re:Dumb Pipe by userbinator on Sunday July 27, 2025 @07:44PM (#44705748)
You only get Link-Local addresses by default

The same thing happens with two machines connected via an Ethernet cable, which appears to be what this USB4 network feature does - an Ethernet NIC to software, but with different lower layer protocols.

Re:Dumb Pipe by dwattttt on Sunday July 27, 2025 @08:42PM (#44706070)
Crossover cables, get'cher crossover cables here!
Re:Dumb Pipe by deathanatos on Sunday July 27, 2025 @11:24PM (#44706931)
AIUI, most NICs these days do what is called "auto-crossover"; i.e., they'll detect the situation and just do the "crossover" in the NIC itself. A normal cable works.
Re:Dumb Pipe by fodkodrasz on Monday July 28, 2025 @01:13AM (#44707417)
Yes, the name is Auto MDI-X and is standard since on-board 1Gbps Ethernet NICs became the norm.

https://en.wikipedia.org/wiki/Medium-dependent_interface#Aut...

Re:Dumb Pipe by grishka on Sunday July 27, 2025 @10:38PM (#44706690)
Non-USB-shaped older Thunderbolt, down to version 1, can do this too, iirc. But you do need the expensive and somewhat rare cable.
Re:Dumb Pipe by Dagger2 on Tuesday July 29, 2025 @12:34PM (#44725450)
ssh is fine:

  ssh fe80::2%eth0
where fe80::2 is the peer's address, and eth0 is the local name of the interface they're on.

Unfortunately browsers have decided that link-local is pointless and refuse to support it, so HTTP is much more difficult.