Network interface status with mii-tool
To view and set status of a network interface, you can use mii-toolutility
To view status of interfaces:
mii-tool
simply displays status of all interfaces.
Sample output is as below:
eth0: negotiated 100baseTx-FD, link ok
eth1: 100 Mbit, half duplex, no link
To set one interface to a value by using force, you can use
the command below:
mii-tool -F <media> <device>
where <media> is one of 100baseT4, 100baseTx-FD,
100baseTx-HD, 10baseT-FD, 10baseT-HD
and device is the interface name such as eth0 or eth1
Example:
mii-tool -F 100baseTx-FD eth0
sets interface eth0 to 100baseTx-FD without autonegotiation.
- 0 Comment
- Halil Demirezen
- 25 Jul 2008, 14:05
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
