• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Unable to do a host registration

Scheduled Pinned Locked Moved
FOG Problems
6
28
13.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pjacksn
    last edited by Nov 10, 2014, 6:43 PM

    Here is the rest.

    [url]http://10.1.40.103/fog/service/ipxe/boot.php?mac=00:21:cc:5d:f8:5f[/url]

    #!ipxe
    cpuid --ext 29 && set arch x86_64 || set arch i386
    colour --rgb 0xff6600 2
    cpair --foreground 7 --background 2 2
    console --picture [url]http://192.168.1.1/fog/service/ipxe/bg.png[/url] --left 100 --right 80
    :MENU
    menu
    colour --rgb 0x00ff00 0
    cpair --foreground 0 3
    item --gap Host is registered as T420a-R8W8YH3
    item --gap – -------------------------------------
    item fog.local Boot from hard disk
    item fog.memtest Run Memtest86+
    item fog.keyreg Update Product Key
    item fog.quickimage Quick Image
    item fog.quickdel Quick Host Deletion
    item fog.sysinfo Client System Information (Compatibility)
    item fog.advanced Advanced Menu
    choose --default fog.local --timeout 60000 target && goto ${target}
    :fog.local
    sanboot --no-describe --drive 0x80 || goto MENU
    :fog.memtest
    kernel memdisk iso raw
    initrd memtest.bin
    boot || goto MENU
    :fog.reginput
    kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 1
    imgfetch init_32.xz
    boot || goto MENU
    :fog.keyreg
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param keyreg 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
    goto MENU
    :fog.reg
    kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 1
    imgfetch init_32.xz
    boot || goto MENU
    :fog.quickimage
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param qihost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
    goto MENU
    :fog.quickdel
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param delhost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
    goto MENU
    :fog.sysinfo
    kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 mode=sysinfo
    imgfetch init_32.xz
    boot || goto MENU
    :fog.debug
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param debugAccess 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
    :fog.advanced
    chain -ar [url]http://192.168.1.1/fog/service/ipxe/advanced.php[/url] || goto MENU
    autoboot

    Thanks in advance for any help you can provide.

    1 Reply Last reply Reply Quote 0
    • Tom ElliottT
      Tom Elliott
      last edited by Nov 10, 2014, 7:00 PM

      From what I’m seeing, the host is registered.

      I don’t know why it failed installing tftp, but from the boot menu, the host is already registered so you wouldn’t see the quick reg and inventory option.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • P
        pjacksn
        last edited by Nov 10, 2014, 7:25 PM

        For this particular host, you are correct. I was using this host for testing purposes only. However, if it was not already registered, there is no option, as far as I have been able to tell, on the PXE menu to register and inventory the host. The “Quick Registration and Inventory” option was on the PXE menu when I was running FOG 0.32, but it is no longer there after the upgrade to 1.2.0.

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by Nov 10, 2014, 8:01 PM

          So again can you post the exact same thing [U][I][B]BUT with this BAD HOST[/B][/I][/U]

          1 Reply Last reply Reply Quote 0
          • P
            pjacksn
            last edited by Nov 10, 2014, 8:36 PM

            It seems, if I understood the original post correctly, that we appear to be missing the actual issue. If I misunderstood the original post, then I apologize for muddying the waters. The issue I am having, the same issue to which I believe the original post refers, has been stated twice in my earlier posts.

            In my most recent post, I stated:
            The “Quick Registration and Inventory” option was on the PXE menu when I was running FOG 0.32, but it is no longer there after the upgrade to 1.2.0.

            In my original post, I asked:
            Is there a way to add this option back to the PXE menu, or at the very least, perform the same function with another PXE menu option?

            Again, I thank you in advance for any help you may provide.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by Nov 10, 2014, 8:48 PM

              Can you provide the boot.php output using the Mac of that particular host?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • P
                pjacksn
                last edited by Nov 12, 2014, 12:08 AM

                OK. It looks like my issue was user error and ignorance. I believe my installation is doing what I need it to do. The first problem was that I was used to all hosts booting to the same PXE menu, as was the case in version 0.32. When I deleted the registration for my test host, I got a different menu, which contained the Quick Registration and Inventory option that I needed. So, for anyone else out there upgrading from version 0.32, with the new version, unregistered hosts boot to one menu, and registered hosts boot to a different menu. The next issue was getting it configured properly. Thanks again for your assistance.

                1 Reply Last reply Reply Quote 0
                • J
                  joacliba
                  last edited by Dec 11, 2014, 2:11 PM

                  Well, I tried to boot another pcs with the same behaviour: When I click on “registration” menu option the system reboots. [S]But, if I try to boot on a virtualbox virtual machine, that option gives me a “FATAL: INT18: BOOT FAILURE” error. [/S](ops, is an Virtualbox error…). I don’t know what is happening. I tried to reinstall fog without success.

                  Any idea what is wrong?

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by Dec 11, 2014, 2:27 PM

                    So…

                    Host isn’t registering? Is this all hosts, or just particular hosts?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • J
                      joacliba
                      last edited by Dec 11, 2014, 2:42 PM

                      I can’t register any host.

                      Well! I managed to see the error on an old computer:

                      /bzImage32… No such file or directory ([url]http://ipxe.org/2d12603b[/url])
                      Could not boot: No such file or directory ([url]http://ipxe.org/2d12603b[/url])

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by Dec 11, 2014, 3:27 PM

                        what version of fog are you running?

                        Can you update to the latest?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • J
                          joacliba
                          last edited by Dec 11, 2014, 8:25 PM

                          I’m on [SIZE=12px][FONT=Verdana][COLOR=#494949]1.2.0 (the latest version published)[/COLOR][/FONT][/SIZE]

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wolfbane8653 Developer
                            last edited by Dec 11, 2014, 8:28 PM

                            1.2.0 is the stable published release. This was put out in June. If you could update to trunk it will help to narrow down some issues. Please update using the wiki link below.

                            [url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]

                            1 Reply Last reply Reply Quote 0
                            • J
                              joacliba
                              last edited by Dec 11, 2014, 8:30 PM

                              I’ll test tomorrow the SVN version.

                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • J
                                joacliba
                                last edited by Dec 12, 2014, 1:45 PM

                                It’s working with the latest SVN version, thank you very much!

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post

                                144

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project