[Solutions for Mac's Wifi function cannot be turned on (nanny-level hands-on teaching)]

The wifi function of the Mac is suddenly turned off for no reason, and it cannot be turned on. Note that it cannot be turned on by clicking the "Turn on Wi-Fi" button in System Preferences-Network. is "Turn off Wi-Fi"

I have tried countless methods by searching online, such as resetting the network settings, opening the finder, pressing command+shift+G to enter Library/perferences/configuraton and deleting some plist files in it. Wi-Fi, Bluetooth options are gone, this method fails,

Finally found a way: enter the safe mode of mac, use the terminal to turn on Wi-Fi again, and finally turn on Wi-Fi successfully

First of all, enter the safe mode: first turn off the computer, then press the power button, and then quickly press and hold the shift key without sending it until the computer displays the startup interface, prompting to enter the login password. At this time, the computer interface is exactly the same as the usual startup interface, and then enter the password. Then the computer will enter the boot interface of safe mode again. At this time, there will be a red "safe mode" word on the upper right of the screen, and then enter the password again to log in to the main interface of the computer.

Then open the terminal of the computer and enter the following command to turn off the WI-FI:

networksetup -setairportpower en0 off

networksetup -setairportpower en1 off

or networksetup -setairportpower en0 off

Then enter,

Note: If en1 prompts that it cannot run, change it to en0, my computer is to enter en0

Then restart the Wi-Fi with the command:

networksetup -setairportpower en0 on

networksetup -setairportpower en0 on

or networksetup -setairportpower en1 on

Then enter,

Note: The en1 and en0 here are consistent with the previous command, depending on whether your computer uses en0 or en1

At this point, I restarted the computer and found that the Wi-Fi is working normally, and the Wi-Fi can be turned on and off normally. I have tried many methods and recorded them specially so that everyone can avoid pitfalls. In the process of using mac, we often encounter some strange problems. The use of mac system is smooth and stable, and the stability is strong, but the occasional small problems are also very troublesome for non-professionals.

Guess you like

Origin blog.csdn.net/Phyllis_Zhang/article/details/128156935