PC's wifi and my router hate each other and I'm absolutely stumped why. How to troubleshoot it?
My PC has an MSI B550M PRO-VDH WIFI motherboard. The router is a generic router given by the ISP. Using a cable is not an option as the router is in another room.
It worked for a few years but a few months ago it started acting up. For some time I have internet connection then it suddenly disconnects. When I reconnect windows says I connected to the network but have no internet connection. Windows troubleshooter can't help. It tells me that the computer doesn't have a valid ip configuration but it can't fix it. Other devices like a laptop and phones can connect to the router without issues. If I use my mobile as a hotspot and I connect to the PC, if I'm on mobile data it works but if I use it as an extender for the router it disconnects. Pulling the plug of the router waiting and reconnecting and then restarting the computer sometimes helps for a while but it's not a good option as others need the internet too.
I tried installing driver from the officical msi support site but it didn't work. I tried these commands in administator cmd: netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
restart
it didn't help. Tried deleting the wifi from device manager and restarting, also didn't help.
Anyone have ANY idea what else can I try?