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

Unsure if these settings in FOG are correct

Scheduled Pinned Locked Moved Unsolved
FOG Problems
6
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.
  • P
    pencils
    last edited by Oct 6, 2016, 8:23 AM

    Server
    • FOG Version: 1.3
    • OS: Ubuntu
    Client
    • Service Version:
    • OS:
    Description

    Can someone tell me if these settings are correct in my FOG install. 0_1475742186654_TFTP settings.PNG

    M 1 Reply Last reply Oct 6, 2016, 8:37 AM Reply Quote 0
    • M
      mp12 @pencils
      last edited by mp12 Oct 6, 2016, 2:37 AM Oct 6, 2016, 8:37 AM

      @pencils
      At first view everything seems to be correct. Do you have problems with the tftp?

      1 Reply Last reply Reply Quote 0
      • P
        pencils
        last edited by Oct 6, 2016, 8:55 AM

        yes. Initially i didnt have a folder at the root called /tftproot. So i manually copied it over. I also isntalled DNSMASQ. I know my PXE client is reading the config file because i made a change to the timeout for pressing F8 from 3 secs to 15. My pixxy client, then, im assuming tries to read the boot file and fails with an exit code. So i changed the config file to read the UNDIONLY.PXE, But it fails and im not sure why. The error is PXE-M0F

        M W 2 Replies Last reply Oct 6, 2016, 9:35 AM Reply Quote 0
        • M
          mp12 @pencils
          last edited by Oct 6, 2016, 9:35 AM

          @pencils
          Do you have a folder called tftproot or is it just a typo and you have a folder tftpboot?

          If it was a typo take a lock at these configs:

          Remove the last slash in FOG_TFTP_PXE_KERNEL_DIR setting.
          Check if the .pxe, .kpxe files in the /tftpboot are available?
          Also check if the the kernel and boot images are present in /var/www/fog/service/ipxe

          Can you please attach a screenshot of the PXE-M0F error.

          1 Reply Last reply Reply Quote 0
          • P
            pencils
            last edited by Oct 6, 2016, 10:17 AM

            sorry that was my error. It is /tftproot. i have attached a few screen grabs of the different locations of the file structure. Also as i am using DNSMASQ i have attached the config file.

            0_1475748439276_IPXE folder.PNG 0_1475748446167_tftproot.PNG 0_1475749007208_dnsmasq1.PNG 0_1475749011911_dnsmasq2.PNG

            T 1 Reply Last reply Oct 6, 2016, 10:24 AM Reply Quote 0
            • T
              Tom Elliott @pencils
              last edited by Oct 6, 2016, 10:24 AM

              @pencils According to your pictures, you have a folder called “tftproot” and I’m fairly sure it should be “/tftpboot” (With a b, not an r).

              Yep, it’s with a b:

              https://github.com/FOGProject/fogproject/search?utf8=✓&q=tftpboot

              Please update your folders properly and the files referencing /tftproot change to /tftpboot and I suspect you’ll have more success. While looking for this, I see that I have a couple of hard-coded references to /tftpboot which should probably use the variable name. I’ll fix that tonight (which should enable people to have their own setup as needed).

              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

              P 1 Reply Last reply Oct 6, 2016, 12:26 PM Reply Quote 1
              • P
                pencils @Tom Elliott
                last edited by Oct 6, 2016, 12:26 PM

                @Tom-Elliott do appreciate all your help. My PXE boot client keeps bombing out at the TFTP bit. I have attached a pic…is there any tools to see what TFTP is not doing…??very frustrating…!
                Also its not on the screen, but when i press F11 then F8 the screen displays BD, then it bombs out.

                [0_1475756423399_IMAG1208.jpg](Uploading 100%) 0_1475756637041_IMAG1208.jpg

                T 1 Reply Last reply Oct 6, 2016, 12:42 PM Reply Quote 0
                • T
                  Tom Elliott @pencils
                  last edited by Tom Elliott Oct 6, 2016, 6:43 AM Oct 6, 2016, 12:42 PM

                  @pencils As from the configuration I can see you’re trying to use undionly.kpxe, can you please make a copy from the undionly.kpxe to undionly.kpxe.0:

                  sudo cp /tftproot/undionly.kpxe{,.0}
                  

                  Also, because your network boot is only looking for undionly please also run:

                  sudo cp /tftproot/undionly{.kpxe,.0}

                  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
                  • G
                    george1421 Moderator
                    last edited by george1421 Oct 6, 2016, 6:45 AM Oct 6, 2016, 12:44 PM

                    I did create a tutorial for dnsmasq on Cento 7. The config file and instructions are still relevant for other flavors of linux too. You might want to review this document: https://forums.fogproject.org/topic/6376/install-dnsmasq-on-centos-7

                    Personally I would create the link to the .0 files and not just copy the files statically to the .0 files. The link will work if / when you upgrade, where the static copy files won’t.

                    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!

                    P 1 Reply Last reply Oct 6, 2016, 2:16 PM Reply Quote 0
                    • P
                      pencils @george1421
                      last edited by Oct 6, 2016, 2:16 PM

                      @george1421 hi,

                      right what i have done thus far. I worked through your tutorial. I uncommented "enable-tftp"and switched off the TFTPD-hpa service. I got 2 errors. PXE-E32 and PXE-M0F. I then commented out the enable-tftp and switched the service tftpd-hpa on and i only got the second error-PXE-M0F

                      are there any tools i can use to see what the tftpd service is doing? I have googled it and it said something about a grep command? Is there any software i can install on my ubuntu?

                      Any ideas…im nearly there with getting FOG working and i really dont want to abandon it at this late stage.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Oct 6, 2016, 2:31 PM

                        I’m so very confused by the configuration here and what the problem IS.

                        This looks like something has been extremely customized and makes it almost impossible for us to properly help.

                        For example, a “fresh install” will normally “just work” but based on the configuration files things have been changed quite severely. Now that doesn’t mean we can’t help you, but we need a full backstory first.

                        For example, a fresh install will create /tftpboot folder for you. (Not tftproot).

                        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

                        G 1 Reply Last reply Oct 6, 2016, 2:33 PM Reply Quote 0
                        • G
                          george1421 Moderator @Tom Elliott
                          last edited by Oct 6, 2016, 2:33 PM

                          @Tom-Elliott I agree here. The OP is operating at a level of interaction not common with most fog installs. Pencils did something happen with the original FOG install on Ubuntu?

                          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!

                          P 1 Reply Last reply Oct 6, 2016, 2:45 PM Reply Quote 0
                          • P
                            pencils @george1421
                            last edited by Oct 6, 2016, 2:45 PM

                            @george1421 hi both. Its weired. All the file paths which you guys have said hadnt existed in the place you suggested. Basically, i installed a brand new copy of ubuntu and installed 1.3 RC using the instructions on the Wiki. It failed to work. I thought it was a DHCP issue as we have a a switch that performs that function. So, i researched DNSmasq. I installed that with the instructions again from the wiki.

                            Nothing has really changed. I just cant get the TFTP to work. So im looking for any diagnostic tools which may be able to help.

                            Tom, the other weired thing is that installing a brand new copy of Ubuntu and then installing FOG 1.3 didnt create that folder at the root of the drive?? so i copied it from another location…to the root. When i use root, im talking in windows terminology where “root” means at the root of the 😄 drive…or any other drive. But it will be the a folder at the top level…if that makes sense.

                            This is a picture of a brand new install of ubuntu and FOG with nothing done to it.0_1475765131552_new ubuntu install.PNG

                            G 1 Reply Last reply Oct 6, 2016, 4:32 PM Reply Quote 0
                            • G
                              george1421 Moderator
                              last edited by Oct 6, 2016, 4:26 PM

                              I’m still of the opinion that the install is botched and possibly you need to run the installer again. Make sure (since you are using ubuntu) that you change the downloaded package’s /bin dir and run sudo ./installfog.sh using the su command. You also need to ensure that your FOG server has direct internet access. If you have a proxy server between FOG and the internet you will have to make a few changes for that. But directories not being where they should is a solid indication that the installer failed to work properly. But again that is only my opinion here. You may be able to back into a working system, but the question is how much time will and effort it take?

                              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!

                              1 Reply Last reply Reply Quote 0
                              • G
                                george1421 Moderator @pencils
                                last edited by george1421 Oct 6, 2016, 10:33 AM Oct 6, 2016, 4:32 PM

                                @pencils If debugging tools or process is needed. Then this is how I would go about it.

                                1. From a windows computer with the tftp client installed, attempt to grab undionly.kpxe from your fog server if you can do that then move on to step 2
                                2. Since you are using dnsmasq to supplement your dhcp server settings ensure you FOG (dnsmasq) server, booting target computer, and preferrably your dhcp server are all on the same subnet (for this test). Install tcpdump on your fog server. Key in the following command sudo tcpdump -w output.pcap port 67 or port 68 or port 69 or port 4011 This will tell tcpdump to only caputer dhcp, tftp, and dhcpProxy traffic and record it in output.pcap. Now pxe boot your target computer until you get the error. Once that is done review the pcap file with wireshark. If you can’t see anything wrong then upload the pcap to this thread and we will take a look at it. The pcap will tell us the truth of what is actually going on the wire. (just to be clear, I’m not saying you are not telling the truth, its just we need to see exactly what is going on with the communications)

                                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!

                                P 1 Reply Last reply Oct 7, 2016, 10:12 AM Reply Quote 0
                                • W
                                  Wayne Workman @pencils
                                  last edited by Oct 6, 2016, 6:21 PM

                                  @pencils said in Unsure if these settings in FOG are correct:

                                  Initially i didnt have a folder at the root called /tftproot. So i manually copied it over.

                                  Why are you manually doing these things? Why can you not run the installer completely? Why is your setup so unusual? Is this a fresh OS or pre existing? What else have you installed on this 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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pencils @george1421
                                    last edited by Oct 7, 2016, 10:12 AM

                                    @george1421 hi george, i have run the packet analyser. Im no expert but after Line 16 where the client is asking for the file…it seems that there is no server defined and no file defined. I have uploaded the file. If you can point to what i might need to change?

                                    I cant seems to upload the file. The website is saying i dont have sufficient rights…?

                                    G 1 Reply Last reply Oct 7, 2016, 10:29 AM Reply Quote 0
                                    • G
                                      george1421 Moderator @pencils
                                      last edited by Oct 7, 2016, 10:29 AM

                                      @pencils Is it possible to upload the file to a google doc and post the link here. We really need to see where the file name is missing.

                                      Since you are using dnsmasq this should be sending the file name. I looked back through this thread and I did not see if you posted the dnsmasq config file. Would you post that here in a code block too?

                                      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!

                                      P 1 Reply Last reply Oct 10, 2016, 2:13 PM Reply Quote 0
                                      • P
                                        pencils
                                        last edited by pencils Oct 10, 2016, 8:21 AM Oct 7, 2016, 10:42 AM

                                        https://drive.google.com/file/d/0B6FTHDLVGsEhdXU3c1NPZU1TQ0U/view?usp=sharing
                                        thats the pcap file.

                                        https://drive.google.com/file/d/0B6FTHDLVGsEheXU1dHBYVHBxTDg/view?usp=sharing
                                        Thats the conf file.

                                        Updated links.

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pencils @george1421
                                          last edited by Oct 10, 2016, 2:13 PM

                                          @george1421 hi george, were you able to access the above links OK? any ideas?

                                          G 1 Reply Last reply Oct 10, 2016, 2:14 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            1/26
                                            Last post

                                          178

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project