|
RJ45 Ethernet Loopback Cuff link/Keychain |
|
|
|
Written by ax0n
|
|
Friday, 31 October 2008 |
When HiR and i-Hacked went to DefCon 16, I brought along some snazzy clothes for which to attend some of the parties. My shirt had french cuffs, which required cuff links. The cheesy cuff links that came with it lacked flair, and I was too cheap (and nerdy) to go buy a proper set of snazzy ones. Enter: RJ45 cuff links. Read More for instructions on how to make your own!

I wasn't going to be happy simply wearing an ethernet plug on my cuff, however. I wanted them to do something. I opted to make them into functional ethernet loopback testers. An ethernet loopback connects the transmit pins to the recieve pins on an ethernet interface, so that the interface believes that it's connected to a switch with no other computers present on the network (but without the bukliness and expense of using a switch and a long ethernet cable)
First things first, you need some materials! Obviously, you'll need at least two crimp-on RJ45 plugs and 6-8" of twisted pair cable. I'm using Category 5 because I am a cheap bastard. Then, you'll also need an RJ45 crimper. Also, you'll need a wire-cutter if your crimper doesn't have one built-in.

Take all the cable out of the sheath. Throw away the sheath and the thread inside the sheath. We won't need them.

We will only need two wires for a simple loopback capable of 10/100. I opted for the Blue and White-Blue. You will need four wires for a full loopback (I'll cover that in a moment). It's easier if you use all four solid colors for that, although I opted for the Blue and Green, and their white pairs for my example here. Fold them in half, then cut them with a wire cutter so you have four or eight similar lengths of wire.


The below diagram shows how to make a full loopback. Looking at the plug with the pins facing you and facing up, the pins are numbered left to right.

For a normal loopback, you only need to connect Pin 1 to Pin 3 and Pin 2 to Pin 6, as shown below:

A full loopback looks like this, but the wiring is hard to follow from the photo. Use the diagram above for reference.

Now, carefully insert the plug into the crimp tool without disturbing the wires. Crimp the connector, and you've got a loopback tester!

Make another one just like it, and you can use them as cuff links. To fasten them, just pass the wires through the button-holes from the outside of the cuff, then spread the wires out to hold everything in place. This part will be facing you most of the time and isn't likely to get noticed at all.
Alternatively, you can put the loopback tester on your keychain.

Using the ethernet loopback tester: As I already mentioned, a loopback tester simply connects an ethernet adapter to itself so that it thinks it's on a network. This is good for troubleshooting physical layer stuff. For example, you could use this to determine if the port on the ethernet switch, the port on the adapter, or the cable between them is to blame for connectivity problems. Some switches and ethernet cards (particularly auto-crossover cards) aren't fooled by this trick and some switches will see this adapter and report a "Partition" on the port. Here's what happens on my Sun Ultra 5 when I unplug it from the network (errors) and plug the crossover into the port in its place:
|
|
Last Updated ( Friday, 31 October 2008 )
|