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

    Failed ipxe/boot.php because of different IP

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    13
    7.5k
    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.
    • S
      Skrou
      last edited by Skrou

      Server
      • FOG Version: Installed 20/7/17 (trunk - can’t find the version)
      • OS: CentOS 7
      Client
      • Service Version:
      • OS:
      Description

      Hi everybody!
      I’ve been trying to setup a zero touch deployment for windows terminals at my company and I stumbled upon Fog.
      Long story short, I set it up on VmWare workstation first and then migrated it to ESXi. With the migration, IP’s and subnets change of course. I reconfigured everything that I found that was blocking a terminal booting into Fog but the problem still persists.
      After it gets IP from DHCP (correct subnet etc) and IPXE boots starts, it halts at http://x.x.x.x/fog/service/ipxe/boot.php… Network Unreachable.
      Thing is, the above line tftp etc has the right IP address but the Http line doesnt. Still has the IP from the 1st setup.
      As I stated above, I changed the IP to the correct one in every single place that I could find. But still something is missing.

      Any ideas???

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • L
        laintimes
        last edited by

        If it was a test server, you have no critical data to import, reinstall directly from a blank system you will have to save time …

        1 Reply Last reply Reply Quote 0
        • S
          Skrou
          last edited by

          Thanks for the fast reply.
          I’m setting this up so we can deploy terminals to my company’s clients with zero touch deployment. So reinstalling everytime for any client will be too much of a hassle. So i need to migrate it every single time that terminal deployment is asked.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by

            You can fix this if you want.

            There are 3 places the IP address hides in the FOG Gui and 2 places in the linux OS.

            Web GUI:
            1 and 2 Go into FOG configuration -> FOG settings and expand all. Down towards the bottom there will be a tftp section and a web section. Ensure the IP address there is correct.
            3 Go to the storage node configuration (probably default or defaultMaster) for this fog server. There is an ip address in there.

            FOG server linux console:
            1 edit the file /tftpboot/default.ipxe
            2 edit the file /opt/fog/.fogsettings

            Once that is all done rerun the fog installer. You won’t need to make any changes just run through the installer again and it will clean up any remaining bits for you.

            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!

            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Skrou
              last edited by

              @Skrou said in Failed ipxe/boot.php because of different IP:

              So i need to migrate it every single time that terminal deployment is asked.

              I’m not sure I understand this statement. If you are creating a FOG mobile deployment server there is another option where the IP address could change often. FOG really doesn’t like its host OS changing IP addresses. The mobility script will help this situation.

              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!

              1 Reply Last reply Reply Quote 0
              • S
                Skrou
                last edited by

                Yes. It is in my best interest for this to be a mobile deployment server.
                Where is that option and what’s the mobility script? (Sorry for all of this but I’m still a starter user as far as Linux goes.)

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Skrou
                  last edited by

                  @Skrou You can get the script from here https://github.com/FOGProject/fog-community-scripts It was written by another FOG Project moderator @Wayne-Workman

                  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!

                  1 Reply Last reply Reply Quote 0
                  • S
                    Skrou
                    last edited by

                    Nice! Thanks!!

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Skrou
                      last edited by

                      @Skrou If you will be taking the fog server into an uncontrolled environment (i.e. customer sites) you will probably want to install dnsmasq on the fog server to provide the dhcp pxe boot settings needed to pxe boot target computers so you aren’t relying on the existing infrastructure for pxe booting support.

                      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!

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

                        Yeah, I got that since it was mentioned in the mobile script that you linked before and I looked it up. Will definetely give it a shot.
                        Unfortunately, I will continue my FOG project in 3 months time, since from Monday onwards I will be deployed to a customer for like 3 months.

                        Thanks again!

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Skrou
                          last edited by george1421

                          @Skrou get a raspberry pi3 and setup a fog server in your hotel room 😉

                          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!

                          1 Reply Last reply Reply Quote 0
                          • S
                            Skrou
                            last edited by

                            I will set it up at my home lab in my free time. As a new recruit here, if I can make this work, it will be a good ++ for my future here.
                            And once again, thanks a lot!

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

                              @george1421 said in Failed ipxe/boot.php because of different IP:

                              you will probably want to install dnsmasq on the fog server

                              That’s how the MakeFogMobile scripts work, they use dnsmasq. This is because the intention is mobility.

                              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
                              • 1 / 1
                              • First post
                                Last post

                              152

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project