[CentOS] Re: Kernel 2.4 in centos 4.3

Scott Silva ssilva at sgvwater.com
Mon Jul 31 22:10:39 UTC 2006


azeredo at qmc.ufsc.br spake the following on
7/28/2006 4:50 PM:
> 
> 
>     Hi,
> 
>  Thanks a lot  to the guy that tried to help me. But i really need to
> use centos 4.3 since i have 3 linux already running and i didn't want to
> reinstall and reconfigure them. The problem is that i need full support
> to pptp-conntract and also ppp_mppe   in the kernel. I had to compile a
> kernel with that modules by myself. I even tried to use those modules
> already compiled for the 2.6 kernel for SME server (that are similar to
> those of centos 4)
> 
> that one can  find at
> 
> 
> http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/builds/rpms/RPMS/i586/
> 
> 
>   But the problem is that the modules install and are loaded but cannot
> work together. No VPN coming into the intranet gets connected when
> module ip_nat_pptp is loaded .  Look at the error:
> 
> 
> Jul 28 20:25:48 edm194 pppd[20710]: pptpd-logwtmp: $Version$
> Jul 28 20:25:48 edm194 pppd[20710]: pppd 2.4.3 started by root, uid 0
> Jul 28 20:25:48 edm194 pppd[20710]: Using interface ppp0
> Jul 28 20:25:48 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1
> Jul 28 20:25:48 edm194 pptpd[20709]: GRE: Bad checksum from pppd.
> Jul 28 20:26:18 edm194 pppd[20710]: LCP: timeout sending Config-Requests
> Jul 28 20:26:18 edm194 pppd[20710]: Connection terminated.
> Jul 28 20:26:18 edm194 pppd[20710]: Using interface ppp0
> Jul 28 20:26:18 edm194 pppd[20710]: Connect: ppp0 <--> /dev/pts/1
> Jul 28 20:26:18 edm194 pppd[20710]: tcflush failed: Bad file descriptor
> Jul 28 20:26:18 edm194 pppd[20710]: tcsetattr: Invalid argument (line 1016)
> Jul 28 20:26:18 edm194 pppd[20710]: Exit.
> Jul 28 20:26:18 edm194 pptpd[20709]: GRE:
> read(fd=6,buffer=804eb00,len=8196) from PTY failed: status = -1 error =
> Input/output error, usually caused by unexpected termination of pppd,
> check option syntax and pppd logs
> Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: PTY read or GRE write failed
> (pty,gre)=(6,7)
> Jul 28 20:26:18 edm194 pptpd[20709]: CTRL: Client 201.14.175.204 control
> connection finished
>   As soon as I unload this module the connection establishes.
>   But I managed to get a 2.4.31 kernel running with all these modules,
> namely
> 
>   ip_conntrack_pptp
>   ip_conntrack_proto_gre
>   ip_nat_pptp
>   ip_nat_proto_gre
> 
>  and
> 
>   ppp_mppe
> 
> 
> loaded so that incoming VPN connections work, as well as outgoing vpn
> connections through NAT at the gateway are correctly redirected to the
> server outside the intranet. This kernel is in another linux that runs
> and old version of red hat. I need to upgrade this system and centos is
> my choice.
>   So, that is the reason i want a kernel 2.4 loaded in centos 4.3 or
> 4.2. Actually i've read somewhere that, with compatible modutils, i can
> do that, but i don't know how to install and where to find modutils (
> old ones) that will let me boot my 2.4.31 kernel in centos 4, without
> disrupting the whole system.
> 
> 
> 
>      I hope someone can help me out. If anyone knows where i can find
> those modules for centos kernel 2.6 would also solve the problem. Any
> other solution to my problem is very welcome too.
> 
Clarkconnect Linux is based on CentOS 4 and has working pptp patches. Maybe
you could try there, or just use their distro. I use it for several firewalls,
and it works great!


-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!




More information about the CentOS mailing list