Messages in this thread | | | Subject | Re: network devices and passing options to kernel | Date | Fri, 10 Sep 1999 13:44:38 +0100 | From | David Woodhouse <> |
| |
lauri.tischler@efore.fi said: > Yes, but still you have no idea which interface belongs to which > card, so just renaming them, without knowledge of which slot contains > which ethx, is useless.
Ah - I assumed you were going to do this based on MAC addresses.
i.e.
foreach interface; do get mac address lookup the desired interface name for this mac address set name accordingly done
You could also possibly do it by snooping on the interface to see which IP addresses are on it, or trying DHCP. The point was that this isn't a kernel problem.
---- ---- ---- David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302 Project Leader, Process Information Systems Mobile: (+44) 976 658355 Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK. finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |