From: Sergey <a_s_y@sama.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Как уменьшить скорость на Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Date: Sat, 20 Aug 2016 15:24:14 +0400
Message-ID: <201608201524.14555.a_s_y@sama.ru> (raw)
In-Reply-To: <20160820090150.GA4725@a1bd44.localdomain>
On Saturday 20 August 2016, Vasiliy D. Sevostyanov wrote:
> ethtool -s eth0 speed 100
>
> Еще можно попробовать отключить авто-согласование (если включено,
> проверяется по `ethtool eth0`):
> ethoot -s eth0 autoneg off
Не можно, а, скорее всего, необходимо. Если autoneg не отключить,
эффекта от speed и duplex не будет. Это справедливо, как минимум,
для драйверов Intel.
Можно как-то так:
== /etc/net/ifaces/eth1/ifup-post:
#!/bin/bash
/usr/sbin/ethtool -s $1 duplex full speed 100 autoneg off
==
Только тут есть ещё засада. В случае autoneg off вторая сторона
гарантировано переключится в half duplex, если там руками не задать
тоже, так что надо следить за этим.
--
С уважением, Сергей
a_s_y@sama.ru
next prev parent reply other threads:[~2016-08-20 11:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-20 7:43 Hihin Ruslan
2016-08-20 8:27 ` Alexander
2016-08-20 8:31 ` Hihin Ruslan
2016-08-20 9:01 ` Vasiliy D. Sevostyanov
2016-08-20 9:08 ` Hihin Ruslan
2016-08-20 10:07 ` Vasiliy D. Sevostyanov
2016-08-20 11:24 ` Sergey [this message]
2016-08-20 12:59 ` Hihin Ruslan
2016-08-20 13:54 ` Hihin Ruslan
2016-08-21 6:51 ` Sergey
2016-08-25 9:26 ` Ruslan
2016-08-20 9:54 ` Anton Gorlov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201608201524.14555.a_s_y@sama.ru \
--to=a_s_y@sama.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git