AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-512905

aschkant's questions

Martin Hope
aschkant
Asked: 2021-09-01 00:44:52 +0800 CST

Linux 链接速度广告

  • 0

据我所知,以下命令将设置自动协商广告的速度和双工。

ethtool -s eth0 advertise 0x020

其中根据以下指南指示0x020:1000baseT Full

advertise N
    Sets the speed and duplex advertised by autonegotiation.  The 
    argument is a hexadecimal value using one or a combination of
    the following values:
      0x001       10baseT Half
      0x002       10baseT Full
      0x004       100baseT Half
      0x008       100baseT Full
      0x010       1000baseT Half       (not supported by IEEE standards)
      0x020       1000baseT Full

我应用的命令1000baseT Full只做广告。我想知道如何将服务器设置为同时宣传多种链接模式1000baseT Full 100baseT Full 100baseT Half。

我已经尝试对所需的链接模式一一应用相同的命令,但是每次新的链接模式都会替换当前模式而不是添加到其中。

我还提到了链接模式的十六进制代码,如下所示,但它返回错误。

ethtool -s eth0 advertise 0x020 0x008 0x004
    ethtool: bad command line argument(s)
    For more information run ethtool -h

当所有广告都发布后,它们会显示在ethtool输出中,如下所示:

ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full

请问有什么想法吗?

linux-networking ethtool
  • 1 个回答
  • 1171 Views
Martin Hope
aschkant
Asked: 2019-09-07 21:34:27 +0800 CST

在 ntpq -p 的输出中,x 在 NTP IP 旁边表示什么

  • 2

最近,我在“ntpq -p”输出中看到 NTP 服务器 IP 旁边出现一个“x”。

虽然我的服务器似乎连接到对等 NTP 服务器,但它应该在 IP 之前显示一个“*”而不是“x”。

知道“x”表示什么,如果问题确实存在,我该如何解决。

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
x10.11.12.13   .SLK.            1 u   31   64  377    3.592  489.715   0.279
x10.13.14.15    .SLK.            1 u   63   64  377    1.527  159.577   0.400
linux
  • 1 个回答
  • 2835 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve