reckon that's the solution - link directly to the router with an Ethernet cable - go throught the set-up routine
when contact is established and all passwords are in place
remove the cable and it should be good to go wirelessly..
had a similar problem with my Netgear WDN3100 - the cable trick fixed it..