Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2008
sort order of listed devices by ifconfig
I run an application which reads the first (!!!) MAC-address (SIOCGIFHWADDR) just like ifconfig does. so I want my eth0 to be on top of the list, not my bond0 or dummy0 or whatever0. can I kinda "sort" the devices which are shown by ifconfig? I know how to rename them (eth1 -> eth0) or how to load modules earlier than others, but I can't geht eth0 listed before dummy0, which comes always first in my case.