Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > bb2b3181a15385f4d6701135404d7ec7 > files > 31

drakx-autoinstall-doc-10.0.3-6mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
	<TITLE>Auto Install for Mandrakelinux</TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0  (Linux)">
	<META NAME="AUTHOR" CONTENT="David Eastcott">
	<META NAME="CREATED" CONTENT="20040221;10385500">
	<META NAME="CHANGEDBY" CONTENT="David Eastcott">
	<META NAME="CHANGED" CONTENT="20040502;8530300">
	<META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference">
	<META NAME="KEYWORDS" CONTENT="DrakX Autoinstall">
	<STYLE>
	<!--
		@page { size: 8.5in 11in; margin: 1in }
		P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		P.western { font-size: 10pt; font-weight: medium }
		P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium }
		P.text-body-indent-cjk { margin-left: 0.2in }
		P.text-body-indent-ctl { margin-left: 0.2in }
		H1 { margin-bottom: 0.08in; page-break-before: always }
		H1.western { font-family: "Times" }
		H1.cjk { font-family: "Mincho"; font-size: 16pt }
		H1.ctl { font-family: "Lucidasans"; font-size: 16pt }
		H2 { margin-bottom: 0.08in; page-break-before: auto }
		H2.western { font-family: "Times"; font-style: normal }
		H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic }
		H2.ctl { font-size: 14pt; font-style: italic }
		H3 { margin-bottom: 0.08in; page-break-before: auto }
		H3.western { font-family: "Times" }
		H3.cjk { font-family: "Mincho" }
		H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		H4.western { font-family: "Times"; font-style: normal }
		H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic }
		H4.ctl { font-size: 11pt; font-style: italic }
		TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		TD P.western { font-size: 10pt; font-weight: medium }
		TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		TH P.western { font-size: 10pt; font-style: italic }
		TH P.cjk { font-style: italic }
		TH P.ctl { font-style: italic }
		P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid }
		P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid }
		P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid }
		P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium }
		P.closecode-cjk { margin-left: 1in; margin-bottom: 0in }
		P.closecode-ctl { margin-left: 1in; margin-bottom: 0in }
		P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium }
		P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in }
		P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in }
	-->
	</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR><TH COLSPAN="3" ALIGN="CENTER">
Auto Install for Mandrakelinux</TH></TR><TR>
<TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM">
<A HREF="section4-20.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD>
<TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM">
<A HREF="section4-22.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%">
<H2 CLASS="western" STYLE="page-break-before: always"><A NAME="netc"></A>
netc</H2>
<P CLASS="western" STYLE="margin-bottom: 0.15in">This option contains
values used to configure the network parameters for the target
computer.  The general form is as follows:</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">'netc' =&gt;   {</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western"><BR>
			</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'NETWORKING'
			=&gt; 'yes',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'FORWARD_IPV4'
			=&gt; 'false',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'HOSTNAME'
			=&gt; 'linux-dev.eastcott.net',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'DOMAINNAME'
			=&gt; 'eastcott.net',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'GATEWAY' =&gt;
			'192.168.5.254',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'GATEWAYDEV'
			=&gt; 'eth0',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'dnsServer'
			=&gt; '24.64.8.1',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'dnsServer2'
			=&gt; '24.64.8.2',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'dnsServer3'
			=&gt; undef,</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'NISDOMAIN'
			=&gt; undef,</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'LDAPDOMAIN'
			=&gt; undef,</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">},</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="headings-special-western">Descriptions:</P>
<TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=296>
	<COL WIDTH=552>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'NETWORKING'</FONT></P>
		</TD>
		<TD WIDTH=552>
			<P CLASS="western" STYLE="margin-left: 0in">set to <FONT FACE="Courier, monospace">'yes'</FONT>
			if this machine is network connected, otherwise it is set to <FONT FACE="Courier, monospace">'no'</FONT>
			and remove any other entries .</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'FORWARD_IPV4' </FONT>
			</P>
		</TD>
		<TD WIDTH=552>
			<P CLASS="western" STYLE="margin-left: 0in">set to <FONT FACE="Courier, monospace">'true'</FONT>
			if IP forwarding between interfaces is required, otherwise it
			should be set to <FONT FACE="Courier, monospace">'false'</FONT>.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'HOSTNAME'</FONT></P>
		</TD>
		<TD WIDTH=552>
			<P CLASS="western" STYLE="margin-left: 0in">fully qualified host
			name for the target computer.  This is not required if supplied
			via a DHCP server.  See <A HREF="section4-13.html#intf"><B><I>'intf'</I></B></A>
			<FONT FACE="Courier, monospace">DHCP_HOSTNAME </FONT>and
			<FONT FACE="Courier, monospace">NEEDHOSTNAME</FONT>.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'DOMAINNAME'</FONT></P>
		</TD>
		<TD WIDTH=552>
			<P CLASS="western" STYLE="margin-left: 0in">domain name for the
			target computer. This is not required if supplied via a DHCP
			server. 
			</P>
		</TD>
	</TR>
</TABLE>
<TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=61>
	<COL WIDTH=786>
	<TR VALIGN=TOP>
		<TD WIDTH=61>
			<P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic28" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR>
			</P>
		</TD>
		<TD WIDTH=786>
			<P CLASS="western">Since this variable is <B>NOT</B> placed in the
			<FONT FACE="Courier, monospace">/etc/sysconfig/network</FONT>
			file, there are a few things you should be aware of:</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=61 HEIGHT=30>
			<P CLASS="western" STYLE="margin-left: 0in"><BR>
			</P>
		</TD>
		<TD WIDTH=786>
			<P CLASS="western" STYLE="margin-left: 0.8in">if your interfaces
			are set for static addresses, then the <FONT FACE="Courier, monospace">domainname</FONT>
			command returns a NULL value.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=61 HEIGHT=83>
			<P CLASS="western" STYLE="margin-left: 0in"><BR>
			</P>
		</TD>
		<TD WIDTH=786>
			<P CLASS="western" STYLE="margin-left: 0.8in">if you have an
			internal static network or your internal network has a unique
			(personal domain name) and you are using DHCP on one or more
			interfaces, the DHCP client will set the domain name to the value
			it receives from the DHCP server.</P>
		</TD>
	</TR>
