Something to remember if rewiring is that the wire is cross wired at one of the ends. Meaning that cable from router to devices is crossed wired (2 of the wires are switched), this is for noise cancellation. For cat wiring just google "cat cable wiring" and there will be lots of diagrams.
So this means if there are 2 wires involved the short one would have to be a straight through. If 3 cables then are crossed is correct.
The only time (for the most part) staight cables are used are from router to modem. This is the main reason a cable is always included with the router.
I look at it as master and slave devices. Master to slave needs crossed and any other configuration is straight through.
Just thought I'd throw this in as I ran into this and the wrong wiring will work but with disconnection and speed issues and cause much heart ache trying to trouble shoot. Would be nicer if it just didn't work at all..