Home wiring, as you've found, contains a black, white and green. The black is "hot", white is "neutral", and the green is "ground". You will connect the black and white. Take note of the new cord. There will be a tracer, or ridges on one of the conductor insulation. Connect this to the black wire. BE SURE to turn the power off at the circuit breaker before you start splicing. Home power will kill you!
I'm almost tempted to cancel this post. If you have any qualms, call a licensed electrician. Wiring it wrong may kill the router and may start a fire.
ok so i recently bought a N router which i am going to place in like the middle of my house to it can get good signal
HERE IS THE PROBLEM
i have to connect my router to a power outlet on a basement wall which is about 10 ft away from my router is so i have a wire that only has a plug ( i can only connect this side to the wall) the other side is cut and is missing what i am trying to do is that i have a small power extending wire which has both the ends, so i want to connect the first long wire to this new small power extending wire, the trouble is that i cant figure out which wire should i connect to the which pin on the small wire
the big wire had three wires in it, BLACK, GREEN and White, all i want to know is which two wire should i connect to which pins of the small wire