diff --git a/chapter09/network.xml b/chapter09/network.xml index 52eb35c18..5ea7e3add 100644 --- a/chapter09/network.xml +++ b/chapter09/network.xml @@ -27,12 +27,22 @@ address(es), subnet masks, and so forth. It is necessary that the stem of the filename be ifconfig. - If the procedure in the previous section was not used, udev - will assign network card interface names based on system physical - characteristics such as enp2s1. If you are not sure what your interface - name is, you can always run ip link or ls - /sys/class/net after you have booted your system. - + + If the procedure in the previous section was not used, udev + will assign network card interface names based on system physical + characteristics such as enp2s1. If you are not sure what your interface + name is, you can always run ip link or ls + /sys/class/net after you have booted your system. + + + The interface names depend on the implementation and + configuration of the udev daemon running on the system. The udev + daemon for LFS (installed in ) will + not run until the LFS system is booted. So it's unreliable to + determine the interface names being used in LFS system by running + those commands on the host distro, + even though in the chroot environment. + The following command creates a sample file for the eth0 device with a static IP address: diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 9090596c0..82a0740ad 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -53,6 +53,17 @@ ip link after you have booted your system. + + The interface names depend on the implementation and + configuration of the udev daemon running on the system. The udev + daemon for LFS (systemd-udevd, installed in + ) will not run unless the LFS + system is booted. So it's unreliable to determine the interface + names being used in LFS system by running those commands on the host + distro, + even though in the chroot environment. + + For most systems, there is only one network interface for each type of connection. For example, the classic interface