Replace the co-ax we ran between upstairs and downstairs with Sat co-ax with the motor control wires in, you can then plug the PSU for the router in upstairs and feed the 9v down to the modem through the co-ax, therfore no need for a custom UPS, just 10m of co-ax

Cheers

Cris.