[pptp-server] pppd 2.4.1 kernel 2.4.5 and this dumb stupid p pp_mppe.o

Michael Walter walterm at Gliatech.com
Thu Aug 2 12:58:20 CDT 2001


Hello Joe,

I won't be able to offer extended help on this, T-4 hours to an extended
vacation ;)  My information is also limited to RedHat distributions, I don't
know if it applies to Caldera or not.  But I do have some comments that
should point you in the right direction.  First off, you won't get a ppp.o.
What you should get is a slhc.o, ppp_generic.o, and ppp_mppe.o.  These
should be located in /lib/modules/ <kernel version> /kernel/drivers/net.  If
you have the first two, you are on the right track.  Also, as far as not
having ppp_mppe.o, this is exclusive to the kernel build, and has nothing to
do with the ppp build.  So continue to troubleshoot your kernel, don't worry
about ppp or pptpd yet.  Ok, now here is what I did to get this part
working.

First, I grabbed the 2.4.7 kernel from www.kernel.org.  The 2.4.5 kernel
should work just as well though.  Once you have untared and unzipped, or un
b-zipped the kernel, obtain the linux-2.4.0-openssl-0.9.6-mppe.patch.gz
patch.  I don't recall off hand where I got it, but a google search should
point you in the right direction.  From the /usr/src/linux directory (or
where-ever you de-compressed your kernel source) type 

gcat <path to patch>/linux-2.4.0-openssl-0.9.6-mppe.patch.gz | patch -p1

If you get any errors, don't proceed, you need to troubleshoot why you got
the errors.  Assuming you didn't, start your make process.  I use make
menuconfig, but make config and make xconfig work just as well.

In the Code maturity level options section, mine looks like this:
[*] Prompt for development and/or incomplete code/drivers

In the Network Device Support section, mine looks like this:
<M> PPP (point-to-point protocol) support     <-- THIS IS NECESSARY
[*]   PPP multilink support (EXPERIMENTAL)
<M>   PPP support for async serial ports      <-- THIS IS NECESSARY
<M>   PPP support for sync tty ports
<M>   PPP Deflate compression                 <-- THIS IS NECESSARY
<M>   PPP BSD-Compress compression            <-- THIS IS NECESSARY
<M>   PPP over Ethernet (EXPERIMENTAL)
 
Ok, exit out (after you check your other kernel options) and run these
commands:
make clean
make dep
make bzImage
make install
depmod -a               <-- I never bothered to figure out where I should do
this, so I do it twice.
make modules
make modules_install
depmod -a

If you run into any errors, troubleshoot those before you move on to the
next line.
At this point, reboot, and you should have a ppp_mppe.o listed in
/lib/modules/ <kernel version> /kernel/drivers/net


Good luck,

Michael J. Walter
rhce mcdba mcse+i ccna cca a+
Network Administrator
Gliatech, Inc.
23420 Commerce Park Rd.
Beachwood, Ohio 44122
Tel: (216) 831-3200
Email: walterm at gliatech.com 




-----Original Message-----
From: Joe Petsche [mailto:jpetsche at eng.utoledo.edu]
Sent: Thursday, August 02, 2001 1:33 PM
To: Michael Walter
Subject: Re: [pptp-server] pppd 2.4.1 kernel 2.4.5 and this dumb stupid
p pp_mppe.o


I am currently trying to get this going. I re-comiled my 2.4 kernel (I don't
know the minor revision because it is whatever Cadera 3.1 version comes
installed)  And I don't have a ppp.o or a ppp_mppe.o file after I do a
make dep, make clean, make modules SUBDIRS=drivers/net.

Next to PPP (point-topoint protocol) support, I have a <M> so it builds it
as a module. As far as the 'monolithically' goes, I don't know anything
about that. There has to be something that I am missing because I can't seem
to build ppp.o or ppp_mppe.o. Please help!

-Joe

PS I am refering to the following:

----- Original Message -----
From: "Michael Walter" <walterm at Gliatech.com>
To: "PPTPD User Group (E-mail)" <pptp-server at lists.schulte.org>
Sent: Thursday, August 02, 2001 11:31 AM
Subject: RE: [pptp-server] pppd 2.4.1 kernel 2.4.5 and this dumb stupid p
pp_mppe.o


