You should reset the router to factory settings.
Look in the router's manual for details, or do a search of the web for the router's model number for instructions on how to perform the factory reset. Most routers have a "reset" button, often it's very small and you will need to depress it with the point of a pen or another pointy tool.
After resetting the router, the encryption security on the wireless signal should be removed, and the default username and password should then be in place for the administration console (or "webpage settings"). Details should be provided in the router's manual.
Best of luck.
1Downvoter instead of hiding, can you please tell me the reason ? – EnexoOnoma – 2011-09-04T04:48:05.877
I've reversed the downvote. I agree that this is a valid question. – None – 2011-09-04T04:56:21.400
@Randolph West ok then, deal. It was something I learned in university but I can't remember it or even find it now. But it exists. – EnexoOnoma – 2011-09-04T05:03:50.793
I think it depends on the brand of router. Perhaps you were downvoted because you didn't provide specific details on make and model. Update your answer with that and perhaps someone will be able to assist. – None – 2011-09-04T05:06:44.457
I find this hard to believe... I dont think you are remembering correctly. – Keltari – 2011-09-04T05:22:03.310
Could just be referring to the key to access the webconfig page (the default one which is normally printed on the underside of the router.) – Windos – 2011-09-04T05:26:59.823
I downvoted and I'm not hiding: there is no such key, at least no universal key as is implied by the asker, though who knows what vulnerability for a specific make/model their teacher was referring to. – Mahmoud Al-Qudsi – 2013-09-29T19:24:48.300