Koozali.org: home of the SME Server

Speed/duplex settings

Offline xof

  • *
  • 11
  • +0/-0
Speed/duplex settings
« 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.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Speed/duplex settings
« Reply #1 on: May 07, 2010, 07:32:26 PM »
mii-tool and eththool don't seem to work.

what does it mean?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Speed/duplex settings
« Reply #2 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.
« Last Edit: May 07, 2010, 10:42:12 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline xof

  • *
  • 11
  • +0/-0
Re: Speed/duplex settings
« Reply #3 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...