• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Rafa
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Rafa

    • RE: As of svn 3013 i get input\output pxe error. does that mean i need to flash my pxe ?

      Hello,

      yesterday I found the same problem while trying to quick register a laptop booting from the network. If I tried network boot with an already registered laptop, everything worked fine. I had r3016 (clean install) on Ubuntu 14.04 (64 bits). After reading this post, I downgraded to r3012 and faced the same problem. So I clean installed r3016 again, and took a look at /var/www/fog/lib/fog/BootMenu.class.php, and changed some lines:

      Where it was:

      [PHP]
      $iPXE = new iPXE(array(
      ‘product’ => $_REQUEST[‘product’],
      ‘manufacturer’ => $_REQUEST[‘manufacturer’],
      ‘mac’ => $Host->get(‘mac’),
      ‘success’ => 1,
      ‘file’ => $_REQUEST[‘filename’],
      ‘version’ => $_REQUEST[‘ipxever’],
      ));
      [/PHP]

      I changed it to:

      [PHP]
      if ($Host && $Host->isValid())
      {
      $iPXE = new iPXE(array(
      ‘product’ => $_REQUEST[‘product’],
      ‘manufacturer’ => $_REQUEST[‘manufacturer’],
      ‘mac’ => $Host->get(‘mac’),
      ‘success’ => 1,
      ‘file’ => $_REQUEST[‘filename’],
      ‘version’ => $_REQUEST[‘ipxever’],
      ));
      }
      else
      {
      $iPXE = new iPXE(array(
      ‘product’ => $_REQUEST[‘product’],
      ‘manufacturer’ => $_REQUEST[‘manufacturer’],
      //‘mac’ => $Host->get(‘mac’),
      ‘success’ => 1,
      ‘file’ => $_REQUEST[‘filename’],
      ‘version’ => $_REQUEST[‘ipxever’],
      ));
      }
      [/PHP]

      The only thing I do is to check “$Host” before calling “get(‘mac’)”. Now I can register, upload, and deploy images from/to this laptop without any problem.

      I hope it helps someone else.

      Regards!
      Rafa.

      posted in FOG Problems
      R
      Rafa
    • 1 / 1