Where is the best place to set the NIC paramters on a linux box so that
it retained after reboot?
We are running Red Hat Linux ES version.
1) Add a line with ethtool command to /etc/rc.local
Or
2) Add ETHTOOL_OPTS="speed 100 duplex full autoneg off" into
/etc/sysconfig/network-scripts/ifcfg-eth0
Or
3) Add a line to /etc/modules.conf (right after the line 'alias eth0
abc'):
options abc Speed=100 Duplex=2
As per one of the quotes online 'modules.conf' seem to be most
appropriate?
Need to know the pros/cons of each.
Any thoughts?
TIA,
Raj
|