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
Based on past experience, taking notes after comp...
This article shares the specific code of Vue to a...
1: Differences in speed and loading methods The di...
Table of contents vue custom directive Global Dir...
Table of contents First of all, you need to know ...
Link: https://qydev.weixin.qq.com/wiki/index.php?...
Table of contents Manual deployment 1. Create a s...
Many tables in MySQL contain columns that can be ...
Mainly use the preserve-3d and perspective proper...
Prerequisites for installing MySQL: Install CentO...
Let me look at the example code first: 1. Common ...
Table of contents Preface Check Constraints Creat...
1. Command Introduction The ifconfig (configure a...
Environment: (docker, k8s cluster), continue with...
Table of contents What is recursion and how does ...