IMac can't detect any Wi-Fi networks?

I've been having a problem with my 2011 iMac where my Wi-Fi will gradually stop working. I know that this is not a router problem, as my MacBook, iPhone and other devices all connect perfectly and my iMac worked with this router for years up until now. When I start the computer, it is able to connect to Wi-Fi, but after about 20 mins, my main 5G connection stops working, so then I choose my other connection, which works for about another 20 mins. Gradually, all of the various connections slowly disappear until my connection drops out and my computer won't detect any networks in my vacinity at all. So far, the only thing that works is restarting my computer. I've been though this process many times now and the Wi-Fi will always follow that exact pattern until it stops working. Network diagnostics doesn't do anything since I can't get any kind of connection to begin with. Unfortunately I don't have easy access to Ethernet where my computer is in my house unless I go buy a really long cable, so I would prefer if I can possibly fix the Wi-Fi.

I have a 2011 27 inch iMac with High Sierra installed, the problem began when I had Sierra and I thought an update may fix it but it still persists.

Try looking up the exact model number of your iMac, and ok up and download a new network driver (before doing that uninstall the old one, under settings) and then restart and install the new one. After it is installed restart the machine again, and try reconnecting.

"IMac can't detect any Wi-Fi networks… All of the various connections slowly disappear"

How many is "all the various"? Does your router broadcast more than two frequencies? No matter how firmly you believe the network is perfect, you should do a *HARD* reset of the router. Then follow the user guide for that router to choose a password for the Wi-Fi network.

If you think I'm nuts, try following the suggestion of the other answer instead.

  • Will any Ireland Mobile Networks support L. T. E (4G) or iPhone 5? The question pretty much says it all. Does anyone know if any Irish networks (I know Vodafone and O2 are not) supporting LTE:4G data? Specifically for the iPhone 5. Leave the fanboy troll comments at the door, a simple yes/no specifics are what I'm after.
  • Why won't any computer detect my iphone 5? Hi! I have an iphone 5 and i've always had my phone unlocked until now. My brother put a pin on the phone as a prank and now we don't remember what it is. I can unlock it if i connect it to itunes but no computer detects the phone. I tried different cables and multiple computers. What's weird is that if the iphone is off and i connect it to a pc it turns on. What can i do?
  • Why can't my iphone 3g find any wi-fi networks? My iphone 3g is not picking up any wi-fi networks but it's never done this before, i was wandering what happened, does anyone know?
  • My Iphone can't find any networks ANY I Have an IPhone 3G and when I go to Wi-Fi settings, it loads for a second then nothings pops out, My brother has the same iphone as mine, but on his Wi-Fi settings, a ton of networks pop out. Anyone out there who knows how to solve my problem?