Re: HOW-To: Selection of 10 or 100 Mb

From: Rich Sahlender (rsahlen@voicenet.com)
Date: Sat Feb 05 2000 - 10:34:19 EST


On Sun's with hme I use ethtool:

/usr/sbin/ethtool -s eth0 autoneg off
/usr/sbin/ethtool -s eth0 speed 100 duplex full

I've had plenty of cases where hme's to switching hubs exhibit the same
behavior you descibe, both Solaris and Linux. The hub and the hme must
both me locked down at specific duplex/speed.

Evan Langlois wrote:
> Sorry if this is covered in a how-to, but I've search most of them, man
> pages, and various kernel docs, and no where could I find how to set an
> ethernet card capable of both 10 and 100Mbps operation to specifically
> one or the other. Also, I could not find where to show what the card is
> currently set to. I feel like an idiot :/
>
> I'd like this for my card, a SUN here at work (Happy Meal's can do both
> 10 and 100 can't they?), and for a friend having issues with this.
> Also, I've seen cases where a two nics had constant errors when both
> were set to auto-detect the speed and a simple cross-over cable was used
> instead of a switch - they'd collide somehow trying to auto-adjust and
> get TONS of CRC errors (although I think this was the fault of either
> the NFS server provider or SUN as it was a solaris box connected to a
> netapp nfs server - but I someone said they'd seen the same problem
> elsewhere as well - the solution was to set one or the other to a
> specific speed).
>
> -- Evan
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:12 EST