Computer/linux

check the ethernet card configuration on Linux

citadel 2013. 1. 17. 16:13

1. check eth0 in dmesg

root@# dmesg | grep eth0
[    1.886676] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 50:e5:49:ec:77:b2
[    1.886678] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
[    1.886709] e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[   18.806173] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.601211] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   22.601917] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   32.723394] eth0: no IPv6 routers present

2. run lshw

root@jhleepc:/home/jhlee# lshw -C network
  *-network              
       description: Ethernet interface
       product: 82579V Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 05
       serial: 50:e5:49:ec:77:b2
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=1.5.1-k duplex=full firmware=0.13-4 ip=192.168.101.24 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:52 memory:fa600000-fa61ffff memory:fa648000-fa648fff ioport:f040(size=32)