</TABLE>
<TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=296>
	<COL WIDTH=551>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'GATEWAY'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">IP address for the
			machine that processes all non-local IP messages. This is not
			required if supplied via a DHCP server.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'GATEWAYDEV'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">device name for the
			interface that is to be used to access the gateway machine. This
			is not required if supplied via a DHCP server.  eg. <FONT FACE="Courier, monospace">'eth0'</FONT></P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'dnsServer'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">IP addresses for DNS
			server, up to three may be specified.  This is not required if
			supplied via a DHCP server.  See <A HREF="section4-13.html#intf"><B><I>'intf'
			</I></B></A><FONT FACE="Courier, monospace">PEERDNS</FONT>.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'dnsServer2'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">if available, then the
			second DNS server's IP address. This is not required if supplied
			via a DHCP server.  See <A HREF="section4-13.html#intf"><B><I>'intf' </I></B></A><FONT FACE="Courier, monospace">PEERDNS</FONT>.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'dnsServer3'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">if available, then the
			third DNS server's IP address. This is not required if supplied
			via a DHCP server.  See <A HREF="section4-13.html#intf"><B><I>'intf' </I></B></A><FONT FACE="Courier, monospace">PEERDNS</FONT>.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><FONT FACE="Courier, monospace">'NISDOMAIN' </FONT>
			</P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">if NIS <A HREF="section4-2.html#authentication"><B><I>authentication</I></B></A>
			is used, then this contains the NIS domain name, otherwise it is
			not required.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'LDAPDOMAIN'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">if LDAP <A HREF="section4-2.html#authentication"><B><I>authentication</I></B></A>
			is being used, then this contains the Base Distinguished Name,
			otherwise it is not required.  eg. <FONT FACE="Courier, monospace">'LDAPDOMAIN'
			=&gt; 'dc=eastcott,dc=net'</FONT></P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'WINDOMAIN'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">if Windows PDC
			<A HREF="section4-2.html#authentication"><B><I>authentication</I></B></A> is
			being used, then this contains the Windows Domain Name, otherwise
			it is not required.  <BR>eg. <FONT FACE="Courier, monospace">'WINDOMAIN'
			=&gt; 'EASTCOTT'</FONT></P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'DHCP' =&gt; 1,</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">use if one or more
			interfaces have <FONT FACE="Courier, monospace">'BOOTPROTO' =&gt;
			'dhcp' </FONT>and you want the default dhcp client installed and
			used.  The ISC <FONT FACE="Courier, monospace">dhcp-client</FONT>
			package is the current default.  
			</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=101>
			<P CLASS="western"><FONT FACE="Courier, monospace">'dhcp_client' </FONT>
			</P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">use if you want to
			select a specific dhcp client to be installed and used, then set
			it to one of:   <FONT FACE="Courier, monospace">'dhcp-client'</FONT>,
			<FONT FACE="Courier, monospace">'dhcpcd'</FONT>, <FONT FACE="Courier, monospace">'dhcpxd'</FONT>
			or <FONT FACE="Courier, monospace">'pump'</FONT>.  If this
			parameter is not specified, then the <FONT FACE="Courier, monospace">dhcp-client</FONT>
			package is installed by default.  If more than one dhcp client
			package is installed, you should add <FONT FACE="Courier, monospace">DHCP_CLIENT=&lt;your
			client&gt;</FONT> to the associated <FONT FACE="Courier, monospace">ifcfg-ethx</FONT>
			file.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=48>
			<P CLASS="western"><BR>
			</P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">You might want to
			seriously consider installing the package <FONT FACE="Courier, monospace">zcip</FONT>
			when using a dhcp client. 
			</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=296 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'ZEROCONF_HOSTNAME'</FONT></P>
		</TD>
		<TD WIDTH=551>
			<P CLASS="western" STYLE="margin-left: 0in">use if your computer
			is used in a standalone environment and you are not normally
			connected to a network or the internet.  It specifies the <FONT FACE="Courier, monospace">hostname</FONT>
			that the package <FONT FACE="Courier, monospace">tmdns</FONT> will
			manage.</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="headings-special-western">Examples:</P>
<P CLASS="western">See the section <A HREF="section10.html#Network_and_Connection_Examples"><B><I>Network
and Connection Examples</I></B></A> for various examples.</P>
<P CLASS="western">There are a number of things that you can change
to control or fix the operation of your computer (especially if you
are using DHCP), some are referenced in <A HREF="section4-13.html#intf"><B><I>'intf'</I></B></A>
and other's you will have to locate by examining the network control
scripts in <FONT FACE="Courier, monospace">/etc/sysconfig/network-scripts</FONT>.
   These fine adjustments need to be done either manually or by using
the <A HREF="section4-25.html#postInstall_and_postInstallNonRooted"><B><I>'postinstall'</I></B></A>
option.  eg.</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western" STYLE="margin-left: 1.2in">'postInstall'
			=&gt; '</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western"># fix so that the dhcp client does
			NOT update the domain name</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western"># received fromt the DHCP server.</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western">echo &quot;DOMAINNAME=eastcott.net&quot;
			&gt;&gt; /etc/sysconfig/network</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western">'</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="headings-special-western">Related Option Entries:</P>
<P CLASS="western"><A HREF="section4-13.html#intf"><B><I>intf</I></B></A>,
<A HREF="section4-2.html#authentication"><B><I>authentication</I></B></A>,
<A HREF="section4-25.html#postInstall_and_postInstallNonRooted"><B><I>postInstall</I></B></A></P>
<P CLASS="western"><BR><BR>
</P>
<P CLASS="western"><BR><BR>
</P>
<HR ALIGN="LEFT" WIDTH="100%">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section4-20.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD>
<TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section4-22.html">Next</A></TD></TR>
<TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">mouse</TD>
<TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP">&nbsp;</TD>
<TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">nomouseprobe</TD></TR></TABLE>
</BODY>
</HTML>