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

    Fog PXE Boot with USB to Ethernet Adapter

    Scheduled Pinned Locked Moved
    FOG Problems
    8
    45
    28.4k
    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.
    • K
      Keith Schindler
      last edited by

      Hello,
      I’ll make a long story short: it has been a long journey from Symantec Ghost, to Clonezilla and finally FOG.

      Disclaimer: I’m a Linux n00b but I’m doing my best.

      So far, I really like the features of Fog and it looks like I’m almost there.

      I have been trying to image a batch of Lenovo ultrabooks which do not have a built-in NIC. I’m using an ASIX AX88772B USB to Ethernet adapter and an Ubuntu 13.04 box running Fog.

      I can PXE into the Fog PXE GUI but if I select any option that loads the Kernel I get stuck with the following error: “Error: Driver ‘mdio-gpio’ is already registered, aborting…”

      I did some reading and it looks like I should have better luck with an alternative kernel. Unfortunately, I can’t seem to get any kernel to work except the one that installed with Fog. I have been downloading custom Fog Kernels (namely Tom Ellitott’s) and replacing the bzImage file in the tftpboot/fog/kernel directory.

      If I use a custom kernel, the screen on the client just flickers when I choose a menu item (such as “Quick host registration and inventory”). If I then replace the custom kernel with the original, it will load and then give me the aforementioned error.

      Any tips??

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Try my kernel. Use the link in my signature and try again.

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          My kernel names have changed and allNet is a base start of my configs now.

          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
          • K
            Keith Schindler
            last edited by

            Hi Tom,
            Thank you for the prompt response!

            I have actually tried all three kernels in your link (even though I’m on .32). I get the same result with all of them: when the custom kernel is in place, the PXE client just flickers when I select a menu item. Then if I copy the original kernel back, it works (except for the error).

            Am I missing something?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              make sure the bzImage is owned by the fog.root permissions.
              [code]sudo chown -R fog:root /tftpboot[/code]

              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
              • K
                Keith Schindler
                last edited by

                Unfortunately, I’m still experiencing the same condition. I moved your kernel, did the chown and the icon changed (and got my hopes up) but it still just flickered when I clicked a menu on the PXE machine. I then copied the original kernel back and loaded it without issue… 😞

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Which kernel?

                  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
                  • K
                    Keith Schindler
                    last edited by

                    (I shouldn’t say “without issue” I still get the driver error, of course.)

                    1 Reply Last reply Reply Quote 0
                    • K
                      Keith Schindler
                      last edited by

                      3.14 x64

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Okay,

                        can you try these commands specifically:
                        [code]cd /tftpboot/fog/kernel
                        sudo mv bzImage bzImage.original.worksKINDA
                        sudo wget -O bzImage https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/bzImage32
                        sudo chown -R fog:root /tftpboot
                        [/code]

                        It may have just downloaded a corrupt kernel.

                        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
                        • K
                          Keith Schindler
                          last edited by

                          I have to head out for the night but I will give it a try in the morning and follow-up. Thank you again!

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            No problem.

                            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
                            • K
                              Keith Schindler
                              last edited by

                              That worked to load the new kernel! However, it looks like I’m still having a driver problem. 😞

                              No it loads your kernel and says:
                              “esas2r: driver will not be loaded because no ATTO esas2r devices were found
                              lguest: switcher test too large (4384)
                              hub 2-0:1.0: couldn’t allocate port 1 usb_device”

                              It then says couldn’t allocate port 2 (3 and so on…) usb_device

                              It continues to “Attempting to send inventory…” and the prompt just blinks and I have no lint light on the switch.

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                [quote=“Keith Schindler, post: 25890, member: 23815”]That worked to load the new kernel! However, it looks like I’m still having a driver problem. 😞

                                No it loads your kernel and says:
                                “esas2r: driver will not be loaded because no ATTO esas2r devices were found
                                lguest: switcher test too large (4384)
                                hub 2-0:1.0: couldn’t allocate port 1 usb_device”

                                It then says couldn’t allocate port 2 (3 and so on…) usb_device

                                It continues to “Attempting to send inventory…” and the prompt just blinks and I have no lint light on the switch.[/quote]

                                The esas2r issue is to be expected as you likely DO NOT have the esas2 scsi system on your setup.

                                Can you make sure that the USB NIC is running on a NON-USB 3.0 port?

                                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
                                • K
                                  Keith Schindler
                                  last edited by

                                  Bah, these units only have USB 3 ports… (Lenovo Yoga S1)

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    Can you try a core kernel, maybe 3.8.8?

                                    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
                                    • K
                                      Keith Schindler
                                      last edited by

                                      I did the same steps outlined previously but replaced the wget address with [url]https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.xz[/url] and [url]https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.8.tar.xz[/url]

                                      Both kernels will not work for me. I’m getting “Invalid or corrupt kernel”

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        the files you’re downloading from kernel.org are not the kernel’s, well not built at least. You’re actually downloading the source files that allow you to build the kernels. This is why you’re seeing “Invalid or corrupt kernel.” Because they’re invalid.

                                        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
                                        • K
                                          Keith Schindler
                                          last edited by

                                          I was just noticing that. Do you know where I can find them pre-compiled?

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            Sourceforge

                                            From the web gui, you can go to Other Information/FOG Configuration (the ? icon) -> kernel update and select the kernel you want.

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            160

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project