Can't connect M+ to Wi-Fi

In the past when I have had trouble with Wi-Fi devices not connecting anymore, then a router reboot has helped, at least temporarily. Also I find that orientation and distance can make a huge difference. One router here has trouble unless the device is at least a meter away.