ibook connecting WPA but no IP address


I have an iBook g4 that I have been trying to get to connect to a D-link wireless router. I can connect to it but I am not able to get an IP address. It will not even connect to the router using WPA2. If I specify an address everything seems to work fine... The strange thing is that my g5 can connect to it just fine using wpa, the only difference is that the lappy is running 10.4.3 and the G5 is running 10.3.9

Please Help!!!!