At first it said it couldn't find the IP address, I entered it manually and that got rid of the error message.
Now it's just saying the wifi network could not be joined.
I've tried turning it off and on again, forgetting the network then adding it again. I've also tried clearing the PRAM and something else I'm not sure the name of (RMC or something similar). I'm now out of ideas.