old-www/HOWTO/PLIP-3.html

120 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>LINUX PLIP MINI-HOWTO: Reconfigure the kernel.</TITLE>
<LINK HREF="PLIP-4.html" REL=next>
<LINK HREF="PLIP-2.html" REL=previous>
<LINK HREF="PLIP.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="PLIP-4.html">Next</A>
<A HREF="PLIP-2.html">Previous</A>
<A HREF="PLIP.html#toc3">Contents</A>
<HR>
<H2><A NAME="s3">3. Reconfigure the kernel.</A></H2>
<P>You're supposed to already know how to configure and compile the kernel,
otherwise you must get some doc (kernel-howto or other guides). Thanks to
the cool work made by the kernel guys, recompiling the last kernels is a
really easy jobs also for "common" people, so just do it. Anyway, for the
sake of completeness, here is a quick summary of what you must do:
<P><B>NOTE</B>: I suppose you are using the 2.0.xx kernel series. Now there is
no need to keep the 1.2.xx kernels. There are no istructions about the
2.1.xx kernel series, since they are for development.
<P>I will suppose that you use menuconfig to set up the kernel options, but
the other tools are equivalent. I'll show how to do it with menuconfig:
<P>
<BLOCKQUOTE><CODE>
<PRE>
#make menuconfig
</PRE>
</CODE></BLOCKQUOTE>
<P>I strongly advice to select
<P>
<BLOCKQUOTE><CODE>
<PRE>
Loadable module support --->
</PRE>
</CODE></BLOCKQUOTE>
<P>and enable the
<P>
<BLOCKQUOTE><CODE>
<PRE>
[*] Enable loadable module support
</PRE>
</CODE></BLOCKQUOTE>
<P>and, if possible (i.e. you have modules.2.0.0) the
<P>
<BLOCKQUOTE><CODE>
<PRE>
[*] Kernel daemon support (e.g. autoload of modules)
</PRE>
</CODE></BLOCKQUOTE>
<P>Then go back and choose
<P>
<BLOCKQUOTE><CODE>
<PRE>
Networking options --->
</PRE>
</CODE></BLOCKQUOTE>
<P>where you should choose at least
<P>
<BLOCKQUOTE><CODE>
<PRE>
[*] Network firewalls
[*] TCP/IP networking
[*] IP: forwarding/gatewaying
</PRE>
</CODE></BLOCKQUOTE>
<P>The go back and choose at least
<P>
<BLOCKQUOTE><CODE>
<PRE>
[*] Network device support
&lt;M> PLIP (parallel port) support
</PRE>
</CODE></BLOCKQUOTE>
<P>If you use modules I definitely advice you to set up PLIP as a module. If
you do so you can also, if you need to use a printer, go to
<P>
<BLOCKQUOTE><CODE>
<PRE>
Character devices --->
</PRE>
</CODE></BLOCKQUOTE>
<P>and set up as a module the
<P>
<BLOCKQUOTE><CODE>
<PRE>
&lt;M> Parallel printer support
</PRE>
</CODE></BLOCKQUOTE>
<P>Now you have enabled the kernel support for PLIP. If it's the first time
that you compile the kernel look at all the other options then save and
exit.
<P>Finally compile with
<P>
<BLOCKQUOTE><CODE>
<PRE>
#make dep ; make clean
#make zlilo
</PRE>
</CODE></BLOCKQUOTE>
<P>And, if you use modules
<P>
<BLOCKQUOTE><CODE>
<PRE>
# make modules
# make modules_install
</PRE>
</CODE></BLOCKQUOTE>
<P>Now reboot your system.
<P>
<HR>
<A HREF="PLIP-4.html">Next</A>
<A HREF="PLIP-2.html">Previous</A>
<A HREF="PLIP.html#toc3">Contents</A>
</BODY>
</HTML>