Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Can 't locate module ppp0, can 't locate module ppp-compress-21

Can 't locate module ppp0, can 't locate module ppp-compress-21

2003-03-19       - By Steven J. Yellin

 Back
Reply:     1     2     3     4  

  Oops!  I notice in the gcc command I gave below that in part of the
line is a different kernel number from the one you now have.  I've
corrected the error in the quoted message below.  I also assumed you have
a machine that uses i686 architecture, though I don't know if it matters
for this particular compilation.

On Wed, 19 Mar 2003, Steven J. Yellin wrote:

> On Wed, 19 Mar 2003, Aaron Konstam wrote:
>
> > On Tue, Mar 18, 2003 at 11:31:27PM -0800, Pat wrote:
> > > Hello,
> > > I have seen some messages of this type before but i
> > > have yet to find a solution.. here's hoping i get one!
> > >
> > > I am having two problems with ppp in Red Hat 7.1
> > > First,
> > > when i establish a ppp connection, my messages log
> > > shows the error
> > > modprobe: can't locate module ppp-compress-21 (See http://ess-21.ora-code.com)
> > > I read that i need to alias bsd_comp for that name,
> > > however my kernel 2.4.18-18.7.x doesn't have this
> > > module installed. What can i do?
> > To remove that message put the following in /etc/modules.conf
> > alias ppp-compress-21 (See http://ess-21.ora-code.com) off
> >
>     Apparently RedHat once included bsd_comp in its standard
> configuration, but now does not.  So you have to compile it yourself.
> I tried something like what I'm about to describe, but with RedHat7.2
> and a more recent kernel.
>     The source is in kernel-source-2 (See http://rce-2.ora-code.com).4.18-18.7.x.i386.rpm, though you may
> want to instead get a more recent kernel-source and make yourself a
> whole new kernel.  I'll assume you don't want to go quite so far, and
> just want bsd_com.  After you've installed kernel-source, go to the
> /usr/src/linux-2 (See http://nux-2.ora-code.com).4 directory, do
>
> make mrproper
> cp config/kernel-2 (See http://nel-2.ora-code.com).4.18-i686.config .config
>
> Then edit .config so that the line "# CONFIG_PPP_BSDCOMP is not set"
> becomes "CONFIG_PPP_BSDCOMP=m", do
>
> make oldconfig
> make dep
>
> The "make dep" command will compile lots of stuff which you don't really
> care about, but this at least should work.  I think it really only is
> needed to get the .h files needed for bsd_comp, and there's probably an
> easier way to do this.  Maybe it would now work to do "make modules",
> but to just make the module you want, do "cd drivers/net", then do the
> one line command (avoiding this command is one reason you might want to
> make a whole new kernel):
>
> gcc -D__KERNEL__ -I/usr/src/linux-2 (See http://nux-2.ora-code.com).4.18-18.7.x/include -Wall \
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common \
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 \
> -DMODULE -DMODVERSIONS -include \
> /usr/src/linux-2 (See http://nux-2.ora-code.com).4.18-18.7.x/include/linux/modversions.h -nostdinc -I \
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/include \
> -c -o bsd_comp.o bsd_comp.c
>
> This should produce a file bsd_comp.o which you can copy to
> /lib/modules/2.4.18.7x/kernel/drivers/net.  If you want to try using
> this module without rebooting, you probably should do "depmod -a"
> before making sure modules.conf is what you want and then establishing
> a ppp connection.
>
>

--
Steven Yellin