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

UEFI won boot tools via fog menu.

Scheduled Pinned Locked Moved Solved
FOG Problems
6
94
37.9k
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.
  • D
    dureal99d @Wayne Workman
    last edited by dureal99d Oct 2, 2016, 1:04 AM Oct 2, 2016, 6:12 AM

    @Wayne-Workman said in UEFI won boot tools via fog menu.:

    is running DHCP in the environment? Have you seen this

    @Wayne-Workman I am running ddwrt on a router and using it as my dhcp. I seen that article but remain confused as it points out the dns masq part which applies to me, but u really don’t understand this part. # x.x.x.x = TFTP. what does the x.x.x.x represent?

    W 1 Reply Last reply Oct 2, 2016, 6:39 AM Reply Quote 0
    • W
      Wayne Workman @dureal99d
      last edited by Wayne Workman Oct 2, 2016, 12:56 AM Oct 2, 2016, 6:39 AM

      @dureal99d I’m not sure how dd-wrt handles vendor classes, but I’m pretty certain it can.

      What’s likely happening with your problem is dd-wrt is only setup to serve a bios boot file, which is why most of your uefi ISOs don’t work.

      Perhaps one of the @Developers or @Moderators or @Testers have dd-wrt at home and know how, but you need to set it up to hand out ipxe.efi for uefi identifying machines and undionly.kkpxe for BIOS identifying machines (generally).

      If you read through the article I posted you might better understand what you need to do with your dd-wrt router.

      Here’s something I found by searching Google for ‘dd-wrt dhcp vendor class’. The thread is probably so old that it doesn’t even apply to the latest version but it might point you in the right direction:
      http://www.dd-wrt.com/phpBB2/viewtopic.php?p=643566

      Another idea is to turn off dhcp on the router temporarily and then edit the fog servers /opt/fog/.fogsettings file and change do dhcp and bldhcp to yes or 1, and rerun the installer and just see if your ISOs work then. Because FOGs dhcp setup already well supports many architecture types, some of that work I contributed to, it’s solid. To undo this, same steps but turn those two settings off, then manually stop and disable dhcp. For Ubuntu it should be service dhcpd stop;service dhcpd disable

      Here is more info on .fogsettings if you get lost or curious:
      https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

      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/

      D 1 Reply Last reply Oct 2, 2016, 7:28 AM Reply Quote 1
      • D
        dureal99d @Wayne Workman
        last edited by Oct 2, 2016, 7:28 AM

        @Wayne-Workman said in UEFI won boot tools via fog menu.:

        same steps but turn those two settings off

        @Wayne-Workman will look into this and report back. promptly!!!

        D 1 Reply Last reply Oct 2, 2016, 7:52 AM Reply Quote 0
        • D
          dureal99d @dureal99d
          last edited by Oct 2, 2016, 7:52 AM

          @Wayne-Workman yeah after reviewing it all I have been looking for how to add onto “dhcp-boot=undionly.kpxe,fog ip address” and add on the efi boot options. I am stomped on how to do this on dnsmsq of ddwrt.

          Q 1 Reply Last reply Oct 2, 2016, 8:07 AM Reply Quote 0
          • Q
            Quazz Moderator @dureal99d
            last edited by Quazz Oct 2, 2016, 2:07 AM Oct 2, 2016, 8:07 AM

            @dureal99d

            From what I’ve read on the Wiki they need to be added to the additional dnsmasq options manually.

            https://wiki.fogproject.org/wiki/index.php/FOG_with_DD-WRT_firmware

            D 1 Reply Last reply Oct 2, 2016, 8:25 AM Reply Quote 1
            • D
              dureal99d @Quazz
              last edited by Oct 2, 2016, 8:25 AM

              @Quazz said in UEFI won boot tools via fog menu.:

              @dureal99d

              From what I’ve read on the Wiki they need to be added to the additional dnsmasq options manually.

              https://wiki.fogproject.org/wiki/index.php/FOG_with_DD-WRT_firmware

              @Quazz I know they need to be added on manually and i have no issue with that.
              but what to add in addition to “dhcp-boot=undionly.kpxe,192.xxx.x.xxx” is what stomps me.

              Ive tried several configs all of which seems to make nothing work.

              Q 2 Replies Last reply Oct 2, 2016, 8:27 AM Reply Quote 0
              • Q
                Quazz Moderator @dureal99d
                last edited by Oct 2, 2016, 8:27 AM

                @dureal99d The dnsmasq on ddwrt may not support the options you need, not sure. I know they use a custom lightweight version of it.

                D 1 Reply Last reply Oct 2, 2016, 8:31 AM Reply Quote 0
                • D
                  dureal99d @Quazz
                  last edited by Oct 2, 2016, 8:31 AM

                  @Quazz said in UEFI won boot tools via fog menu.:

                  sq on ddwrt may not support the options you need, not sure. I know they use a custom lightweight

                  @Quazz I am willing to try that option but i dont understand the x.x.x.x part outside of the obvious ip parts in the begin.

                  dhcp-match=set:bios,60,PXEClient:Arch:00000
                  dhcp-boot=tag:bios,undionly.kpxe,x.x.x.x,x.x.x.x <<clearly IP       # ?.?.?.? = TFTP/FOG server IP
                  Q 1 Reply Last reply Oct 2, 2016, 8:32 AM Reply Quote 0
                  • Q
                    Quazz Moderator @dureal99d
                    last edited by Oct 2, 2016, 8:31 AM

                    @dureal99d I found this https://davidmnoriega.wordpress.com/2015/07/27/linksys-e4200-and-dd-wrt/

                    Which seems to indicate you need to replace tag with #

                    So eg

                    dhcp-match=set:bios,60,PXEClient:Arch:00000
                    dhcp-boot=#:bios,undionly.kpxe,x.x.x.x,x.x.x.x 
                    

                    Might not be all you need, though.

                    1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @dureal99d
                      last edited by Oct 2, 2016, 8:32 AM

                      @dureal99d The x.x.x.x simply refers to where your TFTP resides. The IP address of your FOG server most likely, unless you set it up elsewhere.

                      D 1 Reply Last reply Oct 2, 2016, 8:36 AM Reply Quote 0
                      • D
                        dureal99d @Quazz
                        last edited by Oct 2, 2016, 8:36 AM

                        @Quazz said in UEFI won boot tools via fog menu.:

                        @dureal99d The x.x.x.x simply refers to where your TFTP resides. The IP address of your FOG server most likely, unless you set it up elsewhere.

                        @Quazz so does that mean i should put my tftp ip and where it says fog serve ip put the fog ip?

                        Q 1 Reply Last reply Oct 2, 2016, 8:36 AM Reply Quote 0
                        • Q
                          Quazz Moderator @dureal99d
                          last edited by Oct 2, 2016, 8:36 AM

                          @dureal99d Yes

                          D 1 Reply Last reply Oct 2, 2016, 8:41 AM Reply Quote 0
                          • D
                            dureal99d @Quazz
                            last edited by dureal99d Oct 2, 2016, 2:41 AM Oct 2, 2016, 8:41 AM

                            @Quazz tried this

                            dhcp-match=set:bios,60,PXEClient:Arch:00000
                            dhcp-boot=#:bios,undionly.kpxe,192.168.1.109        # 192.168.1.109 = TFTP/192.168.1.109
                            

                            did’nt work, im pretty ure its somthing im doing wrong

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Oct 2, 2016, 11:52 AM

                              The tftp at that point is coming from your fog server .

                              For me, I use dd-wrt at home as well, and while I don’t have any UEFI machines to test I’m fairly sure you still need to tag the boot file line so it knows which match to use when.

                              It may be a light version of Dnsmasq, but it is still Dnsmasq.

                              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 Oct 2, 2016, 1:40 PM

                                In my tutorial for installing dnsmasq on Centos this is what I have for the dhcp-boot line:

                                dhcp-boot=undionly.kpxe,,<fog_server_IP>
                                

                                Also you need to ensure that you are running dnsmasq 2.76 with has reportedly added the required code for pxe-uefi booting alongside legacy (bios) code.

                                I have not tried this with dd-wrt either but this extension should work with dnsmasq

                                dhcp-match=set:efi-x86_64,option:client-arch,7
                                dhcp-boot=tag:efi-x86_64,ipxe.efi
                                

                                which sets up a flag if the client matches arch 7 (x86_64 uefi) and then sends ipxe.efi instead of undionly.kpxe. You may need additional arch added for IA32 uefi systems too. Wayne has added the info to the FOG wiki page https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#General
                                Look at the top for the isc dhcp server to an idea of what is going on.

                                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!

                                W D 2 Replies Last reply Oct 2, 2016, 4:10 PM Reply Quote 3
                                • W
                                  Wayne Workman @george1421
                                  last edited by Oct 2, 2016, 4:10 PM

                                  @george1421 said in UEFI won boot tools via fog menu.:

                                  Wayne has added the info to the FOG wiki page

                                  @Sebastian-Roth did the dnsmasq section I’m pretty sure lol. Seems he’s always a few steps ahead of us.

                                  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 1
                                  • D
                                    dureal99d @george1421
                                    last edited by dureal99d Oct 2, 2016, 12:51 PM Oct 2, 2016, 6:43 PM

                                    @george1421 I have plugged in the information to the dnsmasq inclusive to the default dhcp-boot=undionly.kpxe,,<fog_server_IP> & the boot process was not disrupted as with previous configs I’ve tried.

                                    I must now make sure i understand what you did here. dhcp-match=set:efi-x86_64,option:client-arch,7 dhcp-boot=tag:efi-x86_64,ipxe.efi

                                    as it differs from the wiki of the dnsmasq setting. also it when booting uefi it see the tftp as my router ip. What would i do to re-route this to my fogserver ip?

                                    0_1475434294858_2_02_10_2016_13_49_58.png

                                    G 2 Replies Last reply Oct 2, 2016, 6:56 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @dureal99d
                                      last edited by Oct 2, 2016, 6:56 PM

                                      @dureal99d If I understand it correctly your {next-server} value should come from your dhcp server (understand I’m guessing here a bit since I have not worked with uefi and dnsmasq as of now). But in my docs I also ahve this line:

                                      dhcp-range=<fog_server_ip>,proxy
                                      

                                      That defines the range.

                                      Actually I still have my FOG-Pi server that I can boot back up. That has dnsmasq running on it. Let me see if I can get a working config.

                                      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 @dureal99d
                                        last edited by Oct 2, 2016, 6:58 PM

                                        @dureal99d From your image below its working. Well an iPXE kernel is getting loaded. So that should removed dnsmasq from the issues. Is your fog server at 192.168.1.1?

                                        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!

                                        D 1 Reply Last reply Oct 2, 2016, 11:52 PM Reply Quote 0
                                        • D
                                          dureal99d @george1421
                                          last edited by Oct 2, 2016, 11:52 PM

                                          @george1421 NO, its at 192.168.1.109

                                          G D 2 Replies Last reply Oct 2, 2016, 11:56 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            22/94
                                            Last post

                                          168

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project