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

    Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    3
    53
    10.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.
    • A
      AndrewG78 @george1421
      last edited by

      @george1421
      I use dnsmasq since a year or so, without any issues on regular Windows machines in the network with DHCP server.
      My config

      port=0
      
      # Log lots of extra information about DHCP transactions.
      log-dhcp
      
      # Set the root directory for files available via FTP.
      tftp-root=/tftpboot
      
      # The boot filename, Server name, Server Ip Address
      dhcp-boot=undionly.kpxe,,172.18.147.206
      dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,172.18.147.206
      dhcp-boot=net:UEFI64,ipxe.efi,,172.18.147.206
      dhcp-boot=net:UEFI,ipxe.efi,,172.18.147.206
      
      # Disable re-use of the DHCP servername and filename fields as extra
      # option space. That's to avoid confusing some old or broken DHCP clients.
      dhcp-no-override
      
      dhcp-vendorclass=BIOS,PXEClient:Arch:00000
      dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
      dhcp-vendorclass=UEFI,PXEClient:Arch:00007
      dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
      
      # PXE menu.  The first part is the text displayed to the user.  The second is t$
      pxe-prompt="Booting FOG Client", 1
      
      # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
      # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
      # This option is first and will be the default if there is no input from the us$
      #pxe-service=X86PC, "Boot to FOG", undionly
      #pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe
      #pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe
      
      dhcp-range=172.18.147.206,proxy
      
      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @AndrewG78
        last edited by george1421

        @AndrewG78 said in Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter:
        Lets tweak your config file a bit. I’m not sure if order is important but lets change it up this way. Plus we’ll enable the pxeservice function (since we see it stopping just past “Booting FOG Client (1)”

        port=0
        
        # Log lots of extra information about DHCP transactions.
        log-dhcp
        
        # Set the root directory for files available via FTP.
        tftp-root=/tftpboot
        
        # Disable re-use of the DHCP servername and filename fields as extra
        # option space. That's to avoid confusing some old or broken DHCP clients.
        dhcp-no-override
        
        dhcp-vendorclass=BIOS,PXEClient:Arch:00000
        dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
        dhcp-vendorclass=UEFI,PXEClient:Arch:00007
        dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
        
        # The boot filename, Server name, Server Ip Address
        dhcp-boot=undionly.kpxe,,172.18.147.206
        dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,172.18.147.206
        dhcp-boot=net:UEFI64,ipxe.efi,,172.18.147.206
        dhcp-boot=net:UEFI,ipxe.efi,,172.18.147.206
        
        # PXE menu.  The first part is the text displayed to the user.  The second is t$
        pxe-prompt="Booting FOG Client", 1
        
        # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
        # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
        # This option is first and will be the default if there is no input from the us$
        pxe-service=X86PC, "Boot to FOG", undionly
        pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe
        pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe
        pxe-service=IA32_EFI, "Boot to FOG UEFI IA32_EFI", i386-efi/ipxe.efi
        
        dhcp-range=172.18.147.206,proxy
        

        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!

        A 1 Reply Last reply Reply Quote 0
        • A
          AndrewG78 @george1421
          last edited by

          @george1421
          Thx. There is something new. We have progress and regress at the same time.
          Looks like adding pxe-service did the job.
          I got FOG menu.
          0_1534941669815_dcf7fa02-3c14-408b-b790-0b19848ef48e-image.png
          When I select host registration I got:
          0_1534941730069_e76843b5-0af7-47a4-8e18-e39c44c40e0c-image.png
          And after (3) seconds
          0_1534941785699_765702a6-05be-4f4b-b71f-54ade08005f9-image.png
          When I select bot from disk
          0_1534941844936_6016403c-761c-4177-ab32-db68b43de13a-image.png
          And the regression
          I’m unable to load FOG from PXE on my old regular BIOS machines.
          They were working fine before I enabled these pxe-service lines

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

            @AndrewG78 Just to be clear, you only change the dnsmasq configuration and you get this error?

            It almost looks like for the exit mode for bios systems, you have REFIND configured and not SANBOOT. But again without know what was changed, its only a weak guess.

            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!

            A 1 Reply Last reply Reply Quote 0
            • A
              AndrewG78 @george1421
              last edited by

              @george1421
              Editing /etc/dnsmasq.d/ltsp.conf was my only change.

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

                @AndrewG78 OK so lets be clear here then.

                The fix to dnsmasq only allowed this system to boot, by delivering the proper boot file to the target computer.

                This issue is different. The dnsmasq configuration sent the right ipxe boot kernel to the target computer. After ipxe boots, then dnsmasq is not used.

                So now you need to look at the fog configuration for the default exit modes for both bios and uefi system. According to the picture it appears to be sending refind.conf and refind.efi to the target computer, but the target computer could not boot them. If the target computer is bios mode, I can understand why it can’t boot. If the target computer is EFI-32 then… I might suspect that refind.efi is a 64 bit 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!

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

                  @AndrewG78 OK I just checked and it appears that FOG does not distinguish between 64 bit and 32 bit systems in regards to which boot kernel it sends for refind. I checked with refind and there are two different boot kernels for refind, that may explain why we have that boot error.

                  @Developers for FOG 1.5.5 would it be possible to add a new exit mode like rEFInd-32 for those that have 32 bit uefi systems, plus include refind_ia32.efi into the fog/service/ipxe directory?

                  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!

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    AndrewG78 @george1421
                    last edited by

                    @george1421
                    Thx for this finding.
                    What is strange to me is my old BIOS behavior. I did not change BIOS exit mode - I have GRUB_FIRST_HDD here but I got this error on my old BIOS machines
                    0_1534952754068_4b810ca7-0fdf-4afa-b946-53e92dce56ba-image.png
                    What should I do in dnsmasq config to setup just this tablet, and remove BIOS machines temporarily?

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

                      @AndrewG78 Ok lets backtrack a bit. I had you change a setting for consistency sake, but lets remove all but what we need. Go back and edit your ltsp.conf file and comment out out the pxe-service settings like this, leaving just the EFI 32 bit entry.

                      # pxe-service=X86PC, "Boot to FOG", undionly
                      # pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe
                      # pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe
                      pxe-service=IA32_EFI, "Boot to FOG UEFI IA32_EFI", i386-efi/ipxe.efi
                      

                      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!

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

                        @AndrewG78 The one thing I didn’t ask you was what version of dnsmasq are you using? You can find out by opening a command shell on your dnsmasq server and key in dnsmasq -v to get the version number. Hopefully you are using 2.76 or later.

                        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!

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AndrewG78 @george1421
                          last edited by

                          @george1421
                          yes it is 2.76

                          1 Reply Last reply Reply Quote 0
                          • A
                            AndrewG78 @george1421
                            last edited by

                            @george1421
                            OK. Now, old BIOS machines boot to FOG properly.

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

                              @AndrewG78 OK so now the only thing we need to work on is getting the EFI-32 systems to boot through to the hard drive?

                              of the other option is to not have the target computers booting through pxe to the hard drive. Once imaged, have them boot locally then there is no immediate need for the 32 bit refind option.

                              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!

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                AndrewG78 @george1421
                                last edited by

                                @george1421
                                Well, this is fully autonomous system, so it must boot through the pxe all the time.
                                Regarding EFI-32:
                                1 system is not booting from hardrive
                                2 fog is not loading when selected from the menu (e.g. host registration)

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

                                  @AndrewG78 Well in regards to #1, this is a current limitation in fog. I’m going to look tonight to see how hard it is to add another exit mode to fog. In the end this may be up to the developers to figure out if its not a quick fix for someone at my pay grade.

                                  As for #2, what do you see when “not loading” happens? Is there a specific error message? We’ll need a bit more to go on than, “its not working”.

                                  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!

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    AndrewG78 @george1421
                                    last edited by

                                    @george1421
                                    Thx
                                    #2
                                    I actually described this specific case in this post
                                    https://forums.fogproject.org/topic/12373/tablet-with-windows-10-and-usb-lan-smc-7500-adapter/7
                                    This is the post with 4 screen shots.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      AndrewG78
                                      last edited by

                                      HI
                                      Would this be enough to take refind_ia32.efi from rEFind binary package from http://www.rodsbooks.com/refind/getting.html
                                      and copy to /var/www/html/fog/service/ipxe
                                      and replace refind.efi
                                      ?

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

                                        @AndrewG78 I’ve been waiting on feedback from the developers on the proposed update to FOG.

                                        What I would recommend you do/test if you are willing.

                                        1. Take that refind_ia32.efi and save it to /var/www/html/fog/service/ipxe as refind32.efi (to keep naming consistent with bzImage).

                                        2. Then if you are willing, edit /var/www/html/fog/lib/fog/bootmenu.class.php

                                        3. Go to line 131 to should have some code that looks like this:

                                        $refind = sprintf(
                                                   'imgfetch ${boot-url}/service/ipxe/refind.conf%s'
                                                   . 'chain -ar ${boot-url}/service/ipxe/refind.efi',
                                                   "\n"
                                               );
                                        
                                        1. Replace that code with
                                        $refind = sprintf(
                                                   'cpuid --ext 29 && set rboot-kernel refind.efi || set rboot-kernel refind32.efi%s'
                                                   . 'imgfetch ${boot-url}/service/ipxe/refind.conf%s'
                                                   . 'chain -ar ${boot-url}/service/ipxe/${rboot-kernel}',
                                                   "\n","\n"
                                               );
                                        
                                        1. Save and exit your editor.
                                        2. Now test and see if the efi exit mode is able to load the 32 bit efi version of refind on exit.

                                        If you get an error, I would expect one like in the 3rd picture you posted about error 0x7f048283.

                                        I would test this myself but I don’t have a 32 bit uefi system. Also make sure you backup that php file before you edit it, just incase 1) I’m wrong 2) Your edit is bad and something breaks.

                                        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!

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          AndrewG78 @george1421
                                          last edited by

                                          @george1421
                                          Thx. In the meantime I replaced original refind.efi with refind_ia32.efi but it did not help.
                                          There is different error, but I can provide details on Monday the earliest.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            AndrewG78
                                            last edited by

                                            @george1421
                                            So here is the story:

                                            1. There must be something wrong with this php code as I got
                                              0_1535368276339_4c85458e-6f06-4214-846b-c046fa00d9bc-image.png
                                              So, I just changed original
                                            'chain -ar ${boot-url}/service/ipxe/refind.efi',
                                            

                                            to

                                            'chain -ar ${boot-url}/service/ipxe/refind_ia32.efi',
                                            

                                            and got this
                                            0_1535368572352_a5edf568-4e86-4229-916f-0131c703336a-image.png
                                            I found scanfor option in refind.conf and disabled it.
                                            After that I can boot to Windows from the FOG menu- “Boot from hard disk”!
                                            0_1535372697560_41246e74-e62f-4cb6-81fc-4901628e2533-image.png
                                            So there is some progress.
                                            But
                                            when I choose Quick registration on white background FOG menu, there is another B&W menu displayed.
                                            0_1535368911873_84d88589-c4a7-4b6c-9627-1176b6c70fb8-image.png
                                            I must use up/down arrows to select something from the menu, however this is blind selection as current row is not highlighted.

                                            When I enter Registration(down arrow x2)
                                            0_1535373028673_c6a0ae9d-f6ff-4ef6-b4e0-1f40f9a5c5aa-image.png
                                            and that second FOG menu without highlighted row is loaded immediately(loop).
                                            0_1535373075937_0e1a753f-a349-4a7b-b2cf-8dad7ef6cd1a-image.png

                                            When I enter Run Memtest(down arrow x1)
                                            0_1535371579981_eb017681-950f-4873-9a18-e9b715ab9768-image.png
                                            And the system is rebooted.

                                            Why do I have 2 menus?

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

                                            163

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project