<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ées les options nécessaires pour cette configuration (en Majuscule), les autres options réseau telles que <EM>firewall logging</EM> ou <EM>transparent proxying</EM> peuvent ê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ère option dépend bien sur de la carte réseau utilisé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> à la bonne place pour l'initialisation. Les modules sont installés dans <CODE>/lib/modules/x.x.x</CODE>, avec <CODE>x.x.x</CODE> correspondant à la version du noyau utilisé.</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écédent</A> <P> Table des matières de <A HREF="Dial-On-Demand.html#toc3">ce chapitre</A>, <A HREF="Dial-On-Demand.html#toc">Table des matières</A> générale</P> <P> <A HREF="Dial-On-Demand.html">Début</A> du document, <A HREF="#0"> Début de ce chapitre</A></P> </BODY> </HTML>