在文件系统里找到/etc/network下的interfaces文件,打开后可以看到eth0为dhcp,将其修改为# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interface auto loiface lo inet lo…