In regards to wifi:
you can only connect your ds to your router if it has WEP (not WAP!) connection.
If it does, then all you need is your router's password, and you're good! Just set it up through the wifi settings of any game that uses it (pokémon)