• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. JJ Fullmer
    3. Posts
    • Profile
    • Following 5
    • Followers 4
    • Topics 55
    • Posts 946
    • Best 253
    • Controversial 0
    • Groups 3

    Posts made by JJ Fullmer

    • RE: LENOVO L13 : IPXE initialising Devices

      @Ced58 I use this model. It’s best to get either the official Lenovo usb c ethernet adapter or the proprietary Lenovo adapter for the special ethernet port on these. Also in the bios there’s a Mac pass through option that you want to set to internal or second Mac address. With the latest version of fog and kernel it should see that internal mac even if you share an adapter for imaging multiple of that device.

      posted in Hardware Compatibility
      JJ FullmerJ
      JJ Fullmer
    • RE: Unclear how to drop devices into specific OUs on Domain Join

      @joshua_mchugh George’s mention of using a post install script to do it is more advanced but very worth the effort. Having it domain joined via sysprep specialize simplifies things in the long run.
      That being said, you’re probably misunderstooding groups, because they’re a little confusing. Groups in Fog do not dynamically update the OU of the host members, but it can be used to set the OU in bulk on members. There is a plugin to change the behavior of groups if you want, but I’d try it the normal way first.
      But if you set the OU on the host, then when it joins the domain via the fog client, it will be in that OU. It will not move a host to a different OU, unless you do something like manually leave the domain and change the computer name and then the fog service will rename the computer back to what it is in fog and then join the domain in the set OU.

      I personally use a post install script now that grabs the OU from to host and Injects that into my unattend file. I believe I’ve posted some examples in the past. If I remember tomorrow when I’m at a computer and not a phone, I’ll link them.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Lenovo 13W will not boot to fog after bios update.

      @John-L-Clark what version of fog are you running?
      I would also suggest enabling the Mac address pass through.
      You could also try an older ipxe file

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Crashed Capturing Image Due To Low Disk Space, Cannot Log Back Into FOG

      @argylega have you restarted the Mariadb and apache services, or the whole server?
      I also assume you mean you can’t login to the website. Is there anything in the apache error log?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Problem Import Host

      @NoIPName Can you share your import csv perhaps? It seems to think it’s missing a value based on the error message. I will gladly test the same csv on my dev server and see if I get the same result so we can debug this more hands on.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Snapin without file / Just execute command?

      @altitudehack The supported workaround would be to use 1 universal script that can just take the arguments of a command.
      i.e. a simple powershell script like this

      [CmdletBinding()]
      param (
          [string]$exe,
          [string]$argz
      )
      
      start-process -filepath "$exe" -arguments "$argz"
      

      There might be more needed there, but that’s the general idea.
      Then you just use that same script each time you need it. Then lets say you call it runCmd.ps1

      you would make a snapin with the powershell template and that runCmd.ps1 (once uploaded once you can create snapins with the existing file)
      In the snapin arguments field you would put something like -exe "C:\program files\some program\uninstall.exe" -argz "/S"

      posted in Feature Request
      JJ FullmerJ
      JJ Fullmer
    • RE: Assigning Snapins to Hosts via FOG API – Proper JSON Structure and Method?

      @danieln
      Check out the FogApi powershell module, links in my signature.
      I even have functions for setting snapins already

      https://fogapi.readthedocs.io/en/latest/commands/Set-FogSnapins
      https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Set-FogSnapins.ps1

      and for starting snapins

      https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Start-FogSnapins.ps1
      https://fogapi.readthedocs.io/en/latest/commands/Start-FogSnapins.ps1

      https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Start-FogSnapin.ps1
      https://fogapi.readthedocs.io/en/latest/commands/Start-FogSnapin.ps1

      posted in General Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Custom CA problem boot PXE

      @NoIPName Can you get to https://192.168.1.1/fog in a web browser without any cert is bad prompts?

      Because pxe wants to use the ip address in the url you have to have the ip address san in the certificate that your fog web server is using.
      That cert for the web server needs to be from the custom ca.
      That public cert can also affect client communication if you change it in the default path from fog install.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Kernel Panic - not syncing, unable to mount root

      @bwilli78 I would try ipxe.efi instead of snponly.efi for testing the pxe boot file route. .kpxe and .kkpxe boot files are for legacy systems that don’t support UEFI. However it sounds like you’re getting to the fog pxe boot menu so that’s an unlikely culprit.

      Where in the process are you getting the kernel panic?
      Are you queueing the imaging before hand or are you queuing it in the fog boot menu?

      The general process is

      1. Boot host to pxe
      2. Host contacts pxe server defined in dhcp and requests pxe bootfile listed in dhcp
      3. Host boots to the pxe file which takes it to the fog pxe boot menu
        a. If the host was queued for a task it downloads and boots the FOS kernel instead of the pxe boot menu
        b. Or, user selects a task and then host boots to FOS kernel to perform the action
      4. Kernel loads into FOS and performs the task.

      Where in this general overview are you seeing this error?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Update to working-1.6 fails with mysql: unrecognized service

      @lperoma What do you get running mariadb -V

      posted in Linux Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Problem with FOG Service …

      @iljared98 I don’t suppose you’d be willing to share more on this config? What specific rights you gave the service account, did you have to do this whole thing https://support.microsoft.com/en-us/topic/kb5008383-active-directory-permissions-updates-cve-2021-42291-536d5555-ffba-4248-a60e-d6cbc849cde1 related to this whole thing https://support.microsoft.com/en-us/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8 ?

      I’ve previously attempted to create a standard user with such permissions, but I hadn’t tried a service account, that’s a grand idea. I would love to document the creation of a least privilege service account for fog domain operations.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: FOG Very Slow to Deploy Image - Lenovo Neo 50Q Gen 4

      @Quintin-Giesbrecht It’s been a while since I’ve had to mess with it, if memory serves it may show in the output of the imaging itself. You might need to do a deploy in debug mode on a fast/normal speed machine and then a slow one and compare what you see.

      You may also find some logs in the log viewer of fog within the fog configuration page. Where the logs are on the server depend on your fog version and your OS version.

      Like for me on Rocky 9 with Fog 1.6 and using apache with php 8 the log with the most information is /var/log/php-fpm/www-error.log but I don’t believe kernel level stuff will output there.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Problem with FOG Service …

      @Laurent https://docs.fogproject.org/en/latest/installation/server/install-fog-server/#choosing-a-fog-version

      Essentially, instead of checking out the stable branch and doing a git pull and running the installer, you check-out the working-1.6 branch, do a git pull and run the installer.

      It’s still in “beta” but I believe we’re very close to releasing it as the new stable version.

      It’s a whole new ui it’s pretty great. Lots of feature and security enhancement in the backend, faster search results in a universal search tool, cool stuff like that.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: FOG Very Slow to Deploy Image - Lenovo Neo 50Q Gen 4

      @Quintin-Giesbrecht I think there’s potential for a solution for it but it’s tricky to nail down. I imagine you’ve also tested machines that go faster on the same ethernet cable and port? It’s very odd that it would capture fast but not deploy fast. What level of compression are you using on the image? iirc when uploading the image, compression happens on the fog server, when deploying the image decompression happens on the client. So if your compression is too high, it could cause this behavior but it would be more wide spread.

      You could play with making a custom kernel (see https://docs.fogproject.org/en/latest/compile-fos-kernel) adding different driver options that might relate, but since the network is already being recognized I’m not sure that would make a difference. It could also be a storage level issue rather than network which could also be something in the kernel.

      You can also adjust the kernel log level settings to be higher and you’ll get more output that might point to a different problem.

      Also be sure your bios is up to date and navigate through the bios settings for anything that seems like it could relate.

      There’s also playing with the different pxe boot files (i.e. ipxe.efi vs snponly.efi) this shouldn’t really make a difference once you’re in part clone and imaging, but I figure it’s worth testing all parts of the process when you’re not sure where the problem lies.

      I would also check the fog server dashboard, specifically the bandwidth reports and see if there are lots of dropped packets, perhaps there’s a different network configuration needed for this model?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Problem with FOG Service …

      @Laurent said in Problem with FOG Service …:

      I use an encrypted password because I don’t want other fog users to see my password in plain text

      I would recommend using a separate domain admin account rather than any 1 user’s domain account. Partly because of the issue you describe (though that’s not something that can be seen in the web gui) but also so that it’s a password that won’t expire with a user leaving and it’s a password that can be rotated without affecting other services.

      Just my 2 cents.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Snapins not deploying: Illegal characters in path.

      @sideone Are you getting different IP addresses in the snapin download url and the communication url? i.e. is the communication URL going to your master and the download going to a storage node? Maybe a storage node has something goofy in its storage node config?

      The communication url is derived from the c:\program files (X86)\Fog\settings.json file where it uses the Https flag, server name, and webroot values to construct that base url i.e. http://10.xx.xx.xx/fog
      I’m not sure if the download url is combo of the settings.json file with info from the server or if it’s just from the server or what. But your download url is missing the http/https and is also has an extra slash.

      P.S. you don’t really need to hide the ip of the fog server. It’s an internal subnet only ip address, it doesn’t expose anything to say what ip you’re using. Do whatever makes you feel safe, just saying is all.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Snapins not deploying: Illegal characters in path.

      @sideone So the taskid increment is normal, that’s the id of that specific task.

      I just tested a snapin on my server which is on the same version of 1.6.0 and didn’t have the issue. But I did notice something glaring

      17/10/2024 08:41:58 Middleware::Communication Download: ://10.xx.xx.xx//fog/service/snapins.file.php?mac=0C:9D:92:C9:DE:33|0C:9D:92:C9:DE:32&taskid=1700

      The download url is missing http or https

      So we need to work out why that’s happening.

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Snapins not deploying: Illegal characters in path.

      @sideone Is this happening on all snapins or just this one?
      Any errors around the same time in /var/log/php-fpm/www-error.log ?
      Can we see a screenshot of this snapins config in the gui? Maybe there’s something there.
      The taskid bit is odd

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • RE: Windows 11 -- Changes boot order priority following image deployment.

      @LiamRetrams I recently published a function related to this in my FogApi Powershell module (see my signature)

      I posted an example of using it in a snapin to change a host’s boot order to pxe boot as the first boot option

      https://forums.fogproject.org/topic/16784/powershell-snapin-no-output-non-error?_=1729112272355

      as @george1421 stated this is a windows issue, part of the oobe process involves changing the boot order. But you can utilize bcdedit to fix it. I’ve made an attempt at creating a universal option with my Set-WinToBootToPxe function, It works for me on some Asus motherboard based systems, I’d be very interested to hear if it works on custom Gigabyte builds as well.

      See also

      • https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Set-WinToBootToPxe.ps1
      • https://fogapi.readthedocs.io/en/latest/commands/Set-WinToBootToPxe/
      • https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Get-WinBcdPxeID.ps1
      • https://fogapi.readthedocs.io/en/latest/commands/Get-WinBcdPxeId/
      posted in General
      JJ FullmerJ
      JJ Fullmer
    • RE: Unable to Capture Using Single Disk - Resizable

      @shatchett0

      Glad to hear it’s working for capture now. You should be able to mount /images on a separate disk without issue, but having it all in the same place is fine too.

      I’m not 100% sure what that error is saying. At least not with enough detail to be helpful right off the bat.

      First thing that comes to mind is a sector mismatch. If your image was captured from a disk with 512e sectors and you try to deploy to a 4kn disk (or vice versa) you’ll get errors when it tries to align the partition table because the sector sizes can’t align. It’s a limitation in disk alignment at a lower hardware level. I have some notes on when I was debugging such an issue in this post https://forums.fogproject.org/topic/17112/surface-go-4-incompatible

      It could also be a simpler issue of the image doesn’t fit on the new disk. In most cases the resizable takes care of it, but if the image’s min size is bigger than the disk, not much can be done. But it looks like it’s an all disk or all partition image?

      posted in FOG Problems
      JJ FullmerJ
      JJ Fullmer
    • 1 / 1