"PPP over Ethernet" missing from 2.6.28 kernel options
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"PPP over Ethernet" missing from 2.6.28 kernel options
I'm trying to get my ADSL modem set up on my Gentoo (Linux 2.6.28-r5) box, using PPP over Ethernet. This is obviously a run of the mill thing to do these days, but I'm having trouble nonetheless.
Having read through tutorials by many authors on how to do this, I'm aware that the 'ppp' package needs to be installed, and that it relies on the enabling of some kernel options to function. Those options are:
Code:
Device Drivers --->
Network Device Support --->
PPP (point-to-point protocol) support
[ ] PPP filtering
[ ] PPP support for async serial ports
[ ] PPP support for sync tty ports
[ ] PPP Deflate compression
[ ] PPP BSD-Compress compression
[ ] PPP over Ethernet
I'm using menuconfig to select my kernel options and my problem is that all of the above options are available, except 'PPP over Ethernet'. It simply does not appear in the list! Further, the 'CONFIG_PPPOE=' line in the kernel .config file also does not exist, commented out or otherwise.
I'm trying to get my ADSL modem set up on my Gentoo (Linux 2.6.28-r5) box, using PPP over Ethernet. This is obviously a run of the mill thing to do these days, but I'm having trouble nonetheless.
Are you sure that you need to do this? ADSL modems today usually do this internally and present you with a normal TCP/IP protocol Ethernet port. The modem should have your user account and password for your ISP and automatically set up the connection when it is turned on. Would you have to do this if you were using Windows? I doubt it. If yes then your ISP is using very old equipment.
Last edited by stress_junkie; 11-16-2010 at 10:02 PM.
Hi jimpaka, Welcome to LQ. Could you please post the output from the following:
Code:
$ cat /boot/config | grep PPP
Good luck. ;-)
Thank you
Such a file does not exist, but I'm going to assume that you're referring to a file I have at the location "/usr/src/linux/.config", in which case here is the output:
Are you sure that you need to do this? ADSL modems today usually do this internally and present you with a normal TCP/IP protocol Ethernet port. The modem should have your user account and password for your ISP and automatically set up the connection when it is turned on. Would you have to do this if you were using Windows? I doubt it. If yes then your ISP is using very old equipment.
You're right, the modem is sophisticated enough to function without me having to do this. It has its own firewall, DHCP server, etc. and thus my linux box can be completely dumb, receiving a private IP from the modem and connecting to the internet. However, I want to put the modem into bridging mode so that IT becomes the dumb device, and my linux box receives the public IP and handles gateway duties. In order to do this, I need PPPoE to talk to the modem.
Is there a "pppoe" kernel module? AFAIK, PPPoE on linux could be handled with user-space apps, like rp-pppoe
EDIT: just out of curiosity I ran a grep on my slack and debian kernel .config files, and *there is* a CONFIG_PPPOE option. D'oh
From what I've read, rp-pppoe was what people used before its features were included into the standard ppp library. Don't quote me on this though. What kernel version are you running HasC?
Is there a "pppoe" kernel module? AFAIK, PPPoE on linux could be handled with user-space apps, like rp-pppoe
EDIT: just out of curiosity I ran a grep on my slack and debian kernel .config files, and *there is* a CONFIG_PPPOE option. D'oh
From what I've read, rp-pppoe was what people used before its features were included into the standard ppp library. Don't quote me on this though. What kernel version are you running HasC?
fwiw - how did you obtain/build the 2.6.28-rc5 kernel? eg. did you emerge it like regular gentoo kernels or is it a vanilla? (it may help others)
It looks like one of the many unnamed tutorials and howtos you followed has removed or failed to add the PPPoE option (probably other options are also missing). GO emerge a new, different version, gentoo kernel and see how far you get. Let us know how you got on.
Looks like I'll have to revert to what was my last resort - upgrading and thus reconfiguring the kernel. No worries, just wanted to see if anyone had any other ideas before this one. I'll get on that task after Thankstaking and report my progress.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.