Home arrow Misc arrow Random Stuff arrow RJ45 Ethernet Loopback Cuff link/Keychain 20 November 2009  
Main Menu
Home
News
Forums
Downloads
Contact Us
Search i-hacked
Become a Member
- - - - - - -
Computer Components
Consumer Electronics
Electronic Projects
Game Systems
Cell / Phone
Car / Home
Misc
- - - - - - -
Info and Contests
Reviews
About
Login Form





Lost Password?
Latest Edge
Advertisement
Privacy Policy
Vote for us in Top 100 Security Sites
Click here to Vote!
Newsflash
RJ45 Ethernet Loopback Cuff link/Keychain Print E-mail
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!
RJ45 Cuff Link RJ45 Cuff Link


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.

Cat5 cable, crimper, RJ45 plugs

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

Loose pairs out of the sheath

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.

Wires bent in half

Cutting wires in half

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.
Diagram

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

Half loopback

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


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

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.


Cuff Link

Alternatively, you can put the loopback tester on your keychain.
Loopback tester 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:

Crossover works!
Last Updated ( Friday, 31 October 2008 )
 
Related Items
I-Hacked's Most Popular
2006 I-Hacked T-Shirts
 I-Hacked T-Shirts
Have been released, Now with
3 versions!

Check them out here

Latest Articles
Top of Page

If you see information here that you know is inaccurate, out of date, misleading, confusing, or just blatantly wrong, please let us know. Updates and corrections are reviewed and updated as they are received.

 
Disclaimer
I-hacked.com does not take any responsibility with the information presented. Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk. If you blow up your car, home, computer, or anything else -- it's not our fault, use good judgement and play nice.


© I-Hacked.com LLC