I had the same problem with my iphone 3g 2.1 and my problem was that the iphone can reject WEP key inscription. In your router settings, change the protection from WEP to WPA2, and type in a password, one thats really hard to guess

and that should work. If you dont know how to access your router settings, contact orange BB help!
Croucher