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

    Two issues I'm having

    Scheduled Pinned Locked Moved
    General Problems
    3
    26
    7.2k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      What is the problem?

      You installed FOG, and are trying to import hosts. What’s not working here? Your message doesn’t really clarify anything.

      You can’t PXE Boot hosts. What do you mean? Just importing hosts into FOG does not make hosts PXE Boot. You have to tell the systems to use PXE, and your DHCP Server should be setup to hand out the required information.

      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

      B 1 Reply Last reply Reply Quote 0
      • B
        BrendoJohnso
        last edited by BrendoJohnso

        @Tom-Elliott I’m not trying to Pxe boot hosts by importing them but I’m not able to create the hosts from importing the csv file i made except for 11 random ones that were in the sheet.

        I’m not sure about the next problem really but I’m trying to upload an image to the server and the site itself will not take over the machine I’ve been trying to look up how to correctly do it and it was to go to the boot menu and do the onboard network controller option but it dosen’t find the task or files necessary to ruin the task

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @BrendoJohnso
            last edited by

            @BrendoJohnso
            Imported Hosts need at least two fields:

            First field would be the mac address(es) of the host.
            Second field would be the hostname.

            The CSV would look something like:

            00:ab:cd:ef:12:34|01:02:03:04:05:06,SomeHostName

            Importing this would create a host with:
            Name: SomeHostName
            Primary MAC: 00🆎acd:ef:12:34
            Additional MACs: 01:02:03:04:05:06

            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

            B 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator
              last edited by

              If given the option I would install FOG 1.3.4 or 1.3.5RC (dev branch) over 1.2.0. If this is only for testing 1.2.0 (stable) will work. The issue you have is that 1.2.0 is about 4 years old and it doesn’t support Win10, GPT format, uefi, and Nvme disks. If you are testing with old hardware then 1.2.0 will work just fine. Its the newer stuff that you will have issues with.

              Now to your point.

              Getting FOG rolling, includes several technologies outside of FOG itself.

              You need to update your dhcp server to point to the FOG server so the PXE booting clients know how to find your FOG server. This is done by updating dhcp options 66 {next-server} and 67 {boot-file}. DHCP option 66 should be set to the IP address of your FOG server. DHCP option 67 should be set to undionly.kpxe. Once you have that setup you should be able to PXE boot your target computers and see the FOG iPXE menu.

              Once you get to this point you can take the next steps.

              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!

              B 1 Reply Last reply Reply Quote 0
              • B
                BrendoJohnso @Tom Elliott
                last edited by

                @Tom-Elliott I used Excel and put in the primary Macs and host names does it all need to be in one cell or will adjoining cells work

                1 Reply Last reply Reply Quote 0
                • B
                  BrendoJohnso @george1421
                  last edited by

                  @george1421 Thank you if there are anymore outer Fog steps that are needed please go ahead and list them for me as itll be awhile before i can setup the actual server

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @BrendoJohnso
                    last edited by

                    @BrendoJohnso You have FOG 1.2.0 running on Ubuntu 14.04 right?

                    If so that part is setup, all you need to do is setup / change your dhcp settings. If you are doing this test setup in a home lab then there are a few other things we could setup. Home dhcp servers (typically your ISP router) doesn’t have the options needed to pxe boot computers. This isn’t a problem either, we just need to know a bit more of your setup.

                    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!

                    B 2 Replies Last reply Reply Quote 0
                    • B
                      BrendoJohnso @george1421
                      last edited by

                      @george1421 Thank you very much makes it a lot better I’m going to see like you said about updating the Fog version quickly to 1.3.4

                      george1421G 1 Reply Last reply Reply Quote 0
                      • B
                        BrendoJohnso @Tom Elliott
                        last edited by

                        @Tom-Elliott It is working perfectly with the imports now thank you so much just saved me from manually entering 600 hosts

                        1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @BrendoJohnso
                          last edited by

                          @BrendoJohnso That is find if you want to upgrade. Its not a bad idea.

                          I can tell you the normal work flow for fog is this.

                          (new computer)->PXE boot into FOG->Select Registration Menu->Register->Image deployment.

                          You don’t need to pre-register computers as you are doing with your spreadsheet. You can do it that way, its just extra work for little value.

                          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!

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BrendoJohnso @george1421
                            last edited by

                            @george1421 My higher-ups would like to have them all on file beforehand or i would do it that way but thank you

                            1 Reply Last reply Reply Quote 1
                            • B
                              BrendoJohnso @george1421
                              last edited by

                              @george1421 I managed to get the settings and everything changed for the DHCP server but when i Pxe boot now it says that TFTP has “open timeout” and still does not get to Fog

                              Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @BrendoJohnso
                                last edited by

                                @BrendoJohnso Have you checked firewalls on the FOG Server?

                                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
                                • george1421G
                                  george1421 Moderator @BrendoJohnso
                                  last edited by george1421

                                  @BrendoJohnso There are 2 things you need to do to the FOG host server when FOG is installed.

                                  1. Disable the firewall (iptables)
                                  2. Change selinux config to permissive.

                                  beyond that.
                                  On the fog server linux console, if you key in the following command sudo netstat -an|grep 69 that should give you an output that looks like this:

                                  # sudo netstat -an|grep 69
                                  udp        0      0 0.0.0.0:69              0.0.0.0:*
                                  

                                  That tells us the tftp server is running (what the client needs to pick up the undionly.kpxe file)

                                  If you are unsure if the firewall is disabled, post the output of this command sudo iptables -L

                                  If your output looks like this then your firewall is off

                                  # sudo iptables -L
                                  Chain INPUT (policy ACCEPT)
                                  target     prot opt source               destination
                                  
                                  Chain FORWARD (policy ACCEPT)
                                  target     prot opt source               destination
                                  
                                  Chain OUTPUT (policy ACCEPT)
                                  target     prot opt source               destination
                                  

                                  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!

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    BrendoJohnso @george1421
                                    last edited by

                                    @george1421 The firewall one looks the same so its off
                                    However the tftp one says this
                                    0_1489507515853_17310884_745864205584703_1335500862_o (1).jpg

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

                                      @BrendoJohnso What’s output with:

                                      sudo systemctl status tftpd-hpa

                                      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

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        BrendoJohnso @Tom Elliott
                                        last edited by

                                        @Tom-Elliott its saying that’s an unknown command

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

                                          @BrendoJohnso Maybe:

                                          service tftpd-hpa status

                                          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

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            BrendoJohnso @Tom Elliott
                                            last edited by

                                            @Tom-Elliott tftpd-hpa start/running

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

                                            157

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project