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

    Clean install Ubuntu 14.04 and fog 1.1.2

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    21
    8.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.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      do NOT set up more then one DHCP server on your network. undionly.kpxe (pxelinux.0 in previous versions) is the file that your DHCP server tells computers that they need, when they announce to the network that they need an IP and would like to pxe boot.

      signature:
      Junkhacker
      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

      1 Reply Last reply Reply Quote 0
      • P
        purpleturtle99
        last edited by

        Thanks JH, I fully understand that 2 DHCP servers is a bad idea but no-one has actually given advice what to do. On my Cisco router I can’t set undionly.kpxe. What would you recommend I use as a DHCP server? Should I use the fog server and turn off DHCP on my Cisco routers. Or install another DHCP server and turn off DHCP on my Cisco router?

        1 Reply Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          it’s rare for me to beat Jaymes to the punch with this recommendation, but I recommend DNSMASQ
          [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            [quote=“Junkhacker, post: 33130, member: 21583”]it’s rare for me to beat Jaymes to the punch with this recommendation, but I recommend DNSMASQ
            [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url][/quote]

            hahaha too true, sorry tearing out some old labs and technology, wasn’t at my machine, I see I’m slacking 🙂

            Use the DNSMASQ solution to circumvent the need to edit your DHCP server. It looks for machines using tftpboot and issues the boot server and file name to the machine so it can resolve correctly to your fog server. I use this in multiple environments!

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • P
              purpleturtle99
              last edited by

              OK I have gone off and formatted the Hard drive and installed Ubuntu 12.04LTS and Fog ver 1.1.0.Done the DNSMASQ route. And still can’t make images. PXE-E53 No Boot filename received. And PXE-M0F Exiting Intel Boot agent.

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                Can you use wireshark? The sounds of it is that it’s getting dhcp, just not from the right place.

                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
                • P
                  purpleturtle99
                  last edited by

                  Here is the config file. Am I right by saying that in this file:

                  The boot filename, Server name, Server Ip Address

                  dhcp-boot=undionly.kpxe,fog,192.168.1.101

                  undionly.kpxe is the filename it looking for ? Can’t install Wireshark…BTW

                  [url=“/_imported_xf_attachments/1/1173_dnsmasq_d_ltsp config.txt?:”]dnsmasq_d_ltsp config.txt[/url]

                  1 Reply Last reply Reply Quote 0
                  • Jaymes DriverJ
                    Jaymes Driver Developer
                    last edited by

                    [quote=“purpleturtle99, post: 33418, member: 23775”]Here is the config file. Am I right by saying that in this file:

                    The boot filename, Server name, Server Ip Address

                    dhcp-boot=undionly.kpxe,fog,192.168.1.101

                    undionly.kpxe is the filename it looking for ? Can’t install Wireshark…BTW[/quote]

                    Did you set up a symlink for the file undionly.kpxe to appear as undionly.0?

                    you can also try removing the fog from the middle of dhcp-boot=undionly.kpxe,fog,192.168.1.101, I know I had to in order to get dnsmasq to resolve properly.

                    Also why can you not use wireshark? you don’t HAVE to install it on the fogserver, actually it would be recommended to put it in on a laptop and test in various places as switches change because some settings in managed switches causes problems with receiving the boot file.

                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                    1 Reply Last reply Reply Quote 0
                    • P
                      purpleturtle99
                      last edited by

                      Okay when I stop the DNSMASQ services and let my Cisco router dish out IP’s via DHCP then laptop receives an IP address and the errors are PXE-E53 and PXE-M0F

                      When I start the DNSMASQ services and remove the fog from the config file I get errors PXE_E51 no DHCP or proxyDHCP offers were received

                      And wiresharks shows the same result DHCP discover only messages. So I think the laptop never gets an DHCP offer from the fog server running DNSMASQ…What am I missing here???
                      BTW also from the ltsp.conf file what range of IP address is my fog server dishing out anyway???and how do I check this in the ltsp.conf file

                      1 Reply Last reply Reply Quote 0
                      • Jaymes DriverJ
                        Jaymes Driver Developer
                        last edited by

                        [quote=“purpleturtle99, post: 33427, member: 23775”]Okay when I stop the DNSMASQ services and let my Cisco router dish out IP’s via DHCP then laptop receives an IP address and the errors are PXE-E53 and PXE-M0F
                        [/quote]

                        To be expected there is probably a misconfiguration with the DHCP next server and bootfile name, but some people don’t even attempt settings at the DHCP server if they intend to use DNSMASQ as it will not be necessary.

                        [quote=“purpleturtle99, post: 33427, member: 23775”]When I start the DNSMASQ services and remove the fog from the config file I get errors PXE_E51 no DHCP or proxyDHCP offers were received

                        And wiresharks shows the same result DHCP discover only messages. So I think the laptop never gets an DHCP offer from the fog server running DNSMASQ…What am I missing here???
                        BTW also from the ltsp.conf file what range of IP address is my fog server dishing out anyway???and how do I check this in the ltsp.conf file[/quote]

                        It might be worth downloading the Cisco CNA program from the cisco website so that you can check the settings of your switches.

                        Now load up the CNA program and select the switch in question (they will probably ALL have to be configured this way to pass the boot file) Log into your managed switch with the administrative username and password.

                        Click Configure on the left hand side. Choose Port Settings from the list.

                        Select all ports to be used for PXE boot. Click Modify. Enable Port Fast. Save. Close open windows.

                        This might help to solve some of the problems you are facing. Now To answer the question about DNSMASQ:

                        #[B] This range(s) is for the public interface, where dnsmasq functions[/B]

                        [B]as a proxy DHCP server providing boot information but no IP leases.[/B]

                        #[B] Any ip in the subnet will do, so you may just put your server NIC ip here.[/B]

                        [B]Since dnsmasq is not providing true DHCP services, you do not want it[/B]

                        [B]handing out IP addresses. Just put your servers IP address for the interface[/B]

                        #[B] that is connected to the network on which the FOG clients exist.[/B]
                        #[B] If this setting is incorrect, the dnsmasq may not start, rendering[/B]

                        [B]your proxyDHCP ineffective.[/B]

                        dhcp-range=10.0.0.10,proxy

                        I bolded the important parts, funny they are included in your text file and the wiki… That 10.0.0.10 is what you want to change to your fog server ip address, or something similar.

                        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                        1 Reply Last reply Reply Quote 0
                        • P
                          purpleturtle99
                          last edited by

                          Gentlemen we have lift OFFFFFFFFFF.
                          I have finally booted to my fog server successfully. In the end it was the line: dhcp-range=10.0.0.10,proxy which I had to change to the ip address of my server.

                          Soooooo to help others
                          here is a quick breakdown of my set up and by no means perfect but hey it works
                          Ububtu 1204 LTS
                          Fog 1.1.0
                          Cisco WAG120N switch with DHCP enabled to provide IP address in the same subnet as your server(just in case)
                          DNSMASQ installed and configured as per link (DNSMASQ doesn’t provided DHCP it inform the client’s computer where to find the fog server)
                          [url]http://fogproject.org/wiki/index.ph...with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]

                          I had to change the following in the /etc/dnsmasq/ltsp.conf
                          dhcp-boot=undionly.kpxe,fog,IP.Add.of.yurserver
                          and
                          dhcp-range=IP.ADD.OF.yurserver,proxy

                          Thanks to LifeHacker, Jaymes and Tom Elliott

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

                          173

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project