> Sorry for the very late reply, I ran into and solved this error on my own
> configuration (2.4.7 kernel) as there was no solution available on the
list,
> I am simply posting this solution so that it will show up in future list
> searches.  If you specify when you build your kernel that PPP should be
> built monolithically, rather than as a module.  Then there will be no
> ppp_mppe.o module available.  In order to alias to the module ppp_mppe.o,
> PPP must be built as a module.
>
> Thanks (now back to lurking),
>
> Michael J. Walter
> rhce mcdba mcse+i ccna cca a+
> Network Administrator
> Gliatech, Inc.
> 23420 Commerce Park Rd.
> Beachwood, Ohio 44122
> Tel: (216) 831-3200
> Email: walterm at gliatech.com
>
>
>
>
> -----Original Message-----
> From: robert [mailto:berzerke at swbell.net]
> Sent: Wednesday, June 20, 2001 10:40 AM
> To: George Vieira
> Cc: PPTP List (E-mail)
> Subject: Re: [pptp-server] pppd 2.4.1 kernel 2.4.5 and this dumb stupid
> p pp_mppe.o
>
>
>
>
> FYI, I have mppe in my 2.4.5 kernel modules.dep file.  By chance, when you
> did a kernel rebuild, you did type "make dep" FIRST right?
>
> On Wednesday 20 June 2001 04:41, George Vieira wrote:
> > Thanks, it's already in there.
> >
> > alias char-major-108 ppp_generic
> > alias tty-ldisc-3 ppp_async
> > alias tty-ldisc-14 ppp_synctty
> > alias ppp-compress-18 ppp_mppe
> > alias ppp-compress-21 bsd_comp
> > alias ppp-compress-24 ppp_deflate
> > alias ppp-compress-26 ppp_deflat
> >
> > It's not listed in /lib/modules/2.4.5/modules.dep .I would like to know
if
> > anybody has it there in their modules.dep file.
> >
> > Also if anybody is running 2.4.5 kernel.. I'd like to know..
> >
> > thanks,
> > George.
> > -----Original Message-----
> > From: Josh Howlett [mailto:Josh.Howlett at bristol.ac.uk]
> > Sent: Wednesday, June 20, 2001 5:39 PM
> > To: George Vieira
> > Cc: PPTP List (E-mail)
> > Subject: Re: [pptp-server] pppd 2.4.1 kernel 2.4.5 and this dumb stupid
> > ppp_mppe.o
> >
> >
> > Try adding:
> >
> > alias ppp-compress-18 ppp_mppe
> >
> > to /etc/modules.conf
> >
> > josh.
> >
> > ---------------------------------------
> > Josh Howlett, Network Supervisor,
> > Networking & Digital Communications,
> > Information Systems & Computing,
> > University of Bristol, U.K.
> > 0117 928 7850 | josh.howlett at bris.ac.uk
> > ---------------------------------------
> >
> > On Wed, 20 Jun 2001, George Vieira wrote:
> > > OK.. I got my network card problems fixed but my ppp-compress-18 still
> >
> > won't
> >
> > > work even after blowing away my kernel again and redoing the patches
(2
> > > only).
> > >
> > > If I turn off data encryption it works but not encryted and I get the
> > > following /var/log/messages logs. Has anybody tried using pppd 2.4.1
and
> > > kernel 2.4.5 with pptp patches?
> > >
> > > The damn file exists in /lib/modules/2.4.5/drivers.net/ppp_mppe.o but
> >
> > won't
> >
> > > see it.
> > >
> > >
> > > Jun 20 08:43:09 firewall pppd[950]: pppd 2.4.1 started by root, uid 0
> > > Jun 20 08:43:09 firewall pppd[950]: Using interface ppp0
> > > Jun 20 08:43:09 firewall pppd[950]: Connect: ppp0 <--> /dev/pts/1
> > > Jun 20 08:43:10 firewall pptpd[949]: CTRL: Ignored a SET LINK INFO
> packet
> > > with real ACCMs!
> > > Jun 20 08:43:13 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:13 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:13 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:13 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:13 firewall pppd[950]: MSCHAP-v2 peer authentication
> >
> > succeeded
> >
> > > for georgev
> > > Jun 20 08:43:13 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:13 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:14 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:14 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:16 firewall pppd[950]: found interface eth0 for proxy arp
> > > Jun 20 08:43:16 firewall pppd[950]: local  IP address 10.10.0.121
> > > Jun 20 08:43:16 firewall pppd[950]: remote IP address 10.10.0.251
> > > Jun 20 08:43:17 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:17 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:21 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:21 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:25 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:25 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:29 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:29 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:33 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:33 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:37 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:37 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:41 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:41 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:46 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:46 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:47 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:47 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:50 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:50 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:54 firewall modprobe: Note: /etc/modules.conf is more
> recent
> > > than /lib/modules/2.4.5/modules.dep
> > > Jun 20 08:43:54 firewall modprobe: modprobe: Can't locate module
> > > ppp-compress-18
> > > Jun 20 08:43:56 firewall pppd[950]: Modem hangup
> > > Jun 20 08:43:56 firewall pppd[950]: Connection terminated.
> > > Jun 20 08:43:56 firewall pppd[950]: Connect time 0.8 minutes.
> > > Jun 20 08:43:56 firewall pppd[950]: Sent 289 bytes, received 275
bytes.
> > > Jun 20 08:43:56 firewall pptpd[949]: GRE: read error: Bad file
> descriptor
> > > Jun 20 08:43:56 firewall pptpd[949]: CTRL: PTY read or GRE write
failed
> > > (pty,gre)=(-1,-1)
> > > Jun 20 08:43:56 firewall pptpd[949]: CTRL: Client 10.10.0.69 control
> > > connection finished
> > > Jun 20 08:43:56 firewall pppd[950]: Exit.
> > >
> > >
> > > thanks,
> > > George Vieira
> > > Network Engineer
> > > Citadel Computer Systems P/L
> > > _______________________________________________
> > > pptp-server maillist  -  pptp-server at lists.schulte.org
> > > http://lists.schulte.org/mailman/listinfo/pptp-server
> > > --- To unsubscribe, go to the url just above this line. --
> >
> > _______________________________________________
> > pptp-server maillist  -  pptp-server at lists.schulte.org
> > http://lists.schulte.org/mailman/listinfo/pptp-server
> > --- To unsubscribe, go to the url just above this line. --
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list