1. modify the system network configuration to automatically get # sudovim/etc/network/interfaces all overwrite the following characters autoloifaceloinetloopback2. modify DNS to automatically get # sudovim/etc/resolv. conf is all covered by the following characters # GeneratedbyNetworkManagerdomainh3c.com. cns
1. modify the system network configuration to get it automatically
# Sudo vim/etc/network/interfaces
All characters must be the following
Auto lo
Iface lo inet loopback
2. Modify DNS to get it automatically
# Sudo vim/etc/resolv. conf all overwrites the following characters
# Generated by NetworkManager
Domain h3c.com.cn
Search h3c.com.cn
Nameserver 192.168.10.1
3. Restart the NIC
Sudo/etc/init. d/networking restart
Note: In Ubuntu, interfaces and resolv. conf should not be modified manually. Otherwise, they cannot be obtained automatically.
I personally wrote the chapter after my own operations. If there are similarities, it is a coincidence.
If you do not understand it or the document is incorrect, leave a message to indicate it. I will modify it and send a reply to the notification.