Results 1 to 1 of 1
Hello,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-18-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 3
sort order of listed devices by ifconfig
Hello,
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.
any ideas?
greets,
McBain


Reply With Quote
