System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to know Lan card speed , duplex etc information if default tools fails

How to know Lan card speed , duplex etc information if default tools fails

in linux if the default tool like ethtool and mii-tool not working

Is there any other way we can find ethernet information
7 REPLIES
Ivan Ferreira
Honored Contributor

Re: How to know Lan card speed , duplex etc information if default tools fails

What do you get in the output of ethtool?

Somethimes, dmesg and /var/log/messages provides information about the network interface.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?

Re: How to know Lan card speed , duplex etc information if default tools fails

There is nothing in dmesg on speed.

Matti_Kurkela
Honored Contributor

Re: How to know Lan card speed , duplex etc information if default tools fails

The /sys filesystem contains a lot of information on various things, network interfaces included.

For example, eth0:

$ cat /sys/class/net/eth0/duplex
full
$ cat /sys/class/net/eth0/speed
1000

Note: this will work only on systems with a 2.6.* series kernel: older systems won't have the /sys filesystem.

MK
MK
Gerardo Arceri
Trusted Contributor

Re: How to know Lan card speed , duplex etc information if default tools fails

You can also check the switch information for the ports used by the server.

Re: How to know Lan card speed , duplex etc information if default tools fails

#:/sys/class/net/eth0# ls
address addr_len broadcast device driver features flags ifindex iflink mtu statistics tx_queue_len type


I dont see any file which indicates speed or duplex

# uname -r
2.6.9-89.ELsmp
Steven E. Protter
Exalted Contributor

Re: How to know Lan card speed , duplex etc information if default tools fails

Shalom,

If the above tools are not providing any information, I can surmise the following:
1) The hardware has failed.
2) The hardware is not fully supported by the OS.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: How to know Lan card speed , duplex etc information if default tools fails

Thankss all