|
このページは大阪弁化フィルタによって翻訳生成されたんですわ。 |
|
TUCOWS NETWORK |
LINUXBERG | TUCOWS | FREETHEMES | GAMINGPLACE | eBarn | PDA Central | HOME |
|
|
|
H
HOWTO
's (HOWTOs in html) plain text (HOWTOs in plain text for printing) html'd (Mini-HOWTOs) plain text (Mini-HOWTOs) LDP Additions (Latest from LDP) Other Formats (LDP Other Formats) Translations (LDP Other Languages) Unmaintained (LDP Unmaintained)
Contrib
|
7. Configuring your Linux KernelIn order to use PPP, your Linux kernel must be compiled to include PPP
support. Obtain the Linux source code for your kernel if you do not
already have this - it belongs in Check out this directory - many Linux distributions install the source tree (the files and subdirectories) as part of their installation process. At bootup, your Linux kernel prints out a great deal of information.
Amongst this is information about PPP support if the kernel includes
this. To view this information, look at your syslog file or use
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc. PPP line discipline registered. (this is for the Linux 2.0.x kernel series). Linux kernel sources can be obtained by ftp from 7.1 Installing the Linux Kernel sourceThe following are brief instructions for obtaining and installing the Linux kernel sources. Full information can be obtained from The Linux Kernel HOWTO. In order to install and compile the Linux kernel, you need to be logged in as root.
7.2 Knowing your hardwareYou MUST know what cards/devices you have inside your PC if you are going to recompile your kernel!!! For some devices (such as sound cards) you will also need to know various settings (such as IRQ's, I/O addresses and such). 7.3 Kernel compilation - the Linux 1.2.13 kernelTo start the configuration process, follow the instructions in the README file to properly install the sources. You start the kernel configuration process with
In order to use PPP, you must configure the kernel to include PPP support (PPP requires BOTH pppd AND kernel support for PPP).
PPP (point-to-point) support (CONFIG_PPP) [n] y Answer the other make config questions according to the hardware in your PC and the features of the Linux operating system you want. Then continue to follow the README to compile and install your new kernel. The 1.2.13 kernel creates only 4 PPP devices. For multi- port serial cards, you will need to edit the kernel PPP sources to obtain more ports. (See the README.linux file that comes as part of the PPP-2.1.2 distribution for full details of the simple edits you need to make). Note: the 1.2.13 configuration dialogue does NOT allow you to go
backwards - so if you make a mistake in answering one of the questions
in the 7.4 Kernel compilation - the Linux 1.3.x and 2.0.x kernelsFor Linux 1.3.x and 2.0.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
However, you also have the choice of
This provides a menu based configuration system with online help that allows you to move backwards and forwards in the configuration process. There is also a highly recommended X windows based configuration interface
You can compile PPP support directly into your kernel or as a loadable module. 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. To do this, you need to enable loadable module support:-
Enable loadable module support (CONFIG_MODULES) [Y/n/?] y
To add PPP kernel support, answer the following question:-
PPP (point-to-point) support (CONFIG_PPP) [M/n/y/?]
For a PPP loadable module, answer M, otherwise for PPP compiled in as part of the kernel, answer Y. 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. 7.5 Note on PPP-2.2 and
|
_________________________________
Last Edited: Thursday, January 21, 1999 03:11 PM
Maintainer: Rob Kennedy (rob@linuxberg.com)
Site Design - Graphicjam Digital
Arts Inc. 1999.
ョ 1999 TUCOWS Interactive Ltd. All rights
reserved