From 9232e34cb98912eb233c545e2d22f3f9a916520f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 3 Dec 2018 13:31:57 -0600 Subject: Admin: ch05: clarify DHCP, userinput->replaceable --- src/admin/5_networking.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/admin') diff --git a/src/admin/5_networking.xml b/src/admin/5_networking.xml index 509e360..a658ffb 100644 --- a/src/admin/5_networking.xml +++ b/src/admin/5_networking.xml @@ -8,8 +8,8 @@ The default configuration for the Adélie Linux system uses the traditional Linux interface names (such as "eth0", "eth1", and "wlan0"). If you prefer the new "predictable" interface names (such as "enP2p36s15f0" or "wlp9s0"), refer to .
A netfirc primer - The netifrc configuration file consists of INI-style configuration variables. For example, config_eth0="dhcp" sets the variable config_eth0 to the value dhcp. By default, all interfaces on the system that are enabled will attempt to retrieve a DHCP address, assuming dhcpcd is installed. - To enable a network interface, you must create a symbolic link to /etc/init.d/net.lo in /etc/init.d named net.IFACE where IFACE is the name of the interface. For example, for the interface named eth0, you would run ln -s /etc/init.d/net.lo /etc/init.d/net.eth0. Next, you need to add the service to the default runlevel. As noted in , you would run rc-update add net.IFACE default to enable the net.IFACE service. You may then start the service, assuming the interface has been configured properly in /etc/conf.d/net. + The netifrc configuration file consists of INI-style configuration variables. For example, config_eth0="dhcp" sets the variable config_eth0 to the value dhcp. By default, all interfaces on the system that are enabled will attempt to retrieve a DHCP address. Retrieving a DHCP address requires the dhcpcd package to be installed. + To enable a network interface, you must create a symbolic link to /etc/init.d/net.lo in /etc/init.d named net.IFACE where IFACE is the name of the interface. For example, for the interface named eth0, you would run ln -s /etc/init.d/net.lo /etc/init.d/net.eth0. Next, you need to add the service to the default runlevel. As noted in , you would run rc-update add net.IFACE default to enable the net.IFACE service. You may then start the service, assuming the interface has been configured properly in /etc/conf.d/net. To disable a network interface, you must first stop it, if it is running. Next, remove it from the default runlevel (rc-update del net.IFACE default). Finally, remove the symbolic link in /etc/init.d.
-- cgit v1.2.3-70-g09d2