On the Network devices page, the device name for my ethernet
card says /dev/eth instead of /dev/eth0.
Actually, this is the data that kudzu provides. Try this from a python interpreter:
d = kudzu.probe(kudzu.BUS_UNSPEC, kudzu.CLASS_UNSPEC, kudzu.PROBE_SAFE)
The network section will look something like this:
, Desc: Lite-On|LNE100TX
Shouldn't kudzu should return 'eth0', 'eth1', etc the same way that it returns
'fd0', or 'hdb'? Changing component to kudzu.
No, the 'device' field is just an indication of the device prefix;
'eth' for ethernet, 'tr' for token-ring.
But doesn't something like 'hdc' tell you more than the device prefix? It's
telling you not just that the device is a hard drive, but that it is the third
hard drive on the IDE bus.
Although I guess that 'eth0' isn't really the hardware device name the way that
'hdc' is. Rather, it's just the interface name that the OS has assigned to that
I don't think that there's much I can do about this in any kind of clean way. I
could take the data that kudzu provides and then try to find a match on the
driver in /etc/modules.conf, but what if I have two cards that use the same
driver? /etc/modules.conf can't tell me then which card is eth0 and which is
eth1. I'm reluctantly closing as 'wontfix'. This bothers me, but I don't see
what I can really do about it. If you have a better idea, please reopen this