A foolproof solution is to use the classic Ethernet cable. It reaches wherever you want it to and rarely fails. But of course ...