Networking Forums

Networking Forums > Computer Networking > Linux Networking > changing ethernet speed to slower

Reply
Thread Tools Display Modes

changing ethernet speed to slower

 
 
phil-news-nospam@ipal.net
Guest
Posts: n/a

 
      12-31-2008, 12:57 PM
I'm trying to change the ethernet speed with the following command:
ethtool -s eth0 speed 100
When I do that command, the link goes down for 3 seconds and when it comes
back up the speed is still 1000. Either the command is not really setting
it right, or the negotiation overruled it somehow. Is there a way to force
it to run at 100 no matter what, even if renegotiated later, without having
to add a 100-only hub in the line?

--
|WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance |
| by the abuse department, bellsouth.net is blocked. If you post to |
| Usenet from these places, find another Usenet provider ASAP. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      12-31-2008, 03:45 PM
phil-news-(E-Mail Removed) wrote:
> I'm trying to change the ethernet speed with the following command:
> ethtool -s eth0 speed 100
> When I do that command, the link goes down for 3 seconds and when it comes
> back up the speed is still 1000. Either the command is not really setting
> it right, or the negotiation overruled it somehow. Is there a way to force
> it to run at 100 no matter what, even if renegotiated later, without having
> to add a 100-only hub in the line?


man ethtool
look for autoneg off

You'll probably need to do the same at the other end of the wire, too.
 
Reply With Quote
 
phil-news-nospam@ipal.net
Guest
Posts: n/a

 
      01-01-2009, 02:26 AM
On Wed, 31 Dec 2008 10:45:59 -0600 Allen Kistler <(E-Mail Removed)> wrote:
| phil-news-(E-Mail Removed) wrote:
|> I'm trying to change the ethernet speed with the following command:
|> ethtool -s eth0 speed 100
|> When I do that command, the link goes down for 3 seconds and when it comes
|> back up the speed is still 1000. Either the command is not really setting
|> it right, or the negotiation overruled it somehow. Is there a way to force
|> it to run at 100 no matter what, even if renegotiated later, without having
|> to add a 100-only hub in the line?
|
| man ethtool
| look for autoneg off
|
| You'll probably need to do the same at the other end of the wire, too.

The "other end of the wire" is a switch.

When that ethernet is connected to a gigabit switch (Linksys SD2008) I get
the following error messages:

tesla/root/c0 /root 1# ethtool -s eth0 autoneg off
Cannot set new settings: Invalid argument
not setting autoneg
tesla/root/c0 /root 2#

However when I connect to a fast ethernet switch (Netgear FS108) it works:

tesla/root/c1 /root 1# ethtool -s eth0 autoneg off
tesla/root/c1 /root 2# ethtool -s eth0 autoneg on
tesla/root/c1 /root 3#

But, of course, when connected to the fast ethernet switch I don't have any
issues, since it can't negotiate faster than 100mbps.

The Linksys SD2008 does work at 100 since a couple other computers that only
have 100 are connected to it and work OK. It also works fine at 1000 for the
other two computers that have 1000 (AND are using Cat5 to do it).

So for now I've got the extra switch in place to force this computer to use
100. Its ethernet RX is getting lots of errors at 1000, but works perfectly
at 100. Ironically it works better (55% packet loss) with a Cat5 cable than
with a Cat6 cable (90% packet loss). Now at 100mbps packet loss is zero.
Since Cat6 didn't fix things, I'm guessing this is not a crosstalk issue.

Ideally, there should be a way to restrict the autonegotiation modes, instead
of requiring it be turned off. Each mode should have an index code, and for
each a flag indicating if that mode is administratively disabled.

--
|WARNING: Due to extreme spam, googlegroups.com is blocked. Due to ignorance |
| by the abuse department, bellsouth.net is blocked. If you post to |
| Usenet from these places, find another Usenet provider ASAP. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      01-01-2009, 03:19 AM
phil-news-(E-Mail Removed) wrote:
> On Wed, 31 Dec 2008 10:45:59 -0600 Allen Kistler <(E-Mail Removed)> wrote:
> | phil-news-(E-Mail Removed) wrote:
> |> I'm trying to change the ethernet speed with the following command:
> |> ethtool -s eth0 speed 100
> |> When I do that command, the link goes down for 3 seconds and when it comes
> |> back up the speed is still 1000. Either the command is not really setting
> |> it right, or the negotiation overruled it somehow. Is there a way to force
> |> it to run at 100 no matter what, even if renegotiated later, without having
> |> to add a 100-only hub in the line?
> |
> | man ethtool
> | look for autoneg off
> |
> | You'll probably need to do the same at the other end of the wire, too.
>
> The "other end of the wire" is a switch.
>
> [snip]


It doesn't matter. You should be able to configure autonegotiation on a
switch, too. Make sure you nail full/half duplex down, too.
 
Reply With Quote
 
Hactar
Guest
Posts: n/a

 
      01-06-2009, 03:26 PM
In article <(E-Mail Removed)>, <phil-news-(E-Mail Removed)> wrote:
> On Wed, 31 Dec 2008 10:45:59 -0600 Allen Kistler <(E-Mail Removed)> wrote:
> | phil-news-(E-Mail Removed) wrote:
> |> I'm trying to change the ethernet speed with the following command:
> |> ethtool -s eth0 speed 100
> |> When I do that command, the link goes down for 3 seconds and when it comes
> |> back up the speed is still 1000. Either the command is not really setting
> |> it right, or the negotiation overruled it somehow. Is there a way to force
> |> it to run at 100 no matter what, even if renegotiated later, without having
> |> to add a 100-only hub in the line?
> |
> | man ethtool
> | look for autoneg off
> |
> | You'll probably need to do the same at the other end of the wire, too.
>
> The "other end of the wire" is a switch.


IIRC GigE needs an 8-conductor cable, while 100BT only needs 4. So if
you swap cables, that should do it.

> The Linksys SD2008 does work at 100 since a couple other computers that only
> have 100 are connected to it and work OK. It also works fine at 1000 for the
> other two computers that have 1000 (AND are using Cat5 to do it).


Hm, maybe not. So when IS an 8-conductor cable required?

--
-eben (E-Mail Removed)P royalty.mine.nu:81

Q: What kind of modem did Jimi Hendrix use?
A: A purple Hayes.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
netgear WNR854T router - slower DSL speed on one laptop... arkadhome@hotmail.com Wireless Internet 0 09-20-2007 06:41 AM
download speed slower via belkin 802.11b router atebark@gmail.com Wireless Internet 3 07-23-2005 05:46 AM
Just upgraded to 2Mb BT adsl...slower download speed than 512kb... nickjunkinbox@yahoo.co.uk Broadband 2 05-20-2005 04:47 PM
Wireless B slower than Ethernet? wendi Wireless Internet 24 05-06-2004 08:24 PM
W98 download speed 4x slower than XP Dan Hutchinson Windows Networking 4 04-16-2004 02:19 AM



1 2 3 4 5 6 7 8 9 10 11