坐北朝南
没啥,万里长征,踩坑第一步[em_1]
果然是采坑第一步,到了下面的配置桥接网络的时候又出问题了,interfaces和qemu-ifup都是按照你 那个教材里面改的,
,用命令sudo /etc/init.d/networking restart重启环境的时候报了这么一个错:
Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details. failed!
而后 用命令查看:sudo systemctl status networking.service,发现如下信息:
networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-08-07 16:43:37 CST; 4min 37s ago
Docs: man:interfaces(5)
Process: 2112 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 2109 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 2112 (code=exited, status=1/FAILURE)
8月 07 16:43:37 debianRichard ifup[2112]: than a configuration issue please read the section on submitting
8月 07 16:43:37 debianRichard ifup[2112]: bugs on either our web page at www.isc.org or in the README file
8月 07 16:43:37 debianRichard ifup[2112]: before submitting a bug. These pages explain the proper
8月 07 16:43:37 debianRichard ifup[2112]: process and the information we find helpful for debugging..
8月 07 16:43:37 debianRichard ifup[2112]: exiting.
8月 07 16:43:37 debianRichard ifup[2112]: ifup: failed to bring up br0
8月 07 16:43:37 debianRichard systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
8月 07 16:43:37 debianRichard systemd[1]: Failed to start Raise network interfaces.
8月 07 16:43:37 debianRichard systemd[1]: networking.service: Unit entered failed state.
8月 07 16:43:37 debianRichard systemd[1]: networking.service: Failed with result 'exit-code'
这个问题....咋整