Is it possible your router has 2.4g and 5g? You could try connecting to whichever one you’re not currently on. That is my only guess but there is not a lot to go on in the post. Also I highly doubt the dual boot is relevant here if you were considering that. I’m not that familiar with MX, but you could try booting to a Debian live image to see if it works better there.