Make sure you have the dhcp server turned on in the wireless hub (if there is one....) and make sure that your wireless nic is set to obtain IP address automatically.

What brand hub do you have?
...