Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DHCP configuring error 0x40ee186
2015-01-21, 11:44
Post: #7
RE: DHCP configuring error 0x40ee186
I am having the same issue with the latest git version

d38bac05e7d0eb67fc19f3532a6b4fa00804106e ([build] Include Hyper-V driver in the all-drivers build)

uefi mode (8086150e.efi)

This fixes it for me.
Code:
+++ b/src/usr/autoboot.c
@@ -360,9 +360,16 @@ int netboot ( struct net_device *netdev ) {
                goto err_ifopen;
        ifstat ( netdev );

+       if ( ( rc = ifconf ( netdev, NULL ) ) == 0 )
+               goto ok_dhcp;
+
+       netdev_close ( netdev );
+
        /* Configure device */
        if ( ( rc = ifconf ( netdev, NULL ) ) != 0 )
                goto err_dhcp;
+
+ok_dhcp:

I know it does not make much sense, but it does the trick Smile

If you need to, I can run any tests on my board.

Regards!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: DHCP configuring error 0x40ee186 - ribalda - 2015-01-21 11:44



User(s) browsing this thread: 1 Guest(s)