Problems with DHCP configuration

  • To configure our boards to use DHCP to acquire an IP address we change the value EnableDHCP inside the registry under HKLM\Comm\ETHNETA1\Parms\TcpIp. Then we simply execute ndisconfig adapter rebind ETHNETA1 which works as expected. If we want to use a static address we simply set EnableDHCP=0 add an additional entry for the static IP and rebind again which works, too.
    But after turning DHCP off and on again via the registry the device doesn't get a valid IP address anymore. I already checked with wireshark and can see that the device ist not sending a DHCP request.

    With an older image we were able to switch this setting on and off as often as needed and the device always got a valid address when DHCP was enabled.

  • Hello,

    can you please tell me the driver version which is working/not working and if the problem is related to efusA9/efusA)R2 or both.

    Thanks.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • The problem occurs with both versions of the efus(r1 and r2).
    The debug output logs show:

    [working]

    ENET: Version 1.3, ActiveKey = Comm\ETHNETA

    ETHMAN: Version 1.1, ActiveKey = Drivers\Active\32


    [problems with DHCP]

    ENET: Version 1.7, ActiveKey = Comm\ETHNETA

    ENET: PHY_PWRDOWN=FALSE MII_REG_CR=0x3100

    ETHMAN: Version 1.2, ActiveKey = Drivers\Active\32

  • Sorry, no i did not test it.

    Hope I can spend some time next week. At the time we are bound on other projects.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.