I'm trying to build a Pi-powered wireless webcam, but I'm running into a problem where, after the Pi has been running for a while, it somehow breaks the wireless network. When this happens, both the Pi as well as any other devices connected to the network become unavailable, and new devices are not able to connect to the network anymore. This only affects the 2.4 GHz network on my dual-band router; the 5 GHz network is unaffected, as are wired devices. A router restart fixes the problem most of the time, but sometimes I also have to unplug the WiFi adapter and then plug it back in.
The setup is as follows:
- Raspberry Pi: Model B and Pi 2 (problem occurs with both)
- Power supply: 2.1 A
- WiFi adapter: this one (Ralink 5370 chipset, connected directly to the Pi, power saving is off)
- Camera: official NoIR camera (activity LED is off)
- Software: motionPie; Raspbian + streamEye (problem occurs with both configurations)
The problem does not seem to occur when the Pi is connected to a wired network, or when nothing is accessing the camera (e.g. just running Raspbian, with a connected ssh session). When connected to WiFi and the camera is in use, however, the problem occurs, sometimes within minutes, sometimes it takes hours.
Neither RPi is overclocked. The WiFi adapter is supposed to be able to run directly from the Pi without a powered hub. The Model B Pi can also run RasPlex using the same WiFi adapter with zero problems. When hooked up to a display and with a user logged in, nothing out of the ordinary shows up on the console.
Any suggestions? I really need to make this work over WiFi.