Just to share, i had this problem and i found that it was the REDNAND that one who wasnt working. Every time i booted with L and the DS Profile and the system loaded the CFW i always got the same connection error, and also the 3ds always froze when i clicked on anything (settings, friends...