On Sun, 30 Dec 2001, Sarig Scudder wrote:

> After having been hacked I am slowly making progress on setting up a
> firewall for my home network. I just finished installing Redhat 7.2 on my
> firewall system, which is an old 486 100mhz machine, and I have successfully
> gotten it to recognize my network card. When I use the ifconfig eth0 .... I
> can see and use the interface successfully. However, when I restart the
> machine the system does not initialize the network card on its own like the
> workstation system does. I went through the same basic steps as I did in
> Redhat 7.0 but everytime I start the system I have to type in the ifconfig
> command again to get the eth0 interface up and running. Any ideas on how I
> can get the system to initialize the interface automatically?

You have to have the ifconfig installed somewhere in you startup
scripts. You don't say what kind of nic it is, but presumably, it is not
autodetected so the module for it is not inserted.  I'd write a script and
call it
/etc/rc.d/init.d/local.net

and have it contain the "ifconfig ..." that you want.

make sure it is executable  
chmod 755 /etc/rc.d/init.d/local.net

then add a line to rc.local so that local.net will execute.

Mark





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to