I have just installed the latest version of raspbmc and I have used this thread to help set up my USB wifi interface. I can get it working by manually creating the file /run/network/ifstate of course, this doesn't work on reboot, and the ifup error resumes ifup: failed to open statefile /run/network...