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

    DNSMASQ setup help

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    53
    24.1k
    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 WorkmanW
      Wayne Workman @mati-92
      last edited by Wayne Workman

      @mati-92

      In such case - please try this as your ltsp.conf file:

      port=0
      log-dhcp
      tftp-root=/tftpboot
      dhcp-boot=undionly.kpxe,192.168.0.14,192.168.0.14
      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=192.168.0.14,proxy
      

      Then run this command:

      ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.kpxe.0
      

      Then ensure dnsmasq is running like this:

      sudo service dnsmasq enable
      sudo service dnsmasq restart
      

      See if you can get a status after restarting dnsmasq like this, note any errors:

      sudo service dnsmasq status
      

      For future readers, the last three commands are Ubuntu/Debian specific.

      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
      • M
        mati-92
        last edited by

        upload-060cab82-50db-4e14-ac4c-8caca3e0c1a1

        i got this error

        1 Reply Last reply Reply Quote 0
        • M
          mati-92
          last edited by

          i found the issue with i put a wrong symbol in line 11 im going to test it now

          1 Reply Last reply Reply Quote 0
          • M
            mati-92
            last edited by

            i ran a test on it and i am still getting that message when trying to boot via pxe

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @mati-92
              last edited by

              @mati-92 Check the target computer’s firmware settings. I’ve noticed on some that there are options for network booting that you can set in the firmware itself, such as target server and boot file.

              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
              • M
                mati-92
                last edited by

                a little bit of progress i set both vm machines to bridge adaptors. i then boot via pxe on the 2nd vm and the following comes up.IMAG0108.jpg

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @mati-92
                  last edited by

                  @mati-92 Well if it’s asking for undionly.0 then give that to it lol.

                  make a sym-link for it:

                  ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
                  

                  Good to see progress!

                  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
                  • M
                    mati-92
                    last edited by

                    upload-0e48878d-6ab2-4060-88ab-d03101c85e4b

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @mati-92
                      last edited by

                      @mati-92 Can you post your current ltsp.conf file and then the output of this command again, please?

                      ls -lahRt /tftpboot
                      

                      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
                      • M
                        mati-92
                        last edited by

                        IMAG0110.jpg IMAG0109.jpg

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @mati-92
                          last edited by

                          @mati-92 the sym-link for the undionly.0 file points to a nonsense location.

                          Delete that and recreate it.

                          rm -rf /tftpboot/undionly.0
                          ln -s /tftpboot/undionly.kpxe /tftpboot/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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mati-92 @Wayne Workman
                            last edited by

                            @Wayne-Workman tried the last thing you suggested and i tried it again and still not working.

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @mati-92
                              last edited by

                              Can you run this (I apologize but I need to make sure you got it right).

                              ls -lahRt /tftpboot
                              

                              And please provide another photo of any error you’re seeing when trying to network boot.

                              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
                              • M
                                mati-92
                                last edited by

                                upload-44f00b33-3e4d-4538-81f5-bbb477caa54c

                                1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman
                                  last edited by

                                  I’d like for you to run these commands and then provide another screen shot of the output of the below command.

                                  rm -f /tftpboot/undionly.0
                                  rm -f /tftpboot/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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  P 1 Reply Last reply Reply Quote 0
                                  • M
                                    mati-92
                                    last edited by

                                    upload-3bb39da7-a40c-4982-875c-1db81098186d

                                    Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman @mati-92
                                      last edited by

                                      @mati-92 Does it work now?

                                      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/

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mati-92 @Wayne Workman
                                        last edited by

                                        @Wayne-Workman im afraid not i tried it from a physical computer sat on the network and i get tftp open timeout error

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mati-92
                                          last edited by

                                          IMAG0114.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott @mati-92
                                            last edited by

                                            @mati-92 There’s a typo.

                                            unionly.0 should be undionly.0 MISSING A LETTER D

                                            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

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

                                            219

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project