NO
just lose the PAM in 2.3.5
and do the following
Its the PAM stuff that is killing the utmp entries
If you look at the 2.3.5 RPM it is just the tar.gz in rpm format no
patches
thhis IS in contrib so dont blame Red Hat get off your A and learn RPM and
add the patches and post a new RPM to redhat
If you want to stay close to the bleeding edge do a bit of DIY
Greg
---------------------------------------
>If you have such errors then, whatever the reason or kernel version, the
>cure should be the same. With a pristine ppp-2.3.5 source tree, starting
>at line 3079 in ppp-2.3.5/linux/ppp.c you have:
>
>#if LINUX_VERSION_CODE < VERSION(2,1,86)
>#define FREE_SKB(skb) dev_kfree_skb(skb)
>#else
>#define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE)
>#endif
>
>
>Change the "<" to ">=" . Then copy the modified file to the kernel
>source directory /usr/src/linux/drivers/net, replacing the old ppp.c
>there, and recompile the kernel. The cautious may want to save the
>old kernel ppp.c first. (The exact change may be "<" to ">" but the
>difference won't affect most folks.)
>Clifford Kite
------------------------------------------------
Usually, for errors, fixing the first one will affect most of the
others (not always).
>cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
-I../include
-DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c demand.c -o
demand.o
>demand.c:21: warning: `rcsid' defined but not used
This warning you can safely ignore.
>cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
-I../include
-DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c sys-linux.c -o
sys-linux.o
[snip]
I had to put this line in sys-linux.c and pppstats.c:
#undef _LINUX_TYPES_H
I put the above line in BEFORE this line in both of those files:
#include <linux/types.h>
Once I did that, I was able to compile......
from Jason Morgan
-----------------------------------------------------
Add the following lines to your /etc/modules.conf
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
Rerun depmod -a and try again.
this from
Andrew Gray
-------------------------------------------------------
On Thu, 17 Sep 1998, Todd Cole wrote:
> Sorry to drop in on this thread, but is everyone in agreement that
> mgetty+Auto PPP is a losing proposition on RedHat 5.1? I haven't been able
Add the following lines to your /etc/modules.conf
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
Rerun depmod -a and try again.
Andrew Gray
> to get it to work, and
keep getting a "network down" message in
> /var/log/messages when a Win95 client tries to connect. Everyone seeing the
> same thing? If so, I won't keep fighting this...
>
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark F. Burgo (
> Mark F. Burgo
> Sent: Wednesday, September 16, 1998 8:29 AM
> To: David Ready
> Cc: [EMAIL PROTECTED]; Philip A. Prindeville
> Subject: Re: #include files in 2.3.5
>
>
> While RedHat may not be standard and is rather annoying at times it is the
> simplest and most usable out of the box. I also get upset with the way
> things
> are setup at times, most of all when I need to upgrade a package and no RPM
> is
> avaiable. And there is no reason that RedHat could not go through and re
> configure the RPM's to conform to the natural locations for files. However
> don't knock a system unless you can create a better system. They are widely
> used and again I can upgrade without need to re format my disk and re setup
> all
> my software. This is the key, they are not always upto date and may have
> some
> holes that need patched but it is resonably priced and allows for the
> upgrades
> that others haven't allowed for. I still use RedHat and I also use find and
> grep alot when problems arise but my system also run with little trouble and
> are a snap to maintain....
>
> Mark
> On 16-Sep-98 David Ready wrote:
> > Hi,
> >
> > I couldn't get it to compile either with RedHat 5.1 and mgetty AutoPPP
> > doesn't work in ANY configuration with RH 5.1
> >
> > RedHat sux bad.... there is so much different that "normal out of the box"
> > linux and there are few to no tips on http://redhat.com
> >
> > I will never use RedHat again. There is no point. There is too much
> hassel.
> >
> > regards,
> >
> > David
> >
> > -----Original Message-----
> > From: Philip A. Prindeville <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Date: Wednesday, September 16, 1998 5:13 PM
> > Subject: #include files in 2.3.5
> >
> >
> >>Does anyone know why the files in ppp-2.3.5 in the include/linux/
> >>directory (which should be symbol links to the same ones in the
> >>linux/) are completely out of sync with their counterparts in
> >>include/net? The dates and version numbers of these files are
> >>significantly different.
> >>
> >>And pppd/sys-linux.c is including "linux/ppp_defs.h" but I suspect
> >>that this should be "net/ppp_defs.h" instead, shouldn't it?
> >>
> >>In any case, I couldn't get ppp-2.3.5 to compile out of the box
> >>on Redhat 5.1 (Linux 2.0.34).
> >>
> >>-Philip
> >>
> >>-
> >>To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> >>the body of a message to [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to [EMAIL PROTECTED]
>
> ----------------------------------
> Burgo Systems / Consulting
> E-Mail: Mark F. Burgo ( Mark F. Burgo <[EMAIL PROTECTED]>
> http://www.surfshop.net/users/mfburgo/pub
>
> Date: 16-Sep-98
> Time: 08:18:57
>
> This message was sent by XFMail
> On RedHat Linux 5.0
> Burgo Systems / Consulting is happy to preload Linux on your new
> BS/C System, Factory Direct
> ----------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]