Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > by-pkgid > 0d5cd12c82d627a82c59047e1ba7b8a9 > files > 1682

howto-html-fr-9.0-0.2mdk.noarch.rpm

<HTML>
<HEAD>
<TITLE>Configuration du Noyau</TITLE>
</HEAD>
<BODY>
<H1>3. <A NAME="s3"></A>Configuration du Noyau</H1>
<P>
<A HREF="Dial-On-Demand.html#toc3">Contenu de cette section</A></P>

<P>Avant tout, il faut compiler un noyau avec <EM>kerneld</EM>, <EM>PPP</EM> et
<EM>IP-masquerade</EM>. Ci-dessous sont indiqu&eacute;es les options n&eacute;cessaires
pour cette configuration (en Majuscule), les autres options r&eacute;seau
telles que <EM>firewall logging</EM> ou <EM>transparent proxying</EM> peuvent
&ecirc;tre choisies mais ne sont pas obligatoires.</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
cd /usr/src/linux
make config 
</PRE>
</CODE></BLOCKQUOTE>

ou
<BLOCKQUOTE><CODE>
<PRE>
make menuconfig
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>
<HR>
<PRE>
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (CONFIG_EXPERIMENTAL) [Y/n/?]
*
* Loadable module support
*
Enable loadable module support (CONFIG_MODULES) [Y/n/?]
Set version information on all symbols for modules (CONFIG_MODVERSIONS) [N/y/?]
Kernel daemon support (e.g. autoload of modules) (CONFIG_KERNELD) [Y/n/?]
*
Networking support (CONFIG_NET) [Y/n/?]
*
* Networking options
*
Network firewalls (CONFIG_FIREWALL) [Y/n/?]
TCP/IP networking (CONFIG_INET) [Y/n/?]
IP: forwarding/gatewaying (CONFIG_IP_FORWARD) [Y/n/?]
IP: firewalling (CONFIG_IP_FIREWALL) [Y/n/?]
IP: masquerading (EXPERIMENTAL) (CONFIG_IP_MASQUERADE) [Y/n/?]
*
* Protocol-specific masquerading support will be built as modules.
*
IP: always defragment (CONFIG_IP_ALWAYS_DEFRAG) [Y/n/?]
IP: optimize as router not host (CONFIG_IP_ROUTER) [Y/n/?]
*
* Network device support
*
Network device support (CONFIG_NETDEVICES) [Y/n/?]
*
PPP (point-to-point) support (CONFIG_PPP) [M/n/y/?]
*
* CCP compressors for PPP are only built as modules.
*
Ethernet (10 or 100Mbit) (CONFIG_NET_ETHERNET) [Y/n/?]
NE2000/NE1000 support (CONFIG_NE2000) [Y/m/n/?]
</PRE>
<HR>
</P>
<P>Cette derni&egrave;re option d&eacute;pend bien sur de la carte r&eacute;seau utilis&eacute;e.</P>
<P></P>
<P>Compilez le noyau avec :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
make zlilo
make modules
make modules_install
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P></P>
<P>Si vous n'utilisez pas LILO, copiez
<CODE>/usr/src/linux/arch/i386/boot/zImage</CODE> &agrave; la bonne place pour
l'initialisation. Les modules sont install&eacute;s dans
<CODE>/lib/modules/x.x.x</CODE>, avec <CODE>x.x.x</CODE> correspondant &agrave; la version
du noyau utilis&eacute;.</P>
<P></P>
<P></P>
<P></P>
<HR>
<P>
Chapitre <A HREF="Dial-On-Demand-4.html">suivant</A>,
Chapitre <A HREF="Dial-On-Demand-2.html">Pr&eacute;c&eacute;dent</A>
<P>
Table des mati&egrave;res de <A HREF="Dial-On-Demand.html#toc3">ce chapitre</A>,
 <A HREF="Dial-On-Demand.html#toc">Table des mati&egrave;res</A> g&eacute;n&eacute;rale</P>
<P>
<A HREF="Dial-On-Demand.html">D&eacute;but</A> du document,
 <A HREF="#0"> D&eacute;but de ce chapitre</A></P>
</BODY>
</HTML>