FOG Project

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

    Unsolved Lenovo L530 - dnsmasq issues

    FOG Problems
    2
    6
    1321
    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.
    • Wayne Workman
      Wayne Workman last edited by

      This is an interesting problem.

      At work, I use undionly.kkpxe as my bootfile and this is handed out via DHCP. Works fine with the Lenovo L530.

      At home, I use dnsmasq and undionly.kkpxe

      I tried to network boot my Lenovo L530 at home and it gets the undionly.0 (copy of undionly.kkpxe) and acts like it’s going to boot, but then says:
      PXE-M0F Can’t find default.ipxe (or something like that).

      This isn’t really important but I thought I’d say something.

      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
      • Wayne Workman
        Wayne Workman last edited by

        And I’m using r3710 at home, and r3709 at work… couldn’t be that much of a difference lol.

        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
        • Wayne Workman
          Wayne Workman last edited by

          Here’s a video of it:

          https://youtu.be/0_LOrzdDSVY

          Like I said, confirmed that other equipment is fine with the setup at home… I’m using undionly.kkpxe both at work and home, laptop works at work but not at home.

          I’m thinking that this model just doesn’t like how dnsmasq does it’s job… it is very hack-ish, you know.

          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
          • Wayne Workman
            Wayne Workman last edited by

            Here’s what’s in /tftpboot, notice that undionly.0 and undionly.kkpxe are the same size, they are copies. I’ve never been able to get a symbolic link to work with dnsmasq.

            [root@fog /]# ls -laht /tftpboot
            total 4.0M
            drwxr-xr-x   4 fog  root 4.0K Jul  8 17:19 .
            -rw-r--r--   1 root root  87K Jul  8 17:19 undionly.0
            -rw-r--r--   1 root root  396 Jul  6 16:48 default.ipxe
            -rw-r--r--   1 fog  root  87K Jul  6 16:48 undionly.kkpxe
            -rw-r--r--   1 fog  root  87K Jul  6 16:48 undionly.kpxe
            -rw-r--r--   1 fog  root  87K Jul  6 16:48 undionly.pxe
            -rw-r--r--   1 fog  root  30K Jul  6 16:48 vesamenu.c32
            -rw-r--r--   1 fog  root 168K Jul  6 16:48 snp.efi
            -rw-r--r--   1 fog  root 168K Jul  6 16:48 snponly.efi
            -rw-r--r--   1 fog  root  88K Jul  6 16:48 realtek.kpxe
            -rw-r--r--   1 fog  root  88K Jul  6 16:48 realtek.pxe
            -rw-r--r--   1 fog  root 168K Jul  6 16:48 realtek.efi
            -rw-r--r--   1 fog  root  88K Jul  6 16:48 realtek.kkpxe
            -rw-r--r--   1 fog  root 121K Jul  6 16:48 ldlinux.c32
            -rw-r--r--   1 fog  root  26K Jul  6 16:48 memdisk
            -rw-r--r--   1 fog  root  29K Jul  6 16:48 menu.c32
            -rw-r--r--   1 fog  root  43K Jul  6 16:48 pxelinux.0
            -rw-r--r--   1 fog  root  43K Jul  6 16:48 pxelinux.0.old
            drwxr-xr-x   2 fog  root 4.0K Jul  6 16:48 pxelinux.cfg
            -rw-r--r--   1 fog  root 320K Jul  6 16:48 ipxe.pxe
            -rw-r--r--   1 fog  root 319K Jul  6 16:48 ipxe.krn
            -rw-r--r--   1 fog  root 320K Jul  6 16:48 ipxe.kkpxe
            -rw-r--r--   1 fog  root 320K Jul  6 16:48 ipxe.kpxe
            -rw-r--r--   1 fog  root 874K Jul  6 16:48 ipxe.efi
            -rw-r--r--   1 fog  root  88K Jul  6 16:48 intel.pxe
            -rw-r--r--   1 fog  root 169K Jul  6 16:48 intel.efi
            -rw-r--r--   1 fog  root  87K Jul  6 16:48 intel.kkpxe
            -rw-r--r--   1 fog  root  88K Jul  6 16:48 intel.kpxe
            drwxr-xr-x   2 fog  root 4.0K Jul  6 16:48 i386-efi
            -rw-r--r--   1 fog  root  840 Jul  6 16:48 boot.txt
            dr-xr-xr-x. 22 root root 4.0K Jul  6 16:48 ..
            

            Contents of /etc/dnsmasq.d/ltps.conf this configuration has worked for me for half a year without issue, and works for other devices on the network currently.

            [root@fog /]# cat /etc/dnsmasq.d/ltsp.conf
            port=0
            log-dhcp
            tftp-root=/tftpboot
            dhcp-boot=undionly.0,10.0.0.3,10.0.0.3
            dhcp-option=17,/images
            dhcp-option=vendor:PXEClient,6,2b
            dhcp-no-override
            pxe-prompt="Press F8 for boot menu", 3
            pxe-service=X86PC, “Boot from network”, undionly
            pxe-service=X86PC, "Boot from local hard disk", 0
            dhcp-range=10.0.0.3,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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • Wayne Workman
              Wayne Workman @Tom Elliott last edited by Wayne Workman

              @Tom-Elliott undionly.0

              It appears to find that just fine and load it. Some FOG specific stuff shows on the screen, then it says it can’t find default.ipxe

              A side note is network booting works fine for other equipment in the house.

              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
              • Tom Elliott
                Tom Elliott last edited by

                Is it finding undionly.kkpxe.0 or undionly.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

                Wayne Workman 1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                257
                Online

                10.2k
                Users

                16.3k
                Topics

                149.9k
                Posts

                Copyright © 2012-2020 FOG Project