OpenWrt Forum Archive

Topic: no mppe with BCM947xx/953xx [2.4]?

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

I just want to ask, if it is possible to compile ppp with mppe support with 2.4 kernels?
I would need it for pptpd, but even if I select it, the kmod-mppe package doesn't compile (as module or built in)

With 2.6 kernel it compiles, but the brcm 2.6 target doesn't work for me!

It compiles clean, but mppe is just not there!

sorry if this was asked before, but I didn't found it in the search.

Search for "ppp_mppe_mppc.o" in the trunk/ tree.
It should be at ./build_mipsel/linux-2.4-brcm/modules/lib/modules/<kernel-version>/kernel/drivers/net/ppp_mppe_mppc.o

Copy it to /lib/modules/<kernel-version>/ on the router, insert it into some /etc/modules.d/.... file, and insmod it manually to test.

If you don't find it (it's not built), you can manally change the kernel config to build it as a module, and recompile.

cd build_mipsel/linux
make ARCH=mips menuconfig
rm .image .modules
cd ../..
make

Sometimes it's a good idea to share your buildroot on a web-server, so you can download everything you need on the router with wget ;-)

You will need the following modules too:
sha1
arc4

Thanks, it works now (at least, the connecttion establishes)

I thought the modules get copied into the squashfs image directly while compiling buildroot-ng! tongue

The discussion might have continued from here.