That message means exactly what it says — the DS scanned for a wireless network and found nothing it can join.
To get on Nintendo Wi-Fi Connection the console needs a reachable access point: a wireless router at home, or a public hotspot. Some models can also use the Nintendo Wi-Fi USB Connector plugged into a PC. Without one of those, there is simply nothing to connect to.
If you are away from home, Nintendo's hotspot locator at nintendo.com/games/wifi/hotspot shows the nearest public connection points.