Changeset a7bd7349


Ignore:
Timestamp:
08/01/2014 06:06:43 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
4b11dc9
Parents:
51dc8424
Message:

Add dhclient systemd unit to isc dhcp page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13775 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TODO

    r51dc8424 ra7bd7349  
    1 provide systemd units for dhcpcd and dhclient
     1provide systemd units for dhcpcd
  • networking/connect/dhcp-systemd.xml

    r51dc8424 ra7bd7349  
    254254
    255255      <para>
     256        If you want to configure network interfaces at boot using
     257        <command>dhclient</command>, you need to install the
     258        systemd unit included in <xref linkend="bootscripts"/>
     259        package by running the following command as the
     260        <systemitem class="username">root</systemitem> user:
     261      </para>
     262
     263<screen role="root"><userinput>make install-dhclient</userinput></screen>
     264
     265      <indexterm zone="dhcp dhclient-config">
     266        <primary sortas="f-dhclient">dhclient</primary>
     267      </indexterm>
     268
     269      <para>
    256270        At this point you can test if <command>dhclient</command> is
    257271        behaving as expected by running the following command as the
     
    259273      </para>
    260274
    261 <screen role="root"><userinput>dhclient <replaceable>&lt;eth0&gt;</replaceable></userinput></screen>
     275<screen role="root"><userinput>systemctl start dhclient@<replaceable>eth0</replaceable></userinput></screen>
     276
     277      <para>
     278        To start <command>dhclient</command> on a specific interface
     279        at boot, enable the previously installed systemd unit by
     280        running the following command as the
     281        <systemitem class="username">root</systemitem> user:
     282      </para>
     283
     284<screen role="root"><userinput>systemctl enable dhclient@<replaceable>eth0</replaceable></userinput></screen>
     285
     286      <para>
     287        Replace <replaceable>eth0</replaceable> with the actual interface name.
     288      </para>
    262289
    263290    </sect3>
Note: See TracChangeset for help on using the changeset viewer.