Am 12.11.2010 18:51, schrieb Etaoin Shrdlu: > mii-tool -w eth0 > > Also look at ethtool -p (details in the man page).
Yep, thanks. Maybe I haven't explained exactly what I mean: I want to somehow find out the relation between loaded kernel-module and ethernet-devicefile. Without physical access ... In another way: "Which kernel-module is in use for /dev/ethX ?" For example I have Intel-Servers with two Intel-NICs, one needs e1000, the other e1000e. If that server is 100 kms away I 'd like to be able to ask the system "does eth0 run on e1000 or e1000e?". For udev the trick with grepping the rules-file is somehow nice. I assume there would also some other way to ask udevd itself? dmesg as well, although I think there should be a way to find that connection even when I did a "dmesg -c" somehow. "lspci -v" tells me about the loaded module for the pci-device, fine. But even with "-vvv" I don't see the link over to the MAC or something like that. Thank you all, Stefan