Tag Info

New answers tagged

1

Another solution, using udevadm udevadm info -a -p /sys/class/net/eth{0..10} | awk '/device.*eth/' {0..10} – checks the initerfaces from eth0 … eth10 Therefore you could use this command pci_address=$(udevadm info -a -p /sys/class/net/eth{0..10} | awk -F/ '/device.*eth/ {print $4}') Example output looking at device ...


2

lswh and lspci bot are capable of showing that information.As you have found out already, you can do lshw -class network -businfo. For instance, here's my output: $ sudo lshw -c network -businfo Bus info Device Class ...


1

It looks you can tie them together by the IRQ. ifconfig -a will print the ethernet devices including Interrupt. eg. eth2 Link encap:Ethernet HWaddr 00:25:11:19:8b:77 inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::225:11ff:fe19:8b77/64 Scope:Link UP BROADCAST RUNNING MULTICAST ...



Top 50 recent answers are included