Dumle29 wrote:Yeah I added that file, USB power shouldn't be the issue, as I'm powering the dongle with my lap lab PSU, the dongle only draws 60~70mA at any time, but my supply can supply 5.1A (I have it set at 500mA tho)
60-70mA when idle. I recently saw what appeared to be an official spec that mentioned 600mA max usage which I though was rather excessive, although I have seen another on a Chinese web site that claimed using 129mA max transmitting. My own current measurements would agree with a max of around 130mA transmitting, around 90-95mA receiving and 60-70mA when idle.
There are other things that could cause issues, interference from other wifi devices, mobiles, poor connection due to distance to AP and any walls etc between wifi and AP and of course issues with the Pi.
I have 4 Pi's using EW7811Un's which I connect to from my windows laptop using SSH and they occasionally dropped connections, some rather more frequently than others, but adding the file /etc/modprobe.d/8192cu.conf stopped pretty much all problems. I do now very, very infrequently find an SSH connection to one of my Pi's is dropped but I can reconnect without needing to do anything to the Pi, just start a new SSH connection. That Pi is separated from the AP by two brick walls and is upstairs on the opposite side of the house to the AP which is downstairs. However, I'm certain it is mainly due to issues with my network and not the Pi as I see the odd message about loosing and then restoring connections between my windows laptop and various devices on my domain such as printer and mail server so it's not specific to the Pi. The remaining three Pi's just stay connected. And the wifi adaptors are all connected to the Pi's directly or connected using a USB extension cable so are powered off the PI's psu.
One Pi has a USB reader connected with a second SD card plugged into it. I do get occasional problems accessing the SD card in the reader and usually have to unplug the reader and plug it back in to be able to access the second SD card again. Similar to problems with wifi's stopping working but this time a different device connected to the USB bus.
If your wifi has a separate PSU the problem could be much more likely to be with the Pi and it's PSU, or possibly a clogged up USB bus. It's just that when the wifi stops working it's rather obvious but it could just be an indication of some sort of problem somewhere else with the Pi and not anything to do directly with the wifi as such.
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.