How to restart the wifi part alone instead of restarting the whole system

wifi

The wifi that I use at a particular library has some weird issue. I have only faced the issue at this place. The IT helpdesk is not of much help and I am unable to understand the issue. This happened, every 2-3 weeks. I go there weekly 2-3 days for a couple of hours. This is also the only wifi where I have to put a new username and password every 2 hrs. The issue usually happens the first time I try to connect in a day.

Here is what happens, I see the wifi in full strength, but I am unable to connect to it. The IT guy tries connecting to the wifi via his android phone and it connects fine. Then I do the following:

  1. Wifi icon>Network Preference>Advanced>Wifi>Preferred Networks>remove the wifi from that list
  2. Restart the system
  3. Try connecting 3-4 times, then it connects successfully.

I don't understand why it does not connect immediately once I restart the system. What happens when you restart the system? Does it reset the dynamic IP I get in the network? All I can think of is that the wifi router here has some issue and I cannot do anything about it. But I would like to have a better way of solving the issue.

What I mainly want to know, is there a way I can achieve the benefit of restarting the system instead of actually restarting it. Like a command that restarts the whole wifi part without just restarting the whole system.

Best Answer

From the Wi-Fi icon the second option is Turn Wi-fi Off. Select this, wait a few seconds, then open the Wi-Fi icon again and Turn Wi-Fi On. This is how you would restart your Wi-Fi on macOS without restarting your whole computer.

Also to elaborate on your other question(s) - there are a multitude of networking policies and configurations that could be complicating this connection. The hardware itself could be out of date or possibly just full on users and you're connecting when someone drops off - there could be network policies in place that take extra time to validate your machine. The list is quite endless. If you are eventually able to connect it's likely that you'll need to work with your IT folks to figure out the specific issues - or just deal with this buggy connection - but you shouldn't need to reboot your entire machine to make this connection work. There's really not much difference in doing that vs. turning the Wi-Fi off and on again from the menu.

Good luck!