Hacker News new | ask | show | jobs
by nkurz 93 days ago
It would be nice if this article defined a "ethernet patch cable". I think he's just using "patch" as a slang term for a short cable and it actually works with any length of standard cable, but I'm not certain.

Traditionally (pre-2000?), one had to use a special "crossover cable" to do direct connections like this, but apparently modern Gigabit ethernet adapters are able to detect this situation automatically?

5 comments

https://en.wikipedia.org/wiki/Medium-dependent_interface#Aut... is what allowed the switchover to happen automatically, and it got folded into the 1000BASE-T standard. So yes, crossover cables are no longer required because the two Ethernet adapters at either end can negotiate between them to have one of them "flip" the meaning of its Receive (RX) and Transmit (TX) pins.
Gigabit Ethernet doesn't need to detect anything because it sends and receive over the 4 pairs simultaneously using echo cancellation.
The way I learned this, is that patch cables use stranded wires, but ethernet cables use solid wires.
They are all just twisted pair cables, probably Cat5e or Cat6 etc. The solid ones are usually used for structured cabling, inside walls and trunking, that doesn't often move. Structured cabling is terminated into keystones or patch panels, the "female" end.

Patch cables are outside of walls and designed to be moved around and plugged and replugged. They are terminated with 8p8c "male" connectors, commonly called rj45. Stranded cable is used because it's much more flexible.

This is the same for mains power cables. Permanent installs are usually solid cores, while the "flexi" cables you plug into a socket are stranded.
Yep, up to a certain point. Thicker wires like 6mm^2 are stranded again, but the strands are very thick and few.
IIRC crossovers are pre-2000, yes. "Fast Ethernet" or 100Base-T adapters usually could talk over straight link.

edit: as for length, it depends. you won't get a gigabit over 150m of crap cat3, but you will get a link, even if it's 10 half-duplex.

Seriously people? HN doesn't know what a patch cable is??
"Please don't sneer, including at the rest of the community." It's reliably a marker of bad comments and worse threads.

https://news.ycombinator.com/newsguidelines.html

(More at https://news.ycombinator.com/item?id=49512349)

There doesn't seem to be agreement as to exactly what one is, with several definitions already appearing in the comments here. Do you agree with one of them and think everyone else is wrong? Or do you have yet another standard definition that we should all be using?

My problem with the article was that "patch" doesn't seem to add any useful information. Unless he was using a restrictive definition intending to exclude things like crossover cables (which still work), he could have just as well said "transfer files over a blue Ethernet cable" with equal precision.

If he meant to say that at this point in time "you can use _any_ ethernet cable to transfer files directly between two computers", I think it would have been better to say that rather than appearing to add a restriction on the type of cable required.