summaryrefslogtreecommitdiff
path: root/src/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/5_networking.xml2
-rw-r--r--src/admin/adminbook.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/admin/5_networking.xml b/src/admin/5_networking.xml
index 1febe4b..6cfd944 100644
--- a/src/admin/5_networking.xml
+++ b/src/admin/5_networking.xml
@@ -7,7 +7,7 @@
<para>The Adélie Linux system uses <firstterm><package>netifrc</package></firstterm> as its network configuration and management system. The netifrc system uses a declarative configuration syntax in a single file, <filename>/etc/conf.d/net</filename>, for ease of administration. All main system network configuration is declared in this file. Some additional configuration may be required for wireless or VPN connections; notably, wireless connections require WPA Supplicant to be configured using either <package>wpa_gui</package> (on computers that use X11), or in the <filename>/etc/wpa_supplicant/wpa_supplicant.conf</filename> file.</para>
<para>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 <xref linkend="crappy_udev_ifs" />.</para>
<section>
- <title>A netfirc primer</title>
+ <title>A netifrc primer</title>
<para>The netifrc configuration file consists of INI-style configuration variables. For example, <literal>config_eth0="dhcp"</literal> sets the variable <varname>config_eth0</varname> to the value <literal>dhcp</literal>. By default, all interfaces on the system that are enabled will attempt to retrieve a DHCP address. Retrieving a DHCP address requires the <package>dhcpcd</package> package to be installed.</para>
<para>To enable a network interface, you must create a symbolic link to <filename>/etc/init.d/net.lo</filename> in <filename class="directory">/etc/init.d</filename> named <filename>net.<replaceable>IFACE</replaceable></filename> where <replaceable>IFACE</replaceable> is the name of the interface. For example, for the interface named <literal>eth0</literal>, you would run <command>ln -s /etc/init.d/net.lo /etc/init.d/net.eth0</command>. Next, you need to add the service to the default runlevel. As noted in <xref linkend="enable_disable_rc" />, you would run <command>rc-update add net.<userinput>IFACE</userinput> default</command> to enable the net.<replaceable>IFACE</replaceable> service. You may then <link linkend="start_stop_rc">start the service</link>, assuming the interface has been configured properly in <filename>/etc/conf.d/net</filename>.</para>
<para>To disable a network interface, you must first <link linkend="start_stop_rc">stop it</link>, if it is running. Next, <link linkend="enable_disable_rc">remove it from the default runlevel</link> (<command>rc-update del net.<userinput>IFACE</userinput> default</command>). Finally, remove the symbolic link in <filename class="directory">/etc/init.d</filename>.</para>
diff --git a/src/admin/adminbook.xml b/src/admin/adminbook.xml
index 0c94bd2..f473369 100644
--- a/src/admin/adminbook.xml
+++ b/src/admin/adminbook.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+ <!ENTITY helping SYSTEM "../common/helping_hands.xml">
<!ENTITY chap1 SYSTEM "1_intro.xml">
<!ENTITY chap2 SYSTEM "2_shell.xml">
<!ENTITY chap3 SYSTEM "3_packages.xml">
@@ -31,7 +32,7 @@
<firstname>Tambra</firstname><surname>Wilcox</surname>
<contrib>Copyediting</contrib>
</othercredit>
- <copyright><year>2018</year><holder>Adélie Linux</holder></copyright>
+ <copyright><year>2018</year><year>2019</year><holder>Adélie Linux</holder></copyright>
</bookinfo>
<preface>
<title>Preface</title>
@@ -41,6 +42,7 @@
<para>Please also ensure that you are comfortable and properly rested before reading this handbook. This will allow you to learn quicker, and be able to recall the information you have learned easier.</para>
<para>It is hoped by the author that you find this handbook easy to understand and read. Please feel free to contact me or the Adélie Linux community if you have any suggestions on how to make this handbook better. We'd love to hear from you, and we hope you enjoy using our distribution.</para>
<para>– A. Wilcox, 2018</para>
+ &helping;
</preface>
&chap1;
&chap2;