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

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote:
>
> Is that Sun hardware, or maybe some vendor's, like Broadcom?  Does 
> lspci tell you?
>
> Peace.
> Andrew
>
> On 8/23/06, Greg Brown <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> 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/
--
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/

Reply via email to