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

    PXE help

    Scheduled Pinned Locked Moved
    General
    4
    11
    3.4k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      My guess is the dhcp server you have in place wasn’t working because it’s not passing the next-server or boot file parameters.

      I’d make a copy of your FOG Server’s dhcpd.conf file and remove the packages for it from your FOG Server. Compare the dhcpd.conf file from your Solaris and dhcpd.conf from the fog server and find out how DIFFERENT they really are. My guess is it will actually be pretty simple.

      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
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        what file is your option 67 pointing to? it should be undionly.kpxe

        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
        • D
          DoubleD
          last edited by

          [quote=“Tom Elliott, post: 29835, member: 7271”]My guess is the dhcp server you have in place wasn’t working because it’s not passing the next-server or boot file parameters.

          I’d make a copy of your FOG Server’s dhcpd.conf file and remove the packages for it from your FOG Server. Compare the dhcpd.conf file from your Solaris and dhcpd.conf from the fog server and find out how DIFFERENT they really are. My guess is it will actually be pretty simple.[/quote]

          WOW that was a quick response 😄

          I attempted to go down that path but I can’t find a dhcp.conf file on my Solaris server - I did find a dhcptab file in /var/dhcp but I’m not sure how to add PXE or next server. The dhcptab file seems to define the DHCP environment. perhaps I can add the next server there if I knew the syntax

          Locale m :UTCoffst=-14400:
          sun1234 m :Include=Locale:LeaseTim=1728000:LeaseNeg:
          172.16.0.0 m :Subnet=255.255.0.0:Router=172.16.0.1:
          :DNSserv=172.16.0.2:Broadcst=172.16.255.255:
          :MTU=1500:NetBNms=172.16.0.3 172.16.0.2:
          :DNSdmain=mydomain.com:NISdmain=xxx.mydomain.com:
          :NISservs=172.16.0.2:Timeserv=172.16.0.2:

          1 Reply Last reply Reply Quote 0
          • D
            DoubleD
            last edited by

            P.S. DHCP seems to work - if I add new MAC addresses the server does reply with the address defined in the dhcp pool file

            1 Reply Last reply Reply Quote 0
            • D
              DoubleD
              last edited by

              Well I’m confused

              I redid the fog server and told it to do DHCP

              This is what it BUILT

              DHCP Server Configuration file.

              see /usr/share/doc/dhcp*/dhcpd.conf.sample

              This file was created by FOG

              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              next-server 172.16.50.254;

              subnet 172.16.50.0 netmask 255.255.255.0 {
              option subnet-mask 255.255.255.0;
              range dynamic-bootp 172.16.50.10 172.16.50.254;
              default-lease-time 21600;
              max-lease-time 43200;
              option domain-name-servers 172.16.0.186;
              option routers 172.16.0.1;
              filename “undionly.kpxe”;

              The wiki at [url]http://www.fogproject.org/wiki/index.php/Integrating_FOG_into_an_Existing_Network_in_non_intrusive_mode[/url]
              talks to modifying this file. Since I don’t know what the file looked like before I’m not sure I know what the differences are. Equally confusing is the machine that is receiving an IP from FOG. - In my environment all machines begin to get DHCP from FOG instead of my existing DHCP server.

              My network is 172.16.x.x 255.255.0.0 The fog server is bing placed on the same subnet

              This does mess with my existing DHCP server.

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

                Don’t let fog be DHCP. If you already have a DHCP server it is bad to introduce another into the mix.

                If you are having trouble resolving your bootfile in your network, try using DNSMasq to help alleviate the bootfile issues.

                [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]

                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
                • D
                  DoubleD
                  last edited by

                  [quote=“Jaymes Driver, post: 29873, member: 3582”]Don’t let fog be DHCP. If you already have a DHCP server it is bad to introduce another into the mix.

                  If you are having trouble resolving your bootfile in your network, try using DNSMasq to help alleviate the bootfile issues.

                  [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]

                  I’m such a noob at this

                  I’m running FOG on ubuntu server 12.04 LTS - I see in the link you provided ubuntu 12 is tested and working so I will give that a whirl.

                  Thank you

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

                    [quote=“DoubleD, post: 29879, member: 24577”]I’m such a noob at this

                    I’m running FOG on ubuntu - I see in the link you provided ubuntu 12 is tested and working so I will give that a whirl.

                    Thank you[/quote]

                    I use this in my environment, it is reliable. I have used it on all version of Ubuntu to date.

                    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
                    • D
                      DoubleD
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D
                        DoubleD
                        last edited by

                        [quote=“Jaymes Driver, post: 29880, member: 3582”]I use this in my environment, it is reliable. I have used it on all version of Ubuntu to date.[/quote]

                        Jaymes - Thank you ever so much this worked! ! ! 😄

                        :oops: I erroneously followed the directions for FOD 0.33 and it was all messed up. After rereading the [URL=‘http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE’]install instructions[/URL] I saw my error and undid all the stuff for FOG 033 and it worked like a charm - Now to try to figure out how to make images from an existing machine and then dump the image back

                        [INDENT=1]This information pertains to FOG 0.33 and the new iPXE boot method.[/INDENT]
                        [INDENT=1]In order to continue to use dnsmasq to dole out ip addresses and to help find the boot file, some changes need to be made to force the boot file to load the iPXE boot file.[/INDENT]
                        [INDENT=1][B]FIRST Update the schema by navigating to your fog management page and install the update.[/B][/INDENT]

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

                        215

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project