I literally spent 10 hours trying to get the Edimax EW-7811UN wifi adapter to work with my model B pi. My searching for answers wasn’t very fruitful, until I realized the problem was related to the fact that my wireless network SSID is hidden. So, I wanted to share my experience here in case it help...