The code for wifi should be located in the online menu of the game you are playing. Also I believe there is a manual reset option in the DS menu. Just check around, there aren't that many menus so you'll find it eventually.
Hope that helps. If someone else has a more precise answer though, by all means, post it.