I haven't tried to do this with an Arduino, but the "connecting but not really connecting" behaviour sounds a lot like the symptoms when you get a radio connection OK but are unable to authenticate with the AP.
I haven't tried to do this with an Arduino, but the "connecting but not really connecting" behaviour sounds a lot like the symptoms when you get a radio connection OK but are unable to authenticate with the AP.