The RPi is a toy and a piece of shit. Why anyone would run thousands of dollars worth of equipment off it is beyond me. Toss it and connect your devices to a real PC or laptop.
+1

This. I have 5 of them that I've been using to run my other miners (BFL and BitBurners) and they are notoriously unreliable. Every once in a while the SD cards will die necessitating a rebuild of the whole image. And the USB ports are the worst. Even with a powered hub they aren't able to drive my bitburners anymore and I ended up having to buy a tiny computer and putting Linux on it.