Category 5 Ethernet Wiring Diagram
Only pins 1, 2, 3 and 6 are used for ethernet wiring.

straight-through cable

 

both ends are identical
pin 1 Orange/white
pin 2 orange
pin 3 green/white
pin 4 blue
pin 5 blue/white
pin 6 green
pin 7 brown/white
pin 8 brown

 

crossover cable

 

end 1

  

end 2

pin 1 Orange/white green/white
pin 2 orange green
pin 3 green/white Orange/white
pin 4 blue blue
pin 5 blue/white blue/white
pin 6 green orange
pin 7 brown/white brown/white
pin 8 brown brown