RJ45 connector (no standard for colours)

Pin Colour Wire Function Pin
1 Red red CTS Clear To Send 1
2 Yellow yellow CD Carrier Detect 2
3 White white RxD Received Data 3
4 Green green GND Signal Ground 4
5 Blue blue GND Signal Ground 5
6 Black black TxD Transmitted Data 6
7 Orange orange DTR Data Terminal Ready 7
8 Brown brown RTS Request To Send 8

RJ45 serial console null-modem wiring (Sun 530-2889 compatible - standard cables connect RJ45 pin 2 to DB25 pin 8, instead of DB25 pin 6)

DTE
RJ45 DB25-M DB9-M
1 Red red 5 8
2 Yellow yellow 6 1 + 5
3 White white 3 2
4 Green green 7 5
5 Blue blue 7 7
6 Black black 2 3
7 Orange orange 20 4
8 Brown brown 4 4

RJ45 serial console null-modem wiring (Sun 530-3100 compatible - reversed colours)

DCE
RJ45 DB9-F
1 Brown brown 7
2 Orange orange 4
3 Black black 3
4 Blue blue 5
5 Green green 5
6 White white 2
7 Yellow yellow 6
8 Red red 8

Roll over cable (T568B)

End 1 End 2
Pin Colour Wire Roll over Colour Wire Pin
1 White/Orange white/orange 1 - 8 / 8 - 1 Brown brown 1
2 Orange orange 2 - 7 / 7 - 2 White/Brown white/brown 2
3 White/Green white/green 3 - 6 / 6 - 3 Green green 3
4 Blue blue 4 - 5 / 5 - 4 White/Blue white/blue 4
5 White/Blue white/blue 5 - 4 / 4 - 5 Blue blue 5
6 Green green 6 - 3 / 3 - 6 White/Green white/green 6
7 White/Brown white/brown 7 - 2 / 2 - 7 Orange orange 7
8 Brown brown 8 - 1 / 1 - 8 White/Orange white/orange 8