YES (Yeh's ) RJ45 LAN Line DIY Howto     -- by jsyeh@cmlab, 9,11,2003

Straight-through:

Pin1 white/orange
Pin2 orange
Pin3 white/green
Pin4 blue
Pin5 white/blue
Pin6 green
Pin7 white/brown
Pin8 brown

The main idea is:

 Orange Blue Green Brown
w      w    w     w
       ^____^ exchange
       w(green)
            w(blue)


Cross-over: The main idea is: One end is like straight-through; The other end need to exchange the green-pair and orange-pair.