There is no system-wide Wi-Fi configuration screen on the original Nintendo DS. You set the connection up from inside a game that supports Nintendo Wi-Fi Connection.
In most titles the option sits either on the title screen or tucked inside the Options menu. Look for wording along the lines of Nintendo WFC Settings, then choose a connection slot and let the DS search for an access point.
Three slots are available, so if you switch networks often it is worth filling more than one. For a locked router you will be asked for the security key; older DS models handle WEP rather than WPA, which trips up a lot of people trying to connect to a modern network.
If nothing appears at all, the game almost certainly does not support online play — not every DS release did.