Changeset 819ba78
- Timestamp:
- Aug 18, 2014, 4:01:47 PM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- 1a95b03, 22610fa
- Parents:
- dd39fc2
- Location:
- BOOK/network
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcpcd.xml
rdd39fc2 r819ba78 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> … … 51 51 <para>First install the service from the CLFS Bootscripts package:</para> 52 52 53 <screen ><userinput>tar -xvf bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.xz53 <screen role="nodump"><userinput>tar -xvf bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.xz 54 54 cd bootscripts-cross-lfs-&bootscripts-clfs-version; 55 55 make install-service-dhcpcd</userinput></screen> … … 60 60 additional interfaces:</para> 61 61 62 <screen ><userinput>cd /etc/sysconfig/network-devices &&62 <screen role="nodump"><userinput>cd /etc/sysconfig/network-devices && 63 63 mkdir -v ifconfig.eth0 && 64 64 cat > ifconfig.eth0/dhcpcd << "EOF" -
BOOK/network/common/hostname.xml
rdd39fc2 r819ba78 22 22 and enter a hostname by running:</para> 23 23 24 <screen ><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" > /etc/sysconfig/network</userinput></screen>24 <screen role="nodump"><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" > /etc/sysconfig/network</userinput></screen> 25 25 26 26 <para><replaceable>[clfs]</replaceable> needs to be replaced with the -
BOOK/network/common/hosts.xml
rdd39fc2 r819ba78 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/resolv.xml
rdd39fc2 r819ba78 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/static.xml
rdd39fc2 r819ba78 26 26 file for the <emphasis>eth0</emphasis> device:</para> 27 27 28 <screen ><userinput>cd /etc/sysconfig/network-devices &&28 <screen role="nodump"><userinput>cd /etc/sysconfig/network-devices && 29 29 mkdir -v ifconfig.eth0 && 30 30 cat > ifconfig.eth0/ipv4 << "EOF" -
BOOK/network/multilib/dhcpcd.xml
rdd39fc2 r819ba78 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <screen os="c" ><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin \32 <screen os="c" role="nodump"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin \ 33 33 --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib64/dhcpcd \ 34 34 --libdir=/usr/lib64</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.