• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Greg Plamondon
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 75
    • Posts 403
    • Groups 1

    Posts

    Recent Best Controversial
    • Attempting to check in............................Failed

      I have a client @ a remote site that is repeating:

      Attempting to check in............................Failed
       *  (In line for 13:50)
       * Attempting to check in............................Failed
       *  (In line for 13:55)
       * Attempting to check in............................Failed
       *  (In line for 14)
       * Attempting to check in............................Failed
       *  (In line for 14:5)
       * Attempting to check in............................Failed
       *  (In line for 14:10)
       * Attempting to check in............................Failed
       *  (In line for 14:15)
       * Attempting to check in............................Failed
       *  (In line for 14:20)
       * Attempting to check in............................Failed
       *  (In line for 14:25)
       * Attempting to check in............................Failed
       *  (In line for 14:30)
       * Attempting to check in............................Failed
       *  (In line for 14:35)
       * Attempting to check in............................Failed
      

      The only thing I see logs: access_log:

      10.43.100.146 - - [06/Apr/2021:11:38:48 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      10.43.100.146 - - [06/Apr/2021:11:38:53 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      10.43.100.146 - - [06/Apr/2021:11:38:58 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      10.43.100.146 - - [06/Apr/2021:11:39:04 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      10.43.100.146 - - [06/Apr/2021:11:39:09 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      10.43.100.146 - - [06/Apr/2021:11:39:14 -0400] "POST /fog/service/Pre_Stage1.php HTTP/1.1" 403 - "-" "curl/7.66.0"
      

      any suggestions?

      I have already checked and made sure /fog/ is the web_root in the gui.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Here config for SystemRescueCD 8

      @the_ccm said in Here config for SystemRescueCD 8:

      @greg-plamondon said in Here config for SystemRescueCD 8:

      @the_ccm

      I tried this but get an error on the client when selecting the rescue cd option:

      docache... Operation not permitted (http://ipxe.org/410c613c)
      

      maybe a permission issue on /var/www/utils folder ? mine is root:root 755

      also check http://ipxe.org/410c613c

      Permissions are root:root 755 and I still get the error.
      What Linux distro are you using? I am using Centos 7

      posted in Tutorials
      Greg PlamondonG
      Greg Plamondon
    • RE: Here config for SystemRescueCD 8

      @the_ccm

      I tried this but get an error on the client when selecting the rescue cd option:

      docache... Operation not permitted (http://ipxe.org/410c613c)
      
      posted in Tutorials
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog Version 1.5.9.62 hostSecToken problem

      @sebastian-roth Thanks for that, The PC in question was in the pending hosts.
      After approving it joined the domain as expected.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog Version 1.5.9.62 hostSecToken problem

      @sebastian-roth said in Fog Version 1.5.9.62 hostSecToken problem:

      Have you checked the list of

      I am not sure where that is anymore. is that in the host settings under the mac address box?

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Copy ipxe.efi to uefi partition?

      @jj-fullmer I will have to try this when I have more time because simply copying the ipxe.efi from fog over to the uefi partition works great for when the machine is on the network, but if its not connected to the LAN it wont boot to windows its caught in an IPXE boot loop.

      posted in Windows Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog Version 1.5.9.62 hostSecToken problem

      @sebastian-roth
      Here is the php-fpm logs
      I searched the MAC address in the database and found it twice.

      MariaDB [fog]> SELECT * FROM `hostMAC` WHERE `hmMAC` IN (SELECT `hmMAC` FROM `hostMAC` GROUP BY `hmMAC` HAVING COUNT(`hmMAC`) > 1);
      Empty set (0.00 sec)
      
      

      alt text

      I am still reasearching the 500 error.

      Thanks.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog Version 1.5.9.62 hostSecToken problem

      I deleted a Lenovo PC from fog and then did a quick registration and inventory, Imaged the PC and it gets a token. Not sure why this XPS is not.

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog 1.5.9.62 Location problems.

      @sebastian-roth said in Fog 1.5.9.62 Location problems.:

      @Greg-Plamondon Just pushed the fixed 1.5.9.63.

      Awsome!
      Appreciate your work!

      posted in Bug Reports
      Greg PlamondonG
      Greg Plamondon
    • RE: Fog Version 1.5.9.62 hostSecToken problem

      @sebastian-roth
      Thanks for the reply. Here is the fog.log

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • Fog Version 1.5.9.62 hostSecToken problem

      I have some Dell XPS laptops that I am having issues with fog generating the hostSecToken. i am not sure if its a fog issue or an issue with these new Dells?

      what are the steps I should take to troubleshoot?

      posted in FOG Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Dell XPS 17

      @tom-elliott said in Dell XPS 17:

      @greg-plamondon I should add, there are some steps involved besides just making the switch itself.

      If you want the machines to reboot and operation:

      1. Boot windows
      2. Open msconfig.exe
      3. Click Boot Tab
      4. Check box for “Safe boot”
      5. Reboot machine
      6. Load to Bios and Switch SATA operation Mode.
      7. Reboot machine and boot into windows.
      8. Open msconfig.exe
      9. Click Boot Tab
      10. Uncheck Box for “Safe boot”
      11. Restart machine and do whatever you need to.

      Tom can I do this before sysprep?

      posted in Hardware Compatibility
      Greg PlamondonG
      Greg Plamondon
    • Fog 1.5.9.62 Location problems.

      Fog 1.5.9.62 Host location reverts to “- Please select an Option -” when making any changes to the host whether it is snapins or settings.

      posted in Bug Reports
      Greg PlamondonG
      Greg Plamondon
    • RE: Dell XPS 17

      @tom-elliott said in Dell XPS 17:

      @greg-plamondon Have you tried disabling “Raid On” and switching over to “AHCI” for the SATA operation mode?

      That worked Tom.

      Thanks!

      posted in Hardware Compatibility
      Greg PlamondonG
      Greg Plamondon
    • Dell XPS 17

      I am having issues with the Dell XPS 17 not detecting a hard drive.
      I have tried the latest 5.10.19 64Bit kernel.
      Does anyone have any suggestions?

      posted in Hardware Compatibility
      Greg PlamondonG
      Greg Plamondon
    • RE: Copy ipxe.efi to uefi partition?

      @sebastian-roth Thanks!
      That worked for me. I would also note that this is Windows 10 1607 Enterprise LTSB.
      that could be why the partition is not partition 1?

      posted in Windows Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Copy ipxe.efi to uefi partition?

      @george1421 I followed the post you linked.

      In my case, it was partition 2.
      alt text

      I then assigned partition 2 drive letter b in disakpart. killed explorer and restarted explorer.

      select disk 0
      select part 2
      assign letter=b
      exit
      taskkill /im explorer.exe /f
      explorer.exe
      

      I then copied and replaced the bootx64.efi with the renamed ipxe.efi from the fogserver.
      Once the file was copied over I removed the drive letter and rebooted.
      I don’t see the menu while it’s booting. what am I supposed to see?

      posted in Windows Problems
      Greg PlamondonG
      Greg Plamondon
    • RE: Copy ipxe.efi to uefi partition?

      @george1421 Thanks!

      posted in Windows Problems
      Greg PlamondonG
      Greg Plamondon
    • Copy ipxe.efi to uefi partition?

      Re: Windows 10 change BIOS boot order after deploy

      @JJ-Fullmer, In the above topic you stated that you were able to copy the ipxe.efi to the machine’s uefi partition. How do you go about doing this automated? could elaborate on the process for me? I have VERY little experience with uefi.

      Thanks!

      posted in Windows Problems
      Greg PlamondonG
      Greg Plamondon
    • Conspy Install Script

      Re: Using Conspy to View remote PC imaging progress

      Here is the script I use to install conspy on the fogserver/storage nodes.

      yum install conspy -y
      echo -e '#(>)##### UnPacking Init.xz #####'
      cd /var/www/fog/service/ipxe/
      xz -d init.xz
      mkdir initmountdir
      
      echo -e '#(>)##### Mounting Init #####'
      
      mount -o loop init initmountdir
      cd /var/www/fog/service/ipxe/initmountdir
      rm -f root/.ssh/authorized_keys
      #### Install SSH Keys
      echo -e '#(>)##### Installing SSH Keys #####'
      
      needreload=0
      if [ ! -d root/.ssh ]; then
          echo -e '#(->)Creating SSH File'
      
          # Create the autorized keys and add the keys
          mkdir root/.ssh
          touch root/.ssh/authorized_keys
          # ssh Keys
      
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
      else
          if [ ! -f root/.ssh/authorized_keys ]; then
              echo -e '#(->)Creating new SSH File'
      
          # Add all the keys
          touch root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy11111111' >> root/.ssh/authorized_keys
          /bin/echo 'ssh-rsa rrrrrrrrrrreeeeeeeeeeeeeeaaaaaaaaaaaaallllllllllllyyyyyyyyyylllllllloooooooooonnnnnnnnnnnggggggggggkkkkkkkkeeeeeeeyyyyyy22222222' >> root/.ssh/authorized_keys
          fi
      fi
      
      echo -e '#(>)##### Coping ConSpy #####'
      
      rsync -avh --progress /usr/bin/conspy /var/www/fog/service/ipxe/initmountdir/bin
      rsync -avh --progress /usr/lib64/libncurses.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncurses.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncursesw.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libncursesw.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libtinfo.so.6 /var/www/fog/service/ipxe/initmountdir/lib64
      rsync -avh --progress /usr/lib64/libtinfo.so.6.1 /var/www/fog/service/ipxe/initmountdir/lib64
      
      echo -e '#(>)##### Coping Nano #####'
      rsync -avh --progress /usr/bin/nano /var/www/fog/service/ipxe/initmountdir/bin
      
      echo -e '#(>)##### Re-Packing Init.xz #####'
      
      cd /var/www/fog/service/ipxe/
      umount initmountdir
      rmdir initmountdir
      xz -C crc32 -9 init
      chown fogproject:apache init.xz
      
      #ls -al
      echo -e '#(-)##### Completed #####'
      cd /root
      
      posted in Tutorials
      Greg PlamondonG
      Greg Plamondon
    • 1 / 1