SuperDave156 wrote:Thanks guys,
I have applied all your suggestions except the 1 minute ping because my program polls the server every minute so I should have that covered. I have the Ralink 5370 wifi dongle from The Pi Hut.
I came back to the Pi after a break and was alarmed to find that it had no connection. No programs were running at the time.
The wpa_gui had empty fields; no adapter and no network, so I tried the /etc/init.d/networking restart command expecting it to come back on. No such luck! I rebooted and it came back. It's been ok for a couple of hours or so but I need 24/7/365 reliability.
I suppose it's a bit much to expect from a cheap machine.
Forgive my cynicism but it's starting to look familiar... Brilliant British idea but not quite right. Just waiting for the Americans/Japanese/Koreans/Chinese (take your pick) to copy and perfect then sell by the million.
What do you think???
What do I think? I think you are wrong. Remember, the Raspberry Pi is a HW platform. This is more than likely a software problem, and may even be a SW problem in Linux itself! That problem software may even have been written OUTSIDE THE UK - SHOCKER. So to blame British engineering is quite an insult don't you think? Take a look at the bug lists for the Beaglebone, or any other SBC. They are not empty.
If you want 24/7/365 reliability, then perhaps the Raspi really isn't for you. Perhaps you need to spend a lot more money on custom HW if you want to be certain. And custom software as well (see above), because who knows what bugs are in the code out there.
The point being - do you know of any machines that can provide 24/7/365 perfect reliability? The only way you can be sure is to build one yourself, make it multiply redundant (ie if a part fails something else takes over), do the very thorough testing required, and then hope you don't have a HW failure that you didn't predict. This is what people like NASA do for very high reliability.
With regard to your particular issue. Have you tried different dongles? Or wired connection? Do they suffer the same problem? Have you tested your power supply and cable? I had a problem with Ethernet dropping out due to power problems.
I have had no problems at all with my Raspi running OpenELEC with cheapo Wifi dongle. Been sitting behind the TV upstairs for months working away. Not had any problems AFICR.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."