일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 안드로이드
- FIDO2
- WebAuthn
- 앨범북
- OTP
- 2FA
- otpkey
- 애플
- 앱스토어
- kmip
- SWIFT
- git
- SSL
- MYSQL
- 인증
- Xcode
- appres
- OSX
- Nodejs
- apple
- MFA
- SSH
- albumbook
- 앱리소스
- openssl
- SwiftUI
- MSYS2
- Android
- fido
- css
- Today
- Total
인디노트
Linux 에서 네트워크 연결 속도 관련 체크 본문
$ sudo mii-tool -v enp3s0
위에서 enp3s0 은 네트워크 인터페이스의 이름이다.
$ ifconfig 하면 나오는 이름
$ sudo ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
또한, 다음 명령으로 네트워크 장치의 정보를 확인 할 수 있다.
$ sudo ethtool enp3s0
Settings for enp3s0:
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
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
이제 네트워크 링크 방식 및 속도를 변경하는 방법이다.
$ sudo ethtool -s enp3s0 speed 1000 duplex full autoneg on
위와 같이 하면 enp3s0 의 속도를 1G 이면서 전이중 방식으로 설정하게 된다. 물론 autoneg 를 on 으로 했기 때문에 상대 장치와 협상을 하게 된다.
다음의 명령으로 설정된 내용이 잘 적용되었는지 확인할 수 있다.
$ sudo ethtool enp3s0
Settings for enp3s0:
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
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
'정보' 카테고리의 다른 글
git 캐시 삭제 , 지우기 (0) | 2021.04.05 |
---|---|
git 의 remote (리모트) 주소 변경 방법 (0) | 2021.04.05 |
Windows 의 네트워크 연결 속도 체크하는 방법 (0) | 2021.04.05 |
Linux 타임존 한국시간 (KST) 으로 변경하기 (0) | 2021.04.04 |
vi 에디터에서 클립보드로 복사할 때 (0) | 2021.04.04 |