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

DNSMASQ setup help

Scheduled Pinned Locked Moved Unsolved
FOG Problems
4
53
22.8k
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.
  • W
    Wayne Workman @mati-92
    last edited by Aug 18, 2015, 8:11 PM

    @mati-92 The first thing that jumps out at me is this line:

    dhcp-boot=pxelinux.0
    

    that should be changed to the boot file you want to use - generally this is undionly.kpxe

    But, I asked for three things and you only provided one. 🙂

    Look at the article link you posted, there’s a bit in there about symbolic links. if you wanted to use undionly.kpxe as your boot file, you need to create a symbolic link to undionly.kpxe.0

    also - if you still get further errors after this - we really need to see a photo of the error and we need to know what changes you’ve made - and we need to see the output of the below command.

    Details, details, details.

    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
    • M
      mati-92
      last edited by Aug 18, 2015, 9:11 PM

      @Wayne-Workman said:

      ls -lahRt /tftpboot

      sorry wayne i am having issues with virtual box i will get the rest of the details now.

      1 Reply Last reply Reply Quote 0
      • M
        mati-92
        last edited by Aug 18, 2015, 9:17 PM

        screenshot for wayne.png

        1 Reply Last reply Reply Quote 0
        • M
          mati-92
          last edited by Aug 18, 2015, 9:24 PM

          the error i get from the PXE boot is this

          DHCP (net0 08:00:27:6b:7e:bc)… ok
          net0: 10.0.2.15/255.255.255.0 gw 10.0.0.2
          Next server 10.0.2.4
          Filename: ub2.pxe
          tftp://10.0.2.4/ub2.pxe… permission denied
          no more network devices
          FATAL: could not read from the boot medium! system halted

          W 1 Reply Last reply Aug 18, 2015, 9:39 PM Reply Quote 0
          • W
            Wayne Workman @mati-92
            last edited by Aug 18, 2015, 9:39 PM

            @mati-92 What is 10.0.2.4 ? what is 10.0.0.2 ? What is ub2.pxe ?

            and

            do you have a static IP set on your FOG server - and a reservation made on your home network device’s DHCP configuration?

            What is your FOG server’s IP?

            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 Aug 18, 2015, 9:42 PM

              my fog servers IP address is 192.168.0.14 and i have made reservations on the DHCP of my router for that address.

              W 1 Reply Last reply Aug 18, 2015, 9:46 PM Reply Quote 0
              • W
                Wayne Workman @mati-92
                last edited by Aug 18, 2015, 9:46 PM

                @mati-92 And the other IPs? Do you have a pre-existing network-boot environment?

                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 Aug 18, 2015, 9:50 PM

                  i have no idea what the 10.0.0.2 ip addresses are i have had a look in the conf files and i cant see these address in there, could these address be because i am using virtualbox ?i also have no idea what the ub2.pxe my current ip scheme for the entire house is between 192.168.0.1- 192.168.0.255. no pre-existing boot enviroment.

                  W 1 Reply Last reply Aug 18, 2015, 11:13 PM Reply Quote 0
                  • W
                    Wayne Workman @mati-92
                    last edited by Wayne Workman Aug 18, 2015, 5:14 PM Aug 18, 2015, 11:13 PM

                    @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 Aug 18, 2015, 11:32 PM

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

                      i got this error

                      1 Reply Last reply Reply Quote 0
                      • M
                        mati-92
                        last edited by Aug 18, 2015, 11:35 PM

                        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 Aug 18, 2015, 11:37 PM

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

                          W 1 Reply Last reply Aug 18, 2015, 11:39 PM Reply Quote 0
                          • W
                            Wayne Workman @mati-92
                            last edited by Aug 18, 2015, 11:39 PM

                            @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 Aug 19, 2015, 12:09 AM

                              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

                              W 1 Reply Last reply Aug 19, 2015, 12:21 AM Reply Quote 0
                              • W
                                Wayne Workman @mati-92
                                last edited by Aug 19, 2015, 12:21 AM

                                @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 Aug 19, 2015, 12:28 AM

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

                                  W 1 Reply Last reply Aug 19, 2015, 12:33 AM Reply Quote 0
                                  • W
                                    Wayne Workman @mati-92
                                    last edited by Aug 19, 2015, 12:33 AM

                                    @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 Aug 19, 2015, 12:52 AM

                                      IMAG0110.jpg IMAG0109.jpg

                                      W 1 Reply Last reply Aug 19, 2015, 1:46 AM Reply Quote 0
                                      • W
                                        Wayne Workman @mati-92
                                        last edited by Aug 19, 2015, 1:46 AM

                                        @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 Aug 19, 2015, 11:21 AM Reply Quote 0
                                        • M
                                          mati-92 @Wayne Workman
                                          last edited by Aug 19, 2015, 11:21 AM

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

                                          W 1 Reply Last reply Aug 19, 2015, 12:10 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            13/53
                                            Last post

                                          152

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project