-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 30 December 2001 09:20 am, Sarig Scudder wrote:
> Mark,
>
> Thanks for the tip.
>
> >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
>
> The NIC is a RealTek 8019 ISA card. I disabled the plug and play and
> manually put the Alias and Options lines in modules.conf. When I did
> this under Redhat 7.0 and used Netcfg to identify the IP address and
> network address the system kept the interface information between boots
> of the system. That is it was automatically starting the eth0 port
> without any manual intervention. After reinstalling using Redhat 7.2 I
> did the same changes to modules.conf and was able to get the eth0
> interface working properly. I think, I'm not sure now I tried so much,
> that it was holding the interface information between boots. Then in
> trying to prepare the machine to be a firewall I disabled the services
> port<something>, sendmail and NFS as these are supposedly not needed on
> a firewall. Somewhere in the middle of doing this the system stopped
> initializing the NIC during boot. I will try the local script file but
> it would sure be nice to know what I did wrong.
>
> Sarig

The information is stored in /etc/sysconfig/network-scripts/ifcfg-eth0
It should look similar to: (this is my ifcfg-eth1, an internal interface, 
with a static ip)

# cat ifcfg-eth1
DEVICE=eth1
IPADDR=192.168.0.3
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8LyWfeMAUbzJhSVcRAk7DAJ9rGgE9YAB2sDXeN4ftx4xmEXWU0wCfbPPa
HGU23DKiE/iVM7KTwLaBDT0=
=uOjU
-----END PGP SIGNATURE-----



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

Reply via email to