I have an Edimax EW-7811Un plugged into my RPi's USB port.
Frequently, when connected to the internet through the Edimax, my SSH connection drops or is very sluggish. I don't think I've had a session for longer than 5 mins without it freezing. However, it seems like freezing only happens after it has been idle for a period of time. For example, if I just keep pressing enter at the command line it does not freeze, but if I let it idle for a bit and then come back and press enter it won't register and close out. That being said there are some cases where i leave it idle for a period of time and a type something and it takes 15-20 seconds to register and it does not close out.
Sometimes I get this error after the connection drop: pi@raspberrypi ~ $ Write failed: Broken pipe
Any thoughts on how to remedy this? I've already tried a different PSU which didn't really do anything. Could it be router settings I have? My router is kind of a POS. Or maybe this is an issue with how I set up the edimax with the RPi?