Are you a BT customer, by any chance? If you are, it's worth noting that your Homehub will have 2 WiFI networks in use. In addition to your private network, there's a public one - BTFon - available to other BT customers. I have this setup, and occasionally the BT authentication fails and I get exactly the symptoms you described.
Either switch to the private network, or login to BTFon again.