aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/zh_CN/drakwizard_dhcp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/mcc-help/zh_CN/drakwizard_dhcp.xml')
-rw-r--r--docs/mcc-help/zh_CN/drakwizard_dhcp.xml194
1 files changed, 194 insertions, 0 deletions
diff --git a/docs/mcc-help/zh_CN/drakwizard_dhcp.xml b/docs/mcc-help/zh_CN/drakwizard_dhcp.xml
new file mode 100644
index 00000000..d641358f
--- /dev/null
+++ b/docs/mcc-help/zh_CN/drakwizard_dhcp.xml
@@ -0,0 +1,194 @@
+<?xml version='1.0' encoding='utf-8'?><section xmlns="http://docbook.org/ns/docbook" xmlns:ns5="http://www.w3.org/1998/Math/MathML" xmlns:ns4="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns="http://docbook.org/ns/docbook" version="5.0" xml:lang="zh_CN" xml:id="drakwizard_dhcp">
+ <info>
+ <title xml:id="drakwizard_dhcp-ti1">配置 DHCP</title>
+
+ <subtitle>drakwizard dhcp</subtitle>
+ </info>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata xml:id="drakwizard_dhcp-im1" fileref="drakwizard_dhcp.png" revision="1" align="center" format="PNG"/>
+ </imageobject>
+ </mediaobject>
+
+ <para><note>
+ <para>This tool is broken in Mageia 4 because of new naming scheme for the Net
+interfaces</para>
+ </note></para>
+
+ <para>This tool<footnote>
+ <para>You can start this tool from the command line, by typing <emphasis
+role="bold">drakwizard dhcp</emphasis> as root.</para>
+ </footnote> can help you to set up a
+<acronym>DHCP</acronym> server. It is a component of drakwizard which should
+be installed before you can access to it.</para>
+
+ <section>
+ <title>What is DHCP?</title>
+
+ <para>The Dynamic Host Configuration Protocol (<acronym>DHCP</acronym>) is a
+standardized networking protocol used on IP networks that dynamically
+configures IP addresses and other information that is needed for Internet
+communication. (From Wikipedia)</para>
+ </section>
+
+ <section>
+ <title>Setting up a DHCP server with drakwizard dhcp</title>
+
+ <para>Welcome to the DHCP server wizard.</para>
+
+ <procedure>
+ <step>
+ <title>简介</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata xml:id="drakwizard_dhcp-im2" revision="1" align="center" format="PNG" fileref="drakwizard-dhcp-step1.png"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>The first page is just an introduction, click <guibutton>Next</guibutton>.</para>
+ </step>
+
+ <step>
+ <title>Selecting Adaptor</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata xml:id="drakwizard_dhcp-im3" revision="1" align="center" format="PNG" fileref="drakwizard-dhcp-step2.png"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>Choose the network interface, which is connected to the subnet, and for
+which DHCP will assign IP addresses, and then click
+<guibutton>Next</guibutton>.</para>
+ </step>
+
+ <step>
+ <title>Select IP range</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata revision="1" align="center" fileref="drakwizard-dhcp-step3.png" format="PNG" xml:id="drakwizard_dhcp-im4"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>Select the beginning and ending IP addresses of the range of IPs you want
+the server to offer, along with the IP of the gateway machine connecting to
+some place outside the local network, hopefully close to the Internet, then
+click <guibutton>Next</guibutton>.</para>
+ </step>
+
+ <step>
+ <title>小结</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="drakwizard-dhcp-step4.png" revision="1" align="center" xml:id="drakwizard_dhcp-im5" format="PNG"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>Take a second to check these options, then click
+<guibutton>Next</guibutton>.</para>
+ </step>
+
+ <step>
+ <title>Hold on...</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="drakwizard-dhcp-step5.png" revision="1" align="center" format="PNG" xml:id="drakwizard_dhcp-im6"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>This can be fixed. Click <guibutton>Previous</guibutton> a few times and
+change things around.</para>
+ </step>
+
+ <step>
+ <title>Hours later...</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata revision="1" fileref="drakwizard-dhcp-step6.png" align="center" format="PNG" xml:id="drakwizard_dhcp-im7"/>
+ </imageobject>
+ </mediaobject>
+ </step>
+ </procedure>
+ </section>
+
+ <section>
+ <title>What is done</title>
+
+ <para><itemizedlist>
+ <listitem>
+ <para>Installing the package dhcp-server if needed;</para>
+ </listitem>
+
+ <listitem>
+ <para>Saving <code>/etc/dhcpd.conf</code> in <code>/etc/dhcpd.conf.orig;</code></para>
+ </listitem>
+
+ <listitem>
+ <para>Creating a new <code>dhcpd.conf</code> starting from
+<code>/usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default</code> and
+adding the new parameters:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para><code>hname</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>dns</code></para>
+ </listitem>
+
+ <listitem>
+ <para>net</para>
+ </listitem>
+
+ <listitem>
+ <para>ip</para>
+ </listitem>
+
+ <listitem>
+ <para><code>mask</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>rng1</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>rng2</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>dname</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>gateway</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>tftpserverip</code></para>
+ </listitem>
+
+ <listitem>
+ <para><code>dhcpd_interface</code></para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
+ <para>Also modifying Webmin configuration file
+<code>/etc/webmin/dhcpd/config</code></para>
+ </listitem>
+
+ <listitem>
+ <para>Restarting <code>dhcpd.</code></para>
+ </listitem>
+ </itemizedlist></para>
+ </section>
+</section> \ No newline at end of file