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

Changed IP, reinstalling not an option

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
961
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.
  • B
    boriquaboy115
    last edited by boriquaboy115 Jan 22, 2021, 6:32 PM Jan 23, 2021, 12:31 AM

    I changed the IP. Eventually, I’d like to change the whole subnet, but I wanted to start small. Either way, now my clients can’t successfully pxe boot. I used the updateip.sh, and I changed the IP in the /tftpboot/ipxe.default and hit the /tftpboot with a chmod 777 -R. Here is a picture of my problem. I can’t reinstall, is this mission impossible? pxe_problem.PNG

    G 1 Reply Last reply Jan 23, 2021, 12:34 AM Reply Quote 0
    • G
      george1421 Moderator @boriquaboy115
      last edited by Jan 23, 2021, 12:34 AM

      @boriquaboy115 The permission denied message is related to the certificates being used. I see you are using https so that means the certificate used to compile ipxe.efi and undionly.kpxe doesn’t match what the apache server is using.

      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!

      B 1 Reply Last reply Jan 28, 2021, 4:04 AM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jan 23, 2021, 9:31 AM

        @boriquaboy115 Should be able to fix that without re-install. Go to the directory where you extracted the FOG installer (or cloned it via github). If you don’t have that anymore you can re-download it. Best to use the same version you installed before: https://github.com/FOGProject/fogproject/releases

        Change to root user (e.g. sudo -i or su -) and navigate to the subdirectory utils/FOGiPXE/ within the FOG installer dir. Then run the iPXE buildscript and copy over the new binaries that were generated by the build script:

        ./buildipxe.sh
        cd ../../packages/tftp/
        find -type d -exec mkdir -p /tftpboot/{} \;
        find -type f -exec cp -fv {} /tftpboot/{} \;
        

        See if you clients are able to PXE boot again.

        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
        • B
          boriquaboy115 @george1421
          last edited by Jan 28, 2021, 4:04 AM

          @george1421 How would I fix that?

          1 Reply Last reply Reply Quote 0
          • B
            boriquaboy115
            last edited by Jan 28, 2021, 7:33 AM

            I ended up finding the fix.

            Step 1: Change IP Address, then deactivate and activate the network interface.

            Step 2: Run the UpdateIP.sh within the fog-community-scripts-master.zip found here https://github.com/FOGProject/fog-community-scripts

            Step 3: Rerun the installer.
            If you have NO INTERNET CONNECTION, like myself in this case,
            rerun with the -X option like so,

            ./installfog -X

            I verified it worked with my new subnet and I was able to boot off my Fog Server, register new hosts, as well as capture and deploy an encrypted Linux image.

            This was successfully done on a Rhel 7.9 VM with no internet connection FYI.

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

            328

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project