You are not logged in.

#1 2011-09-20 19:20:31

nesk
Member
Registered: 2011-03-31
Posts: 181

[Solved] PPPoL2TP in 3.0-ARCH kernel

Hello,
Having problem connecting to server by L2TP using openl2tp from AUR, gives error:

unable to open pppox socket: protocol not supported

It says on opel2tp page that pppol2tp module has been integrated in kernel since 2.6.23

$zcat /proc/config.gz |grep -i ppp
CONFIG_PPPOL2TP=m

There's no pppol2tp module in  /lib/modules/3.0-ARCH/kernel/drivers/net/, hence:
$modprobe pppol2tp
FATAL: module not found

Questions:
Is pppol2tp included in 3.0-ARCH kernel (looks like it's not)?
If not - do I need to compile kernel with this option CONFIG_PPPOL2TP=y?

Last edited by nesk (2011-11-22 17:05:40)

Offline

#2 2011-11-21 23:06:17

voidzero
Member
Registered: 2007-06-21
Posts: 109

Re: [Solved] PPPoL2TP in 3.0-ARCH kernel

I just can't stand open endings on forums and Q&A sections and this is an easy one to solve... so it's too bad that this question hasn't been answered yet. Even though you (OP) might have found an answer already.

I'd suggest to use a more generic search term, let's take l2tp. If you use zsh (a shell that offers almost everything), try this:

ls -1 /lib/modules/$(uname -r)/**/*l2tp*(.)

Or, you can use 'find':

find /lib/modules/$(uname -r) -name "*l2tp*" -type f

Both will yield something similar to this:

/lib/modules/3.0-ARCH/kernel/net/l2tp/l2tp_core.ko.gz
/lib/modules/3.0-ARCH/kernel/net/l2tp/l2tp_eth.ko.gz
/lib/modules/3.0-ARCH/kernel/net/l2tp/l2tp_ip.ko.gz
/lib/modules/3.0-ARCH/kernel/net/l2tp/l2tp_netlink.ko.gz
/lib/modules/3.0-ARCH/kernel/net/l2tp/l2tp_ppp.ko.gz

So there you go, I hope these are the modules you searched for.

Offline

#3 2011-11-22 15:55:22

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [Solved] PPPoL2TP in 3.0-ARCH kernel

Thanks for the tips.
But, it is mentioned explicitly on openl2tp homepage that module should be pppol2tp. My output is identical to yours, it seems this module is disabled in Arch build.
I'll keep digging. If anyone had success with setting up openl2tp - advice is most welcome here.

Offline

#4 2011-11-22 16:26:49

voidzero
Member
Registered: 2007-06-21
Posts: 109

Re: [Solved] PPPoL2TP in 3.0-ARCH kernel

nesk wrote:

Thanks for the tips.
But, it is mentioned explicitly on openl2tp homepage that module should be pppol2tp. My output is identical to yours, it seems this module is disabled in Arch build.
I'll keep digging. If anyone had success with setting up openl2tp - advice is most welcome here.

That's outdated. See http://forums.openl2tp.org/viewtopic.php?f=4&t=29:

In short:

The main change affecting users of the old pppol2tp driver is the splitting of that driver to separate the L2TP and PPP parts. If the driver was loaded with

modprobe pppol2tp

it should now be loaded with

modprobe l2tp_ppp

Offline

#5 2011-11-22 17:05:01

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [Solved] PPPoL2TP in 3.0-ARCH kernel

Now it works, thanks.
*going to write a letter to webpage manuals maintainers*

Offline

#6 2011-11-22 18:26:51

voidzero
Member
Registered: 2007-06-21
Posts: 109

Re: [Solved] PPPoL2TP in 3.0-ARCH kernel

Nice. You're welcome. :-)

Offline

Board footer

Powered by FluxBB