My laptop (running Ubuntu) has randomly stopped connecting to my wireless network. It used to work fine, but having changed nothing, it's stopped.

The laptop will see the network fine and attempt to connect, but it just sits there trying to get online.

Why might this happen?