[pptp-server] SuSE 7.0 2.2.16 PPP 2.3.11 PPTP 1.1.2 w MPPE and compression patc h -- ERROR tty_pushing ...

Philip Van Baren phil at vibrationresearch.com
Tue Nov 14 09:41:03 CST 2000


The versions in the kernel are indeed newer than those in ppp 2.3.11, which
is why the kinstall.sh script refuses to overwrite them.  The newer version
should be used.

The tty_pushing error message can be fixed by patching the if_ppp.h and/or
if_pppvar.h header files, as described in the FAQ
(www.vibres.com/pptpd/pptpd-FAQ.txt):


7.4 Errors while building pppd, pptpd, and kernel modules

7.4.1.	Get PPP_VERSION or PPP_MAGIC undefined error message while compiling
ppp kernel modules

	Solution: add the following lines to /usr/src/linux/include/linux/if_ppp.h
		#define PPP_VERSION "2.3.11"
		#define PPP_MAGIC   0x5002  /* Magic value for the ppp structure */

7.4.2.	Get "structure has no member named `tty_pushing'" error messages
while compiling ppp kernel modules

	This is probably because the mppe patches you used were for an older
version
	of the kernel, and the ppp structure in the header file if_pppvar.h changed
	in the version of the kernel you have.

	Solution: apply the patch
http://www.vibrationresearch.com/pptpd/if_ppp_2.2.17.diff
		to the kernel sources.


> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of Sekerovic
> Dragan
> Sent: Tuesday, November 14, 2000 9:44 AM
> To: 'pptp-server at lists.schulte.org'
> Subject: [pptp-server] SuSE 7.0 2.2.16 PPP 2.3.11 PPTP 1.1.2 w MPPE and
> compression patc h -- ERROR tty_pushing ...
>
>
> hi list!
>
> maybe this informations could be usefull (doc from
> http://poptop.lineo.com/releases/PoPToP-RedHat-HOWTO.txt)
>
> yesterday i spend a hard time in getting PPTP 1.1.2 / PPP 2.3.11
> w MPPE and
> mppe compression patch running on my SuSE 7.0 machine.
>
> my big problem was, that after compliling ppp 2.3.11 source, you
> have to do
> a make kernel. at this position take care.
>
> if you do a make kernel in /usr/src/ppp-2.3.11 the shell calls
> linux/kinstall.sh. kinstall.sh looks for the date of the
> linux-kernelsource
> files to be overwritten. in my case this files were newer than the files
> from the source of ppp-2.3.11:
>
> drivers/net/bsd_comp.c, drivers/net/ppp_deflate.c, drivers/net/zlib.h,
> include/linux/if_pppvar.h
>
> so i had to delete these files from the linux-kernelsource
> manually and then
> i did a make kernel again. only after this your modules will
> compile without
> any errors.
>
> the first time i didn't see the message, that the files from the
> source are
> newer. and so i get a lot of errors while compiling the net-modules. for
> example:
>
> tty_pushing and so on
>
> regards,
> dragan
>
> p.s.: don't worry about my englisch
> p.p.s.: PPTP-project is very well documtend !!! :-)
>
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!
>




More information about the pptp-server mailing list