I'm running Debian Weezy on an ARM board. Right now I'm working around an issue with my network driver by running an ethtool command that limits the Ethernet interface to 100 megabit. However, the issue with the driver manifests itself as early as DHCP negotiation, so I need to run ethtool before dhclient runs.
I've been trying to find a place where ethtool (or mii-tool, either way) can run before dhclient. So far all of the places I've tried (
/etc/dhcp/dhclient-enter-hooks.d) won't work because "eth0" isn't present yet.
Is there a clean hook in the Debian network or system configuration where I can make changes to the Ethernet state before dhclient runs? Or am I trying to do something impossible here?