Re: Cannot get iptables to work in 2.4.1 and compiling question.

2001-01-31 Thread Phil Brutsche
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A long time ago, in a galaxy far, far way, someone said...

> Hi,
>
> I get the error "command not found" when I type "iptables". I know I
> compiled every "net" option in the kernel (choosed y).  What am I
> doing wrong? Not much to go on, I know

First, and hopefully most obvious question: is iptables installed?

> Also what does "make modules" do, does it create an image like "make
> bzImage"?

No.

> I have 2 comps running linux at home: a 1Ghz t-bird and a p166.
> Compiling on the p166 is painfully long.

A P1-166 isn't that slow - I used to marvel at how fast one of those
things was :)

> I would like to compile everything on the 1Ghz and then transfer the
> bzImage and the "modules image" (if there is one, following make
> modules) to the p166 and make modules_install there. Is that possible?
> Or would I need to make dep on both comps, make bzImage on the 1ghz,
> transfer the image and make modlues and make modules_install on the
> p166?

What I usually do it make a kernel for the lowest common denominator (for
the P166) with the features each computer needs *at boot time* to get the
root fs, and take care of everything else with loadable modules.

I usually copy over the bzImage, and make a tar of
/lib/modules/, copy the tar to the other computer, and
extract the modules in the right place..

- -- 
- --
Phil Brutsche   [EMAIL PROTECTED]

GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D  7E5E FD94 D264 50DE 1CFC
GPG key id: 50DE1CFC
GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6eLzc/ZTSZFDeHPwRAhM4AJ92IWFY3LkwP6rQeBqOnZNO7SCe8gCeO8MH
OVtz6FJB9VOAv8svnNU8nBQ=
=831N
-END PGP SIGNATURE-



Re: Cannot get iptables to work in 2.4.1 and compiling question.

2001-01-31 Thread Tommi Komulainen
On Wed, Jan 31, 2001 at 10:49:25AM -0500, seg wrote:
> Hi,
>  
>  I get the error "command not found" when I type "iptables". I know I
>  compiled every "net" option in the kernel (choosed y).  What am I doing
>  wrong? Not much to go on, I know

Installing iptables -package might help...


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6


pgp6eb5n1Id2B.pgp
Description: PGP signature


Re: Cannot get iptables to work in 2.4.1 and compiling question.

2001-01-31 Thread David B . Harris
To quote "seg" <[EMAIL PROTECTED]>,
# Hi,
# 
#  I get the error "command not found" when I type "iptables". I know I
compiled every "net" option in the kernel (choosed y).  What am I doing
wrong? Not much to go on, I know

You need to get the "iptables" package as well; the 'iptables' command
doesn't come with the kernel.

#  Also what does "make modules" do, does it create an image like "make
bzImage"? I have 2 comps running linux at home: a 1Ghz t-bird and a
p166. Compiling on the p166 is painfully long. I would like to compile
everything on the 1Ghz and then transfer the bzImage and the "modules
image" (if there is one, following make modules) to the p166 and make
modules_install there. Is that possible? Or would I need to make dep on
both comps, make bzImage on the 1ghz, transfer the image and make
modlues and make modules_install on the p166? 

You have to be sure the kernel you compile is compiled for you target
computer(ie: in 'make xconfig' or whatever you use, CPU Type is set to
"Pentium").

Aside from that, make modules_install copies all the modules to
/lib/modules/. So if you copy that directory over to
your target computer, that should work(assuming it's compiled properly
for the target CPU).

David Barclay Harris, Clan Barclay
Aut agere, aut mori. (Either action, or death.)



Cannot get iptables to work in 2.4.1 and compiling question.

2001-01-31 Thread seg



Hi,
 
 I get the error "command not found" when I 
type "iptables". I know I compiled every "net" option in the kernel (choosed 
y).  What am I doing wrong? Not much to go on, I know
 
 Also what does "make modules" do, does it 
create an image like "make bzImage"? I have 2 comps running linux at home: a 
1Ghz t-bird and a p166. Compiling on the p166 is painfully long. I would like to 
compile everything on the 1Ghz and then transfer the bzImage and the 
"modules image" (if there is one, following make modules) to the p166 and make 
modules_install there. Is that possible? Or would I need to make dep on both 
comps, make bzImage on the 1ghz, transfer the image and make modlues and make 
modules_install on the p166? 
 
Thx in advanced.