vine-users ML アーカイブ



[vine-users:074725] Re: Realtek8139  

  • From: FUJITA Kazutoshi <fujita@xxxxxxxxxx>
  • Subject: [vine-users:074725] Re: Realtek8139  
  • Date: Sun, 18 Jun 2006 18:08:49 +0900 (JST)
From: "chitae@SW20" <chitae@xxxxxx>
Subject: [vine-users:074721] Realtek8139 
Date: Sun, 18 Jun 2006 04:07:22 +0900

> そこでvine 側のNICをオートネゴでなく、100M full-duplexに
> 固定させようと検索いたしましたが、答えが見つからず困っております。
> 8139too.txtの中にもそれらしき記述が見つかりませんでした。

手元に環境がないので試してませんが、ethtoolでは出来ないのかしら?
ethtoolのヘルプメッセージを見る限り、(ドライバ側が対応してれば、)
ethtool -s ...で出来そうに思えます。


# ethtool -h
ethtool version 2
Usage:
        ethtool DEVNAME
        ethtool -a DEVNAME
        ethtool -A DEVNAME \
                [ autoneg on|off ] \
                [ rx on|off ] \
                [ tx on|off ]
        ethtool -c DEVNAME
        ethtool -C DEVNAME \
                [adaptive-rx on|off] \
                [adaptive-tx on|off] \
                [rx-usecs N] \
                [rx-frames N] \
                [rx-usecs-irq N] \
                [rx-frames-irq N] \
                [tx-usecs N] \
                [tx-frames N] \
                [tx-usecs-irq N] \
                [tx-frames-irq N] \
                [stats-block-usecs N] \
                [pkt-rate-low N] \
                [rx-usecs-low N] \
                [rx-frames-low N] \
                [tx-usecs-low N] \
                [tx-frames-low N] \
                [pkt-rate-high N] \
                [rx-usecs-high N] \
                [rx-frames-high N] \
                [tx-usecs-high N] \
                [tx-frames-high N] \
                [sample-interval N]
        ethtool -g DEVNAME
        ethtool -G DEVNAME \
                [ rx N ] \
                [ rx-mini N ] \
                [ rx-jumbo N ] \
                [ tx N ]
        ethtool -i DEVNAME
        ethtool -d DEVNAME [ raw on|off ]
        ethtool -e DEVNAME \
                [ raw on|off ] \
                [ offset N ] \
                [ length N ]
        ethtool -E DEVNAME \
                [ magic N ] \
                [ offset N ] \
                [ value N ]
        ethtool -k DEVNAME
        ethtool -K DEVNAME \
                [ rx on|off ] \
                [ tx on|off ] \
                [ sg on|off ] \
                [ tso on|off ]
        ethtool -r DEVNAME
        ethtool -p DEVNAME [ %d ]
        ethtool -t DEVNAME [online|(offline)]
        ethtool -s DEVNAME \
                [ speed 10|100|1000 ] \
                [ duplex half|full ]    \
                [ port tp|aui|bnc|mii|fibre ] \
                [ autoneg on|off ] \
                [ phyad %d ] \
                [ xcvr internal|external ] \
                [ wol p|u|m|b|a|g|s|d... ] \
                [ sopass %x:%x:%x:%x:%x:%x ] \
                [ msglvl %d ] 
        ethtool -S DEVNAME


--(ふ)