Hi All,
As subject, I'm hoping you might be able to help me with a WiFi issue which is slowly driving me daft.
I'm running several Pis, all apart from one connected by trusty old 5e; and they're about as dependable as sunrise. The last one lives in a spot which I can't easily get a cable to, so it connects to a WLAN with an Edimax EW7811Un. Unfortunately, that leads it to be significantly less dependable.
The (well documented [read: discussed]) problem is that every so often the wireless connection drops, and doesn't come back until I do a very ungraceful restart at the mains outlet.
The really frustrating part is that it seems to happen at intervals more random than a computer should be able to manage. I've seen it stay connected for periods in excess of a week; then it'll drop and I'll pull the mains, give it a few seconds, and restore power. When the Pi comes back up, I may be able to contact it over the network for another week, twenty minutes, or anything between. Sometimes it's not contactable immediately after booting, so I'll power-cylce again (or again & again) and eventually communication will be restored for a period.
I get the feeling the problem is caused either by a lack of sufficient power to USB - there's a Telldus Tellstick USB (first version, transmit-only) connected as well as the Edimax wireless adapter - or by the driver for the EW7811 being a bit pants. Though in either case I can't figure out how sometimes it'll work fine for a week, then without anything being discernably different, less than an hour (or not at all until another reboot).
I'm confident the WLAN itself is pretty stable. There's one Cisco (Linksys) E4200 router only a few metres away, and a second acting as an additional AP further away; and other WiFi devices don't seem to lose their connection.
I'd rather remove the cause than simply treat the symptom (with a blunt user-space script to restart the network stack(s) when comms are lost); so I'm considering either replacing the EW7811Un, or perhaps retiring the Pi and replacing it with a Pi2 (with more USB juice); maybe even both. [I'd rather avoid powered hubs as they seem to be a false economy - becoming reliably compatible not far off the price of a replacement Pi, which would give better value for money].
I'd be really grateful for any wisdom the community might be able to offer; mainly on whether or not the EW7811Un tends to exhibit this issue regardless of other factors, and if not, that power's likely the problem (and therefore that a Pi2 might be solution for both USB devices without hubs or 'dirty' scripts).
Most grateful for any advice,
Rob.