From ccc67bcb4857bf8c821dfbeee5570605bcbfd362 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sun, 21 Aug 2016 00:22:06 -0500 Subject: [PATCH] Remove eth0 Ubuntu uses the new naming scheme. Forcing the user to figure out the correct name avoids them blindly typing eth0 and ending up with broken networking. --- Ubuntu-16.04-Root-on-ZFS.md | 11 +++++++---- Ubuntu-16.10-Root-on-ZFS.md | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Ubuntu-16.04-Root-on-ZFS.md b/Ubuntu-16.04-Root-on-ZFS.md index 5feec58..e70c611 100644 --- a/Ubuntu-16.04-Root-on-ZFS.md +++ b/Ubuntu-16.04-Root-on-ZFS.md @@ -150,11 +150,14 @@ The `debootstrap` command leaves the new system in an unconfigured state. An al 4.2 Configure the network interface: - # vi /mnt/etc/network/interfaces.d/eth0 - auto eth0 - iface eth0 inet dhcp + Find the interface name: + # ifconfig -a -Customize this file if the interface is not named eth0 or if new system is not a DHCP client on the LAN. + # vi /mnt/etc/network/interfaces.d/NAME + auto NAME + iface NAME inet dhcp + +Customize this file if the system is not a DHCP client. 4.3 Bind the virtual filesystems from the LiveCD environment to the new system and `chroot` into it: diff --git a/Ubuntu-16.10-Root-on-ZFS.md b/Ubuntu-16.10-Root-on-ZFS.md index 535c175..f5cc82f 100644 --- a/Ubuntu-16.10-Root-on-ZFS.md +++ b/Ubuntu-16.10-Root-on-ZFS.md @@ -151,11 +151,14 @@ The `debootstrap` command leaves the new system in an unconfigured state. An al 4.2 Configure the network interface: - # vi /mnt/etc/network/interfaces.d/eth0 - auto eth0 - iface eth0 inet dhcp + Find the interface name: + # ifconfig -a -Customize this file if the interface is not named eth0 or if new system is not a DHCP client on the LAN. + # vi /mnt/etc/network/interfaces.d/NAME + auto NAME + iface NAME inet dhcp + +Customize this file if the system is not a DHCP client. 4.3 Bind the virtual filesystems from the LiveCD environment to the new system and `chroot` into it: