Solution: First click the "Network" icon button at the bottom of the page, select the "Open Network and Sharing Center" option in the menu; then click "Local Area Connection" - "Properties" - "Internet Protocol Version 4" ;Finally, change the DNS server address to "114.114.114.114" and click the "OK" button.
#The operating environment of this tutorial: Ubuntu18.04 system, thinkpad t480 computer.
First we turn on the computer and go to the desktop to connect to the network, and then open the browser. It can be found that the web page cannot be displayed.
Next we return to the desktop and click on the network icon in the menu bar, and then click on the Open Network and Sharing Center option in the menu that opens.
Next we will enter the Network Center window, and we click on the local connection option below.
Then we will enter the status window of the local connection, and we click on the properties option below.
Next we find internet protocol version 4 in the properties window and click to open it.
Then we will enter the protocol properties window, and we will change the DNS server address below to 114.114.114.114. After the modification is completed, click the OK button.
Then we return to the properties window and click the OK button below.
#Next, we reopen the browser and find that the web page can be opened normally.
For more computer-related knowledge, please visit theFAQcolumn!
The above is the detailed content of What should I do if Ubuntu has a network connection but cannot access the Internet?. For more information, please follow other related articles on the PHP Chinese website!