Do you have other phones of the same model working on this system, if so it sounds like either a DHCP error (or incompatibility in DHCP options with the current firmware in the phone) or a bad phone... Try putting it Teleworker Mode and see if it will force load firmware, sometimes I have seen this work. Weird that it gets to the PIN prompt, then fails after that, my money would be on a bad phone though.