Changeset 1ecf563 for BOOK/network/common
- Timestamp:
- Aug 18, 2014, 3:57:02 PM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- f0b15e4
- Parents:
- 782b8809
- Location:
- BOOK/network/common
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcpcd.xml
r782b8809 r1ecf563 31 31 <para os="b">Prepare DHCPCD for compilation:</para> 32 32 33 <screen os="c" ><userinput>./configure --prefix=/usr --sbindir=/sbin \33 <screen os="c" role="nodump"><userinput>./configure --prefix=/usr --sbindir=/sbin \ 34 34 --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd</userinput></screen> 35 35 36 36 <para os="d">Compile the package:</para> 37 37 38 <screen os="e" ><userinput>make</userinput></screen>38 <screen os="e" role="nodump"><userinput>make</userinput></screen> 39 39 40 40 <para os="f">This package does not come with a test suite.</para> … … 42 42 <para os="g">Install the package:</para> 43 43 44 <screen os="h" ><userinput>make install</userinput></screen>44 <screen os="h" role="nodump"><userinput>make install</userinput></screen> 45 45 46 46 </sect2> … … 56 56 using the following commands. Adjust appropriately for additional options:</para> 57 57 58 <screen ><userinput>cd /etc &&58 <screen role="nodump"><userinput>cd /etc && 59 59 cat > dhcpcd.conf << "EOF" 60 60 <literal># dhcpcd configuration eth0 interface -
BOOK/network/common/hostname.xml
r782b8809 r1ecf563 21 21 by running:</para> 22 22 23 <screen ><userinput>echo "<replaceable>[clfs]</replaceable>" > /etc/hostname</userinput></screen>23 <screen role="nodump"><userinput>echo "<replaceable>[clfs]</replaceable>" > /etc/hostname</userinput></screen> 24 24 25 25 <para><replaceable>[clfs]</replaceable> needs to be replaced with the -
BOOK/network/common/hosts.xml
r782b8809 r1ecf563 53 53 <para>Create the <filename>/etc/hosts</filename> file by running:</para> 54 54 55 <screen ><userinput>cat > /etc/hosts << "EOF"55 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 56 56 <literal># Begin /etc/hosts (network card version) 57 57 … … 72 72 <filename>/etc/hosts</filename> file by running:</para> 73 73 74 <screen ><userinput>cat > /etc/hosts << "EOF"74 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 75 75 <literal># Begin /etc/hosts (no network card version) 76 76 -
BOOK/network/common/network-scripts.xml
r782b8809 r1ecf563 34 34 <para>Install the package:</para> 35 35 36 <screen ><userinput remap="install">make install</userinput></screen>36 <screen role="nodump"><userinput remap="install">make install</userinput></screen> 37 37 38 38 </sect2> -
BOOK/network/common/resolv.xml
r782b8809 r1ecf563 27 27 file by running the following:</para> 28 28 29 <screen ><userinput>cat > /etc/resolv.conf << "EOF"29 <screen role="nodump"><userinput>cat > /etc/resolv.conf << "EOF" 30 30 <literal># Begin /etc/resolv.conf 31 31 -
BOOK/network/common/sysconfig-network.xml
r782b8809 r1ecf563 36 36 file for the <emphasis>eth0</emphasis> device:</para> 37 37 38 <screen ><userinput>mkdir -pv /etc/sysconfig &&38 <screen role="nodump"><userinput>mkdir -pv /etc/sysconfig && 39 39 cd /etc/sysconfig && 40 40 cat > ifconfig.eth0 << "EOF" -
BOOK/network/common/systemd-network.xml
r782b8809 r1ecf563 32 32 interface with a config file. Adjust Name= as required:</para> 33 33 34 <screen ><userinput>cd /etc/systemd/network &&34 <screen role="nodump"><userinput>cd /etc/systemd/network && 35 35 cat > static.network << "EOF" 36 36 [Match] … … 66 66 with a config file. Adjust Name= as required:</para> 67 67 68 <screen ><userinput>cd /etc/systemd/network &&68 <screen role="nodump"><userinput>cd /etc/systemd/network && 69 69 cat > dhcp.network << "EOF" 70 70 [Match] … … 80 80 create a symlink:</para> 81 81 82 <screen ><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen>82 <screen role="nodump"><userinput>ln -sv /run/systemd/network/resolv.conf /etc</userinput></screen> 83 83 84 84 </sect3> … … 94 94 user and group:</para> 95 95 96 <screen ><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync96 <screen role="nodump"><userinput>groupadd -g &gid-systemd-timesync; systemd-timesync 97 97 useradd -g systemd-timesync -u &uid-systemd-timesync; -d /dev/null -s /bin/false systemd-timesync</userinput></screen> 98 98 … … 100 100 it will run on system boot:</para> 101 101 102 <screen ><userinput>systemctl enable systemd-timesyncd</userinput></screen>102 <screen role="nodump"><userinput>systemctl enable systemd-timesyncd</userinput></screen> 103 103 104 104 <para>You can configure <command>systemd-timesyncd</command> by editing
Note:
See TracChangeset
for help on using the changeset viewer.