On Tue, Jan 29, 2013 at 12:13:37PM -0600, Andrew McNabb wrote: > On Tue, Jan 29, 2013 at 06:11:19PM +0000, Matthew Garrett wrote: > > > > Walk /sys/class/net, filter on type, filter out bridges, filter out > > wireless if you want to. sysfs should have all the information you need > > without name-based heuristics. > > You have added confirmation that any attempt to figure out the name of > the interface is an ugly brittle mess. ;) What is "The ethernet device"? It's the device that speaks ethernet and which isn't wireless or a bridge. The correct way to identify it is to look for devices that speak ethernet and which aren't wireless or bridges. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel