Senin, 22 Mei 2017

Simple Ganti speed and duplex di linux

Untuk mengganti Speed and Duplex pada linux coba ikutin tips simple berikut ini, Untuk tools yang kita pakai yaitu "ethtool".

Install ethtool di Fedora, CentOS, RHEL etc.:
# yum install ethtool
Install ethtool in Ubuntu, Debian etc.:
# sudo apt-get install ethtool
  • Untuk mengetahui informasi speed and duplex dari machine kita,
    [boraspati@wiki ~]$ ethtool enp3s0
    Settings for enp3s0:
     Supported ports: [ TP MII ]
     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/Full 
     Advertised pause frame use: Symmetric Receive-only
     Advertised auto-negotiation: Yes
     Speed: 10Mb/s
     Duplex: Half
     Port: MII
     PHYAD: 0
     Transceiver: internal
     Auto-negotiation: on
    Cannot get wake-on-lan settings: Operation not permitted
     Current message level: 0x00000033 (51)
              drv probe ifdown ifup
     Link detected: no
       
  • Perintah terminal untuk ganti speed and duplex 

[boraspati@wiki ~]$ sudo -i ethtool -s enp3s0 speed 100 duplex half autoneg off
Selamat mencoba
Detail bisa anda lihat di terminal

[boraspati@wiki ~]$ man ethtool

0 komentar:

Posting Komentar