ifcfg-eth0 settings not being applied at boot time

Hi all,

I have a Suse Linux 10.3 installation.

I have a long cable run to my router and the ethernet port goes into a broadcast storm when trying to initialise the port.

I decided to try running at different speeds and duplex only to find that the only setting that works in this case is 10 Mbps Full Duplex.

I have achieved this by testing using the following command line and it works.

ethtool -s eth0 autoneg off speed 10 duplex full

When I try to make this happen on boot by using the following ifcfg-eth0 file it does not set the speed and duplex.

ETHTOOL_OPTIONS=‘autoneg off speed 10 duplex full’
BROADCAST=’’
IPADDR=’’
MTU=’’
NAME=‘Giga-byte MCP61 Ethernet’
NETMASK=’’
NETWORK=’’
REMOTE_IPADDR=’’
STARTMODE=‘auto’
USERCONTROL=‘no’
PREFIXLEN=’’
BOOTPROTO=‘dhcp’

I am lost as to where to go from here, any ideas ?

As I see it, what you do is correct (I read the comments in /etc/sysconfig/network/ifcfg.template).

If nobody with experience in will show up, you could try to find a clue by brute force: testing the ifup tool.

I would do this about this way:

cd /sbin
cp ifup ifup-save

and then edit ifup. When you search for ETHTOOL you will find the section where ethtool is called. A few statements like:

echo "entering ETHTOOL section at line nnn" >>/tmp/ethtool-test

on strategical places may help to follow what happens.