l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Apr 26 12:52

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] How to recompile kernel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] How to recompile kernel


first of all, if you have your heart set on learning (which is a Very
Good Thing[TM]), get one of those huge books on linux.  they all have
sections on kernel compiling.  that's where i learned from.

btw, way back when i was a newbie, my kernel compiled ONLY when i had a
picture of linus torvalds taped to my monitor.  when i took the picture
off, i lost the ability to compile the kernel.  i'm not joking here.
this is the honest truth.  you may want to consider taping a picture of
linus on your own monitor before proceding.

also, please read the kernel howto.  there's extensive instructions on
how to compile the kernel.  well written and complete.

ok, now about your problem at hand.  as i said, there's prolly no need
to compile the kernel here.  that's what modules are for.

i'm a little behind the times in terms of netfilter (i will be until
they decide to kill the ipchains compatibility), but try this:

first get module dependencies in order by doing:

depmod -a

as root.  then install the ipchains module:

modprobe -a ipchains

i **think** ipchains.o on a 2.4 kernel is compatibility layer.  don't
quote me on this.  if so, you may want to try:

modprobe -a netfilter
modprobe -a ipchains

and if the system complains about not finding the modules, you can go
into /lib/modules/kernelversion/net/whatever and use insmod to load in
the proper modules.


begin Ehrhart, Jay <ehrhart@ycoe.org> 
> I have Red Hat 7.2 on a server.  When I installed Red Hat I said no to the
> firewall option.  Now that the box is up and running I am trying to install
> ipchains.  However the kernel is not compiled for ipchains.  How do I
> recompile the kernel and add ipchains without reloading the box?
> Thanks,
> Jay
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.