[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the Debian way to set ethernet media



On 11/2/06, David Goodenough <david.goodenough@btconnect.com> wrote:
On Thursday 02 November 2006 18:52, Rodrigo Paes wrote:
> Hi...
>
>    Did u try using ethtool ? how about putting "spanning-tree
> portfast" on the switch port ?
I have not tried ethtool, why do you believe it might work differently?
I do not have control of the switch, so I can not change that.


I had a server some 3 or 4 years ago, that had weird problems with
mii-tool, it would change the duplex and speed once and if I wanted to
change it again it wouldn't let me, ethtool didn't have that
problem... been using it ever since :)

about the portfast... I've seen some servers that had problems network
issues on boot, basically because between the interface comming up on
the server side and the switch accepting it, there is a 30 second
delay... it's making sure the server is not another switch, that might
be messing up the post-up script...

you could also try something like this ...

post-up sleep 30; mii-tool --force=100baseTx-FD


[]s
rodrigo



Reply to: