On Sun, 2014-09-07 at 14:22 -0400, Jean-Marc Ranger wrote: [...] > Various notes, not all relevant... > - This was found while trying to configure an ethernet card as > "autoneg ON, speed limited to 100mbps or below". > - I was able to achieve my goal by changing the (empty) and ON cases > in the code above by forcing "autoneg on advertise 0x00F". > - I still haven't found who calls this script - said otherwise, I > still don't know how to specify IF_ETHERNET_AUTONEG. Please tell me. > Consequence - I haven't been able to test my proposed fix.
This is documented at https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_scripting_with_the_ifupdown_system Specifically, $IF_ETHTOOL_AUTONEG comes from the ethtool-autoneg field for the interface configuration in /etc/network/interfaces. But if you use Network Manager, there is no interface configuration in that file, so this script won't do anything. > - I'm still wondering whether I should place my patch somewhere else > (boot sequence? if-pre-up? /etc/network/interfaces (if so, how?)? ) > instead of in the ifup script. Suggestions welcome. You might have to make it an init script. Ben. -- Ben Hutchings Experience is directly proportional to the value of equipment destroyed. - Carolyn Scheppner
signature.asc
Description: This is a digitally signed message part