LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-15-2010, 02:16 AM   #1
jimpaka
LQ Newbie
 
Registered: Nov 2010
Location: Seattle, USA
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
"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.

How can this be? What am I missing here?
 
Old 11-16-2010, 08:35 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi jimpaka, Welcome to LQ. Could you please post the output from the following:

Code:
$ cat /boot/config | grep PPP
Good luck. ;-)
 
Old 11-16-2010, 09:47 PM   #3
taraknathsinha
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
I m problem with my pc whenever i install RHEL5 some error occured Device OR Hardware not found in Partition So how to troubleshoot this issue.
 
Old 11-16-2010, 09:59 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by jimpaka View Post
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.
 
Old 11-16-2010, 11:34 PM   #5
jimpaka
LQ Newbie
 
Registered: Nov 2010
Location: Seattle, USA
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Peacedog View Post
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:

Code:
# cat ./.config | grep PPP
CONFIG_PPP=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y

Quote:
Originally Posted by stress_junkie View Post
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.
 
Old 11-17-2010, 06:47 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
What does the following return?

Code:
# modprobe pppoe
# lsmod | grep ppp
Good luck. ;-)
 
Old 11-17-2010, 07:07 PM   #7
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
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

Last edited by HasC; 11-17-2010 at 07:10 PM.
 
Old 11-17-2010, 08:05 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by HasC View Post
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
I also have the option, but my kernel is 2.6.29.6 not 2.6.28.

Good luck. ;-)
 
Old 11-18-2010, 01:05 AM   #9
jimpaka
LQ Newbie
 
Registered: Nov 2010
Location: Seattle, USA
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Peacedog View Post
What does the following return?

Code:
# modprobe pppoe
# lsmod | grep ppp
Good luck. ;-)
Results don't look promising:

Code:
# modprobe pppoe
FATAL: Module pppoe not found.
# lsmod | grep ppp
#


Quote:
Originally Posted by HasC View Post
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?
 
Old 11-18-2010, 01:49 AM   #10
jimpaka
LQ Newbie
 
Registered: Nov 2010
Location: Seattle, USA
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Peacedog View Post
What does the following return?

Code:
# modprobe pppoe
# lsmod | grep ppp
Good luck. ;-)
Results don't look promising:

Code:
# modprobe pppoe
FATAL: Module pppoe not found.
# lsmod | grep ppp
#


Quote:
Originally Posted by HasC View Post
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?
 
Old 11-21-2010, 05:32 PM   #11
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
It appears a kernel upgrade or possibly module build are in order.

Good luck. ;-)
 
Old 11-21-2010, 06:36 PM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 11-23-2010, 08:54 AM   #13
jimpaka
LQ Newbie
 
Registered: Nov 2010
Location: Seattle, USA
Distribution: Gentoo
Posts: 5

Original Poster
Rep: Reputation: 0
@Simon: I emerged gentoo-sources as usual mate.

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.

Thanks everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 03:18 PM
no version for "function x" found: kernel tainted Options nayankumarp Linux - General 3 05-09-2008 06:04 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"Couldn't set pass-filter in kernel" ppp deamon error GoofyX Linux - Networking 0 02-13-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration