Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: xof on May 07, 2010, 07:14:16 PM

Title: Speed/duplex settings
Post by: xof on May 07, 2010, 07:14:16 PM
Hi,

I was wondering if it is possible to set the duplex and speed settings of the nics that SME uses?

mii-tool and eththool don't seem to work.
Title: Re: Speed/duplex settings
Post by: Stefano on May 07, 2010, 07:32:26 PM
mii-tool and eththool don't seem to work.

what does it mean?
Title: Re: Speed/duplex settings
Post by: cactus on May 07, 2010, 10:35:50 PM
You should be able to use the literal ethtools options and add them to a database entry:

Code: [Select]
db configuration setprop InternalInterface EthtoolOpts "configuration options"
db configuration setprop ExternalInterface EthtoolOpts "configuration options"
signal-event console-save
signal-event reboot

For example:

Code: [Select]
db configuration setprop InternalInterface EthtoolOpts "speed 100 duplex full autoneg off"
The example parameters above can be found in /usr/share/doc/initscripts-8.45.30/sysconfig.txt when looking for ETHTOOL_OPTS.
Title: Re: Speed/duplex settings
Post by: xof on May 18, 2010, 02:59:29 PM
Thank you for the reply. It seems though that my problem was due to old hardware. The two network cards in my SME were still 10Base-T cards (never checked since 2002 :smile:) auto-negotiating to 10HD. I've replaced them with two D-Link gigabit cards and all is working well now. I can enjoy my 20 Mbit download now...