A friend’s centos7 can’t connect to the network normally after it is installed on the virtual machine. I also have this problem. I try to reallocate the address with dhclient, but the system prompts that dhclient is running. I have no choice but to try other methods. After studying it, you can refer to this scheme and try it out. The steps are as follows:
1
CD/etc/sysconfig/network scripts/enter the directory of configuration files related to the network to be modified
2、 Look at the table of contents
At this time, you will find that there is no ifcfg-eth0 file mentioned in the tutorial. Just open the first ifcfg eno file.
If you can’t find a new tutorial, you can’t create one
3、 VI ifcfg eno1677736
4、 Press the letter I to enter the editing state, and change onboot to yes. Press the ESC key, colon, and then add the letter WQ to save and exit (refer to VI usage)
5、 Service network restart (this command is to restart the network service). If it doesn’t work after the restart, there should be no problem after restarting the Linux system
Read More:
- The most complete solution for service network restart failure under CENTOS 7
- iPhone on Windows 10: “Device is unreachable” SOLVED [Debug]
- CentOS 8.1 solution to error in executing #systemctl restart network.service
- Centos6 suddenly cannot access the network VM communication interface socket family: failed
- Cause check of unreachable statement exception in Java
- Wireless network solution of deepin Linux network card driver (manual) installation
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- Solution summary of VMware network card without IP and failure to start network card (continuous update)
- Debian using networking to restart the network can not start the solution of network card
- Solution: the network can be recovered only when the Ubuntu broadband is disconnected
- Iphone network data is shared to ubuntu14.04 through ubs, which is a desktop computer and cannot be passed through hotspot
- Docker creation container cannot find network card: error response from daemon: network XXXX not found
- [error handling] when logging into MySQL with CentOS command, an error 1045 (28000) is reported
- Problem: error (24) file not found is prompted when importing the network table
- Failed to access perfctr MSR appears when CentOS is installed
- Error: path not specified when the docker 1.7 file is uploaded to the container in CentOS
- When centos7 uses the man search command, an error is reported no manual entry for XXXX
- The media could not be loaded, either because the server or network failed or because the format is
- CentOS 7 installation error: Cannot find a valid baseurl for repo: base/7/x86_6
- Solution to the problem that listen TCP 0.0.0.0:3306: bind: address already in use port is occupied in Linux centos7