Wireless problems in Kubuntu 11.04

After upgrading to Kubuntu Natty, I was no longer able to connect to a WEP secured network. This happened on an Asus EeePC 1000, with an Ralink RT2860 onboard.

To solve this, edit /etc/modprobe.d/blacklist.conf. Add the following lines:

blacklist rt2800pci
blacklist rt2800usb
blacklist rt2x00lib
blacklist rt2x00pci
blacklist rt2x00usb

Reboot.