ubuntu以DHCP方式配置网卡自动获取ip编辑文件/etc/network/interfaces:sudo vi /etc/network/interfaces并用下面的行来替换有关eth0的行:# The primary network interface - use DHCP to find our addressauto eth0iface eth0 inet dhcp。 相关文章: 2021-10-22 2021-12-24 2021-04-19 2021-07-03 2021-12-03 2021-09-14 2021-12-23 2022-01-25