LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which command tells whether the kernel has the PPP support compiled in or not? (https://www.linuxquestions.org/questions/linux-newbie-8/which-command-tells-whether-the-kernel-has-the-ppp-support-compiled-in-or-not-4175446287/)

pls_help_URGENT 01-19-2013 01:12 AM

Which command tells whether the kernel has the PPP support compiled in or not?
 
http://www.tldp.org/HOWTO/PPP-HOWTO/x474.html
Quote:

Most distributions seem to provide PPP kernel support in their default installation kernels, but others do not.
Which command tells whether the kernel has the PPP support compiled in or not?
I have installed PPP software now.

2.6.37.1-1.2-desktop
openSUSE 11.4 64 bit.

rosehosting.com 01-19-2013 02:10 AM

Quote:

Originally Posted by pls_help_URGENT (Post 4873325)
http://www.tldp.org/HOWTO/PPP-HOWTO/x474.html


Which command tells whether the kernel has the PPP support compiled in or not?
I have installed PPP software now.

2.6.37.1-1.2-desktop
openSUSE 11.4 64 bit.

check for 'CONFIG_PPP_MPPE' in your kernel configuration. in my case:

Code:

# zgrep -i CONFIG_PPP_MPPE /proc/config.gz
CONFIG_PPP_MPPE=y


pls_help_URGENT 01-19-2013 02:32 AM

Quote:

Originally Posted by rosehosting.com (Post 4873338)
check for 'CONFIG_PPP_MPPE' in your kernel configuration. in my case:

Code:

# zgrep -i CONFIG_PPP_MPPE /proc/config.gz
CONFIG_PPP_MPPE=y


Thanks for responding.
Mine says:

Code:

# zgrep -i CONFIG_PPP_MPPE /proc/config.gz                                                                     
CONFIG_PPP_MPPE=m 

What to do?

pls_help_URGENT 01-21-2013 02:05 AM

Quote:

Originally Posted by rosehosting.com (Post 4873338)
check for 'CONFIG_PPP_MPPE' in your kernel configuration. in my case:

Code:

# zgrep -i CONFIG_PPP_MPPE /proc/config.gz
CONFIG_PPP_MPPE=y


Fixed this by doing make menuconfig, and then searching for CONFIG_PPP_MPPE and enabling it. Have recompiled the kernel and now the command on my system says:

Code:

zgrep -i CONFIG_PPP_MPPE /proc/config.gz 
CONFIG_PPP_MPPE=y


jpollard 01-21-2013 12:26 PM

A better question, is why do you need it built in?

Use of modules is much easier, and a lot of benefit in the general case - no wireless, no need to have it. It also allows the module to be replaced if necessary without having to rebuild everything.

At most, you might need it added to an initrd (along with any needed loading rules), but otherwise having it as a module works just as well as builtin.

The only time I can think of is for some embedded use where there is no initrd...


All times are GMT -5. The time now is 06:40 PM.