[TriLUG] need help setting ethernet duplex on Ubuntu

OlsonE at aosa.army.mil OlsonE at aosa.army.mil
Thu Aug 24 08:07:57 EDT 2006


You can also use mii-tool ...as well, I think. (I know I have it in
Gentoo). 

-----Original Message-----
From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
Behalf Of Greg Brown
Sent: Wednesday, August 23, 2006 3:53 PM
To: Triangle Linux Users Group discussion list
Subject: Re: [TriLUG] need help setting ethernet duplex on Ubuntu

Found it.  Ubuntu had ethtool so I was able to:

sudo ethtool -s eth0 speed 100 duplex half autoneg off

and, volia.. that did the trick.  Why I did this might interest someone
out there so here it goes.

We have a Cisco 3550 set to 100/full on every 100 meg port.  No autoneg,
no nothing.  We have a UNIX server (sun starfire 240 in this case) when
it reboots the amber light on the switch goes nuts indicating collision
(impossible in full-duplex mode) and the switch port racks up a ton of
CRC
errors but not collisions.   This is to be exepected as the switch
doesn't
expect collisions so it racks up the jam as CRC packets.

Once the port is unplugged the server reverts back to 100/full as it
should (as it is set up in the config) and everything is normal until
the next reboot.

Strange.  I don't know why the server does this.  Wake on LAN maybe?  I
don't know but it appears that once the server goes down the card comes
alive with it's own settings of some kind that aren't reset by the
config on the server itself.  Very strange.

Greg

On 8/23/06, Andrew Ball <anball at gmail.com> wrote:
>
> Is that Sun hardware, or maybe some vendor's, like Broadcom?  Does 
> lspci tell you?
>
> Peace.
> Andrew
>
> On 8/23/06, Greg Brown <gwbrown1 at gmail.com> wrote:
> >
> > I have the latest ubuntu install and I was able to set the static
> address
> > on
> > eth0 easily enough but I wasn't able to manually set the duplex.  I 
> > need to do this to test an error I think is coming from the Sun 
> > hardware.  Any ideas?  Back to google.
> > --
> > TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/ TriLUG Member 
> > Services FAQ : http://members.trilug.org/services_faq/
> >
>
>
>
> --
> =======================
> Andrew D. Ball
> anball at gmail.com
> http://filebox.vt.edu/~anball1/
> "Festina lente" $\approx$ "Make haste slowly"
>     -- Caesar Augustus
> --
> TriLUG mailing list        :
http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/ TriLUG Member 
> Services FAQ : http://members.trilug.org/services_faq/
>
-- 
TriLUG mailing list        :
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/ TriLUG Member
Services FAQ : http://members.trilug.org/services_faq/



More information about the TriLUG mailing list