Hey Paul, Paul Wise [2015-05-09 16:15 +0800]: > Is there a tool to list interfaces based on their characteristics? > Right now at $work our initial setup code does glob eth* in > /sys/class/net in order to setup a bond interface using all NICs, so > network works no matter which NIC one plugs a cable into. It sounds > like this proposal would break that, so we would need a way to list > all Ethernet interfaces but not the bond interface and not any USB > network interfaces etc.
en* should be the equivalent with ifnames (but not with biosdevname!). Wifis are called wl*, and virtual interfaces like vlans, bridges, bonds, etc. are assigned by the admin (or at least not by the kernel and udev) anyway. However, I don't know how USB ethernet interfaces look like (neither in the kernel driver nor with ifnames). Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150509094446.gc3...@piware.de