Home >Common Problem >What should I do if my mac's self-assigned IP cannot be connected?
Solution: 1. Open the "Network" - "Advanced Mode" - "WiFi" tab, find the specified WiFi, and reconnect. 2. Click the "tcp/ip" tab in the network settings, change the configuration to "hdcp", and enter "sudo ipconfig set en0 DHCP" and password in the terminal.
The operating environment of this tutorial: macOS Big Sur system, MacBook Pro computer.
There is a conflict in IP address allocation. You should change the address segment of the router Lan to 192.168.168 and then connect to the wireless network. It should be fine.
Method 1:
First open the preferences and click Network Options.
Select advanced mode in the menu below.
Click WiFi, find the WiFi you are currently connected to that cannot access the Internet, click the minus sign, then click OK, delete it and reconnect. You will find that after re-entering your password, you can access the Internet. Generally, you can access the Internet after downloading and doing this. If not, please restart your Mac and repeat the steps. This restart is very important. Sometimes you are connected to your Mac but still cannot access the Internet.
Method 2:
If the above method does not work, then please go back to the network settings and connect to the Internet first WiFi, ensure that the mobile phone can access the Internet, then click on the IP address in the picture, change to obtain HDCP, and save it.
Open the Mac terminal, enter the command: sudo ipconfig set en0 DHCP, and then enter the administrator password. The Mac will re-obtain the IP address from the router. After waiting for a few seconds, you will find that the WiFi icon will flash and you can access the Internet by opening the browser. It is best to copy the above command, do not type it yourself, do not include colons.
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of What should I do if my mac's self-assigned IP cannot be connected?. For more information, please follow other related articles on the PHP Chinese website!