<HTML ><HEAD ><TITLE >Kernel compilation - the Linux 1.3.x, 2.0.x, and 2.2.x kernels</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="Linux PPP HOWTO" HREF="index.html"><LINK REL="UP" TITLE="Configuring your Linux Kernel" HREF="kernel-configuration.html"><LINK REL="PREVIOUS" TITLE="Kernel compilation - the Linux 1.2.13 kernel" HREF="x644.html"><LINK REL="NEXT" TITLE="Note on PPP-2.x and /proc/net/dev" HREF="x676.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" ><A HREF="http://www.linuxports.com/howto/ppp" TARGET="_top" >Linux PPP HOWTO</A ></TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x644.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 10. Configuring your Linux Kernel</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x676.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN656">10.4. Kernel compilation - the Linux 1.3.x, 2.0.x, and 2.2.x kernels</H1 ><P >For Linux 1.3.x, 2.0.x, and 2.2.x you can use a similar process as for Linux 1.2.13. Again, follow the instructions in the README file to properly install the sources. You start the kernel configuration process with...</P ><P > <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" >make config</PRE ></FONT ></TD ></TR ></TABLE > </P ><P >However, you also have the choice of... <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" >make menuconfig</PRE ></FONT ></TD ></TR ></TABLE > </P ><P >This provides a menu based configuration system with online help that allows you to move backwards and forwards in the configuration process.</P ><P >There is also a highly recommended X windows based configuration interface... <TABLE BORDER="1" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="SCREEN" >make xconfig</PRE ></FONT ></TD ></TR ></TABLE > </P ><P >You can compile PPP support directly into your kernel or as a loadable module.</P ><P >If you only use PPP some of the time that your Linux machine is operating, then compiling PPP support as a loadable module is recommended. Using 'kerneld', your kernel will automatically load the module(s) required to provide PPP support when you start your PPP link process. This saves valuable memory space: no part of the kernel can be swapped out of memory, but loadable modules are automatically removed if they are not in use.</P ><P >To do this, you need to enable loadable module support:- <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" > Enable loadable module support (CONFIG_MODULES) [Y/n/?] y</PRE ></FONT ></TD ></TR ></TABLE > </P ><P >To add PPP kernel support, answer the following question:- <TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" > PPP (point-to-point) support (CONFIG_PPP) [M/n/y/?] </PRE ></FONT ></TD ></TR ></TABLE > </P ><P >For a PPP loadable module, answer <EM >M</EM >, otherwise for PPP compiled in as part of the kernel, answer <EM >Y</EM >.</P ><P >Unlike kernel 1.2.13, kernel 2.0.x creates PPP devices on the fly as needed and it is not necessary to hack the sources to increase available PPP device numbers at all.</P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x644.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x676.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Kernel compilation - the Linux 1.2.13 kernel</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="kernel-configuration.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Note on PPP-2.x and <TT CLASS="LITERAL" >/proc/net/dev</TT ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >