Subject: Re: pptpd + pppd w/ mppe possible?
To: Stephen Jones <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 02/14/2007 11:13:04
On Tue, Feb 13, 2007 at 11:29:01PM -0800, Stephen Jones wrote:
> I've run into a problem where I have clients that have no other
> choice but to use Microsoft's 'mppe'.
> The only way I've found that this can be done is by using an LKM.
> I've built the mppe module but
> am unable to load it in a kernel with LKM/KSYMS support.
> # modload -d -v mppe.o
> ld -R /dev/ksyms -e mppe_lkmentry -o mppe -Ttext 0x0 mppe.o
> .text: addr = 0x0 size = 0x1d20 align = 0x10
> .shstrtab: addr = 0x0 size = 0x48 align = 0x1
> .symtab: addr = 0x0 size = 0x20a78 align = 0x8
> .strtab: addr = 0x0 size = 0x12c42 align = 0x1
> .rodata: addr = 0x1d20 size = 0x2a3 align = 0x1
> .data: addr = 0x12000 size = 0x98 align = 0x8
> .data section forced to offset 0x1fc8 (was 0x12000)
> .got: addr = 0x12098 size = 0x198 align = 0x8
> .sbss: addr = 0x12230 size = 0x4 align = 0x4
> .bss: addr = 0x12234 size = 0x4 align = 0x1
> modload: reserving 16384 bytes of memory
> modload: can't reserve memory: Operation not permitted
Is is probably because you're at securelevel 1. modules can only be loaded
at securelevel 0. If you add it to /etc/lkm.conf and reboot, it should load.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
NetBSD: 26 ans d'experience feront toujours la difference