I'm having a hard time getting my head around this! It ought to be simple, but ...
I have an internet feed at one end of my house with a small router/modem thing. From there I connect a Cat-5 cable leading to another room, where I cut the connector off and wired it into an RJ45 wall socket, and from there to a larger switch - this works fine. I also have another RJ45, connected to a cable that run over to another RJ45 - in one of them, I have connected the leads as in a cat-5 cable, that is pos 1 - 8 are Orange White, Orange, Green White, Blue, Blue White, Green, Brown White, Brown; at the other end they are twisted around: 8 -> 1, ..., so 1 s brown, 2 is brown white etc. It doesn't work, though, so I did it wrong. My reason for doing it this way is that you can buy these small connectors for connecting two cables - they are wired straight through, and when you connect them, you plug the cables in 'opposite' of each other, so 1 goes to 8 etc.
What is the right wiring?