Problem description: I used a desktop computer and the campus network to access the Internet via wired mode. I tested 64-bit Ubuntu 14.04.4, Ubuntu 14.04.5, and Ubuntu 16.04.3, and all of them had the following problems: The network shows that it is connected, but it cannot access the Internet: This situation often occurs in some occasions where you need to log in to the Internet, such as schools. Of course, if this error occurs when you do not want to log in to the network, you can also try the following solutions: 1. Click the edit connection in the above picture and set the static IP, as shown in the figure below: 2. Press Ctrl+Alt+T to open the terminal and configure DNS as follows: (1) sudo nano /etc/network/interfaces and add dns-nameserver 114.114.114.114 at the end (2) sudo nano /etc/resolvconf/resolv.conf.d/base and add nameserver 114.114.114.114 at the end (3) sudo nano /etc/resolv.conf and add nameserver 114.114.114.114 at the end 3. Restart the network and the problem is solved! ! ! ! sudo service networking restart explain: DNS stands for Domain Name System, and its function is to convert domain names into specific IP addresses. Commonly used DNS:
The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL Community Server 5.7.19 Installation Guide (Detailed)
>>: Vue implements the product tab of the product details page function
Table of contents 1. Brief Overview 2. Detailed e...
Continuing from the previous article, we will cre...
Map tags must appear in pairs, i.e. <map> .....
Table of contents Project Background start Create...
The principle of uploading pictures on the front ...
1. Introduction The requirement is to obtain the ...
Website link: http://strml.net/ By Samuel Reed Ti...
Table of contents Preface background Big guess Fi...
Table of contents Overview Form validation withou...
Install Install ts command globally npm install -...
Table of contents Basic HTML structure Generate s...
This article example shares the specific code of ...
1. parseFloat() function Make a simple calculator...
Table of contents Class Component Functional Comp...
Record the installation and use of openssh-server...