vxUtil and
PocketDHCP have some diagnostic functions but they really work after the IP has been obtained. There are a few troubleshooting suggestions in the WiFi How-to linked from my signature but my guess is either some security feature (WEP or MAC filtering), your router isn't set up to assign another IP, or a hardware problem with the iPaq. Have you tried setting a static IP?