Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel patch for PPTP Server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OptimusP
n00b
n00b


Joined: 27 Apr 2003
Posts: 42

PostPosted: Sun Jun 27, 2004 4:21 am    Post subject: Kernel patch for PPTP Server Reply with quote

Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?



drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1
Back to top
View user's profile Send private message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Sun Jun 27, 2004 4:42 am    Post subject: Reply with quote

I can't tell you whats wrong, but I can tell you the patch does work, at least for me it does. Assuming talking about the same patch:

cd /usr/src
wget http://www.polbox.com/h/hs001/linux-2.6.7-mppe-mppc-1.0.patch.gz
ln -s linux-2.6.7-gentoo-r6 linux-2.6.7
gzip -d linux-2.6.7-mppe-mppc-1.0.patch.gz
patch -p0 < linux-2.6.7-mppe-mppc-1.0.patch

I didn't do anything special to the gentoo distrib, but I am using linux-headers 2.6.7. Be sure to compile all the ppp stuff as modules. :wink:
Back to top
View user's profile Send private message
OptimusP
n00b
n00b


Joined: 27 Apr 2003
Posts: 42

PostPosted: Sun Jun 27, 2004 4:50 am    Post subject: Reply with quote

ahhh so the microsoft mppe item you have to enable in the kernel should be a module? Ive been trying to put it into the kernel
Back to top
View user's profile Send private message
Deathscythe
n00b
n00b


Joined: 04 May 2004
Posts: 65

PostPosted: Sun Jul 11, 2004 5:31 pm    Post subject: Reply with quote

Do the MPPE stuff have to be compile as a module. I have try to compile it into the kernel and I am having problems.
_________________
Deathscythe

http://www.revster.com
Back to top
View user's profile Send private message
ponch
n00b
n00b


Joined: 08 Jan 2004
Posts: 61

PostPosted: Sun Jul 11, 2004 7:10 pm    Post subject: Re: Kernel patch for PPTP Server Reply with quote

OptimusP wrote:
Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?



drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1


To fix it add support in your kernel for:
Cryptographic options
<*> MD5 digest algorithm (?)
<*> SHA1 digest algorithm
<*> ARC4 cipher algorithm
And try to recompile.
Back to top
View user's profile Send private message
Deathscythe
n00b
n00b


Joined: 04 May 2004
Posts: 65

PostPosted: Sun Jul 11, 2004 8:28 pm    Post subject: Re: Kernel patch for PPTP Server Reply with quote

ponch wrote:
OptimusP wrote:
Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?



drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1


To fix it add support in your kernel for:
Cryptographic options
<*> MD5 digest algorithm (?)
<*> SHA1 digest algorithm
<*> ARC4 cipher algorithm
And try to recompile.


Just did that, it still doesn't work.
_________________
Deathscythe

http://www.revster.com
Back to top
View user's profile Send private message
Deathscythe
n00b
n00b


Joined: 04 May 2004
Posts: 65

PostPosted: Mon Jul 12, 2004 6:53 pm    Post subject: Reply with quote

Got it sorted now. :D
_________________
Deathscythe

http://www.revster.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum