more info on what that error is would help.
the nds requires:
802.11b
no encryption or wep encryption
channel 1, 6 or 11
a valid ssid set to public broadcast (for homebrew). you can turn it off for commercial games.
it may detect a network in green but then turn to red if that network fails to respond to the requirements for the nds.
-another world