OpenWrt Forum Archive

Topic: pptpd with mppe support for broadcom 2.4

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

Hi
I couldn't find package to include mppe module for pptpd in kamikaze 7.06 on linksys wrt54gl.
I also tried to install package kmod-mppe from whiterussian and loaded module manually but still getting same message
Well I think it's straight forward that I'd needed MPPE and also ARC4 module?? what package is that, I couldn't find it either.

I also tried to download source and compile it but, got an error + don't really want to be testing too much so I don't brick my router.
any help appreciated.

lsmod shows:
ppp_mppe_mppc          13412  0 (unused)
wlcompat               15520  0 (unused)
ip_conntrack_tftp       1712  0 (unused)
ip_nat_irc              2336  0 (unused)
ip_conntrack_irc        3128  1
ip_nat_ftp              2960  0 (unused)
ip_conntrack_ftp        4272  1
tun                     4504  3
ppp_async               7884  0
ppp_generic            22300  0 [ppp_mppe_mppc ppp_async]
slhc                    6064  0 [ppp_generic]
wl                    630776  0 (unused)
switch-robo             4540  0 (unused)
switch-core             4864  0 [switch-robo]
diag                   22960  0 (unused)
---------------------------------------------------------

---some log output
Jun  7 12:24:46 vhr daemon.notice pppd[1963]: Connect: ppp0 <--> /dev/pts/0
Jun  7 12:24:49 vhr user.err kernel: mppe_decomp_alloc: cannot load ARC4 module
Jun  7 12:24:49 vhr daemon.err pppd[1963]: MPPE required, but kernel has no support.
Jun  7 12:24:49 vhr daemon.notice pppd[1963]: Connection terminated.
Jun  7 12:24:49 vhr daemon.info pppd[1963]: Connect time 0.1 minutes.
Jun  7 12:24:49 vhr daemon.info pppd[1963]: Sent 0 bytes, received 0 bytes.
Jun  7 12:24:49 vhr daemon.debug pptpd[1962]: CTRL: Reaping child PPP[1963]
Jun  7 12:24:49 vhr daemon.info pppd[1963]: Exit.
Jun  7 12:24:49 vhr daemon.info pptpd[1962]: CTRL: Client 84.255.203.209 control connection finished
----------------------------------------------------------------------
/tmp/pptp-server.log
------------------------
Connect: ppp0 <--> /dev/pts/0
MPPE required, but kernel has no support.
Connection terminated.
Connect time 0.1 minutes.
Sent 0 bytes, received 0 bytes.
-------------------------------------------------------------------
ipkg list_installed
---------------------
base-files-brcm-2.4 - 8-7431 -
bridge - 1.0.6-1 -
busybox - 1.4.2-1 -
dnsmasq - 2.38-1 -
dropbear - 0.49-1 -
iptables - 1.3.5-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-crypto - 2.4.34-brcm-1 -
kmod-diag - 1+2.4.34-brcm-1 -
kmod-gre - 2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-mppe - 2.4.30-brcm-4 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-tun - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-4 -
libgcc - 3.4.6-8 -
liblzo - 2.02-1 -
libncurses - 5.2-8 -
libopenssl - 0.9.8e-1 -
libpopt - 1.7-4 -
mtd - 5 -
nano - 1.3.8-1 -
nas - 4.80.53.0-1 -
nvram - 1 -
openvpn - 2.0.9-1 -
ppp - 2.4.3-7 -
ppp-mod-pppoe - 2.4.3-7 -
pptp - 1.6.0-3 -
pptpd - 1.3.0-1 -
rsync - 2.6.5-1 -
screen - 4.0.2-1 -
uclibc - 0.9.28-8 -
wireless-tools - 28-1 -
wlc - 4.80.53.0-1 -
zlib - 1.2.3-3 -
Done.
------------------------------------------

Wah Wah Wee  Wah

got it to work i did manually load following modules
arc4
sha1

and of course
ppp_mppe_mppc from WR rc6 distro
for anyone's quick reference:

cd /tmp
wget http://downloads.openwrt.org/whiterussi … mipsel.ipk
ipkg install /tmp/kmod-mppe_2.4.30-brcm-4_mipsel.ipk
insmod ppp_mppe_mppc
insmod arc4
insmod sha1

kill -3 `pidof pptpd`
pptpd

The discussion might have continued from here.