The mii-tool command allows you to set or autodetect the media type or mii chipset-based ethernet devices. It traditionally had been distributed in the net-tools package. This is a single distribution, optimized for embedded systems and fully automated cross/-sysroot-builds.