this problem has been dogging android phones for some time and it's apparently still unresolved. if you have a wifi router and have hidden your ssid, android can't connect to it, even when manually configured. lots of complaints here:
http://code.google.com/p/android/issues/detail?id=1041