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

    FOG .33b PXE Boot woes

    Scheduled Pinned Locked Moved
    FOG Problems
    7
    53
    22.0k
    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.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      Did you also follow the Chainloading iPXE using dnsmasq setup?

      right now it is telling you it can’t find the boot file we need to make sure that you have set up DNSmasq properly to accept the undiony.kpxe file and that it is the correct location.

      Also if possible, please include a screenshot. From the sounds of things it’s not finding the pxelinux.cfg/default file unless it fails before trying to load the files, this is where the screenshot will help.

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • P
        Paul Freeman
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • P
          Paul Freeman
          last edited by

          I did follow the chainloading instructions under the link i provided earlier.

          My /tftpboot folder:

          fogadmin@FOG2:~$ ls /tftpboot/
          boot.txt ipxe.krn pxelinux.0.old snponly.efi undionly.kpxe
          default.ipxe memdisk pxelinux.cfg tftpboot vesamenu.c32
          fogadmin@FOG2:~$ ls /tftpboot/pxelinux.cfg/
          default default~ pxelinux.cfg

          [ATTACH=full]650[/ATTACH][ATTACH=full]651[/ATTACH]

          [url=“/_imported_xf_attachments/0/648_default pxelinuxcfg.jpg?:”]default pxelinuxcfg.jpg[/url][url=“/_imported_xf_attachments/0/649_ltspconf.jpg?:”]ltspconf.jpg[/url][url=“/_imported_xf_attachments/0/650_default pxelinuxcfg.jpg?:”]default pxelinuxcfg.jpg[/url][url=“/_imported_xf_attachments/0/651_ltspconf.jpg?:”]ltspconf.jpg[/url]

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            I meant a screenshot of the machine failing to load the pxe boot info.

            Did you edit the dnsmaq.conf file? I see it open in the editor there, I recommend leaving those settings alone and only editing the ltsp.conf

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • Jaymes DriverJ
              Jaymes Driver Developer
              last edited by

              found it.

              dhcp-boot should be

              [code]
              dhcp-boot=/tftpboot/undionly.kpxe
              [/code]

              After you make the change, restart the dnsmasq service,

              That is probably my fault I will make adjustments on the wiki.

              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

              1 Reply Last reply Reply Quote 0
              • P
                Paul Freeman
                last edited by

                Oh lol sorry.
                HP 8000
                [ATTACH=full]652[/ATTACH]

                HP 8300
                [ATTACH=full]653[/ATTACH]

                [url=“/_imported_xf_attachments/0/652_hp8000.jpg?:”]hp8000.jpg[/url][url=“/_imported_xf_attachments/0/653_hp8300.jpg?:”]hp8300.jpg[/url]

                1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer
                  last edited by

                  [quote=“Paul Freeman, post: 25137, member: 23545”]Oh lol sorry.
                  HP 8000
                  [ATTACH=full]652[/ATTACH]

                  HP 8300
                  [ATTACH=full]653[/ATTACH][/quote]

                  See the post above this one, I believe the problem to be in the ltsp.conf file for the dhcp-boot: value.

                  WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Paul Freeman
                    last edited by

                    Hmmm, made the change and still the same result.

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

                      restart the service:
                      [code]sudo ufw disable
                      sudo service tftpd-hpa restart[/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
                      • P
                        Paul Freeman
                        last edited by

                        Here is what my /var/log/syslog file reports for that last boot attempt.

                        [ATTACH=full]654[/ATTACH]

                        [url=“/_imported_xf_attachments/0/654_var log syslog.jpg?:”]var log syslog.jpg[/url]

                        1 Reply Last reply Reply Quote 0
                        • Jaymes DriverJ
                          Jaymes Driver Developer
                          last edited by

                          you are using eth1 not eth0… these are very important pieces of information to include. are you actually using eth1? If so you need to edit your default file to reflect that information, try net1 in place of net0, if not an error has been made and I would re-configure the server again

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          1 Reply Last reply Reply Quote 0
                          • P
                            Paul Freeman
                            last edited by

                            Yes this is correct I am using eth1. I have been looking through all this for so long and it never dawned on me that this would need to be changed in the default file. I definitely do not pretend to be an expert on linux and its various functions, but have been able to poke by so far.

                            1 Reply Last reply Reply Quote 0
                            • P
                              Paul Freeman
                              last edited by

                              Seems like i may have other issues going on. On boot the tftpd-hpa service is running but when i try to restart the service it hangs. When I get the status of the service it comes back as tftpd-hpa start/killed. Also after running ufw disable, the command completed successfully however upon a system reboot the firewall service is again active.

                              1 Reply Last reply Reply Quote 0
                              • Jaymes DriverJ
                                Jaymes Driver Developer
                                last edited by

                                make sure you didn’t set DNSMasq to be the tftp server in the conf settings.

                                [code]
                                sudo apt-get purge ufw
                                [/code]
                                Usually the disable command stops the Firewall from running, if it is still running after you have disabled it, that will get rid of the firewall for you.

                                also why are you restarting the tftp service? you need to restart dnsmasq.

                                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Paul Freeman
                                  last edited by

                                  TFTP Is not enabled in the dnsmasq.conf or ltsp.conf. I think at this point I may reconfigure the machine. I did create a clone of the drive before installing fog so that i could roll back. Would you recommend that I just use eth0 to make the setup more straightforward?

                                  Thank you both for your assistance.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    Paul Freeman
                                    last edited by

                                    [quote=“Tom Elliott, post: 25142, member: 7271”]restart the service:
                                    [code]sudo ufw disable
                                    sudo service tftpd-hpa restart[/code][/quote]

                                    I was restarting as per this post by Tom. I will remove the firewall and try again.

                                    1 Reply Last reply Reply Quote 0
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      It doesn’t matter which NIC you use but you need to be consistent, I have only ever used one NIC so I am not much help in setting up or configuring the other NIC 😞 but it can’t be too difficult, just remembering to supply the new NIC information anytime you run across one mentioning the OLD NIC.

                                      If I remember correctly someone raid bonded two NIC and was getting some insane speeds… Maybe I should look into this…

                                      [quote=“Paul Freeman, post: 25150, member: 23545”]I was restarting as per this post by Tom. I will remove the firewall and try again.[/quote]

                                      ahh, I see, sorry I missed his post that makes sense now haha

                                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Paul Freeman
                                        last edited by

                                        Well after purging UFW and a reboot i get something slightly different when trying to boot a client. Rather than immediately stopping at the TFTP boot sequence the HP8300 pauses there for a minute as though its trying to connect. Though still does not connect…

                                        The HP8000 still gives the same error.

                                        1 Reply Last reply Reply Quote 0
                                        • Jaymes DriverJ
                                          Jaymes Driver Developer
                                          last edited by

                                          I set up a new fog server on my linksys router last night and ran into the same issue, I am going to look over my configurations when I get back to my working box this afternoon and make sure everything is in it’s place.

                                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            BPSTravis Developer
                                            last edited by

                                            The only major trick to running dual nic’s is when you set the one FOG will use for imaging to static for whatever network it will be using you need to leave off the default gateway on it or you will lose all internet connectivity(Assuming the network used is not connected to your actual network), if it is connected to your actual network then you should not be using a second NIC in the first place.

                                            [SIZE=12px]signature:[/SIZE]
                                            [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

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

                                            163

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project