This handy Ethernet extension cable will make it easy for you to enclose a device that has an Ethernet port. We think this would be most useful when putting a Beagle Bone, Raspberry Pi, Arduino Ethernet into a box.
The jack half has two mounting 'ears' with 4-40 screws installed, 1" inch / 25mm apart. The ears are flexible so the holes don't have to drilled very precisely. Can be used with box walls up to 0.25" wide. The screws can be put on from the back for 'reverse' mounting if the box thickness is a problem. Entire unit is 12" long (9" cabling between jack and RJ45 Ethernet connector).