RPi solution to modem flap