• Unable to Startup SFTP subsystem

    Solved FOG Problems
    4
    0 Votes
    4 Posts
    197 Views
    S

    @Tom-Elliott I edited the sshd_config file and changed
    /usr/lib/openssh/sftp-server
    to
    internal-sftp

    I’m not sure how the installer failed to make this accomodation in the first place but I’m glad it appears to be working. I deployed the image to another laptop to make sure everything is working. It looks like the problem can be considered resolved now. Thanks for your help!

  • FOG 1.5.10 - Problem with AD Join.

    Unsolved FOG Problems
    5
    0 Votes
    5 Posts
    227 Views
    JJ FullmerJ

    @gmaurice resetting the host encryption in the gui and then restart the fog service and it should be back up and running. You can also use the api for this, the FogApi powerhsell module (links in my signature) I have this Reset-HostEncryption function https://fogapi.readthedocs.io/en/latest/commands/Reset-HostEncryption/?h=reset+host which will also handle this reset.

    Your other other option is to look into post download scripts, there’s some examples in the forums and the docs. If you’re using sysprep and unattend.xml you can inject domain join information into the unattend.xml after imaging and before windows launches for the first time, so the computer is joined to the domain before the fog service or any ui is reachable.

  • 0 Votes
    12 Posts
    472 Views
    R

    @Tom-Elliott Thank you, tested, confirmed it’s fixed.

  • You are not running the most current version of FOG!

    Solved Bug Reports
    2
    0 Votes
    2 Posts
    313 Views
    Tom ElliottT

    @scottrayr I’m not able to replicate the issue you’re seeing.

  • 0 Votes
    5 Posts
    218 Views
    Tom ElliottT

    @Balage80 Thanks for confirming the enrollment fix.

    UEFI boot: I think the cause is two new lines in default.ipxe. They read Secure Boot state from the firmware. iPXE reads it by stepping through every firmware variable, and some firmware never ends that list, so iPXE hangs there.

    Please test this: take the new 979-byte default.ipxe and delete only these two lines. Keep everything else.

    param secureboot ${efi/SecureBoot} param setupmode ${efi/SetupMode}

    Does UEFI boot with that file? Please also post the make, model, and BIOS version of the machine. Note that re-running installfog.sh writes a new default.ipxe, which replaces a manual edit.

    Pending MACs: these are not related to default.ipxe. They come from the legacy FOG Client’s Host Registration module. That module reports every adapter Windows sees, including Wi-Fi, Bluetooth, and virtual Wi-Fi Direct adapters. FOG stores each unknown MAC as pending, up to FOG_QUICKREG_MAX_PENDING_MACS per host (default 4). iPXE cannot see those adapters. You can delete the pending MACs. To stop new ones, add MAC fragments to FOG_QUICKREG_PENDING_MAC_FILTER (comma separated), or turn off Host Registration.

  • OIDC users and confirmation passwords

    General Problems
    3
    0 Votes
    3 Posts
    183 Views
    R

    @Tom-Elliott That was quick 😊 I just tested and it works as expected. Thank you.

    Rahman

  • FOG Project Image Capture on Raspberry Pi 4 (ARM64) via U-Boot

    Unsolved FOG Problems
    60
    0 Votes
    60 Posts
    4k Views
    J

    @Tom-Elliott

    I can’t modify the company’s switches or other hardware since the system is in production. I’m currently rebuilding the FOG server on a VM on my PC and doing everything locally; it’ll be easier to troubleshoot that way. Gemini has wiped out all the previous messages and is giving me nonsense—I can’t seem to recreate the environment up to the capture stage anymore. Could you give me a rundown of everything that needs to be done—downloads, decompressing specific files in binary mode, etc.?

    Thanks.

  • PXE does not load in EFI mode.

    General Problems
    8
    0 Votes
    8 Posts
    412 Views
    Tom ElliottT

    @azm9s Good that legacy boot works now. For UEFI, your first tcpdump already shows one problem. It stops UEFI clients on every board, with Secure Boot on or off.

    First: remove option 60 from your Windows DHCP server.
    Your DHCP offer contains option 60 = “PXEClient”. UEFI firmware reads this as “this server is a PXE boot server”. It sends a second request to 192.168.65.35 on UDP port 4011 and waits. FOG does not listen on port 4011, so the firmware stops before it downloads any file. That is why no boot file worked. Legacy network boot does not do this, so legacy works. You only need option 60 if WDS runs on the same server as DHCP.

    Second: set option 67 for UEFI to secureboot/snponly-shimx64.efi.
    Your version (1.5.10.2253) installs this file. Check that it is there:

    ls /tftpboot/secureboot/

    It is signed by Microsoft, so it boots with Secure Boot on or off. You do not need to disable Secure Boot. Do not point option 67 at secureboot/ipxe.efi directly. With Secure Boot on, the firmware rejects it. If the menu loads but the network does not start, use secureboot/ipxe-shimx64.efi instead.

    To keep legacy and UEFI working at the same time, use Windows DHCP policies. Vendor class PXEClient:Arch:00000 keeps your current legacy file, and PXEClient:Arch:00007 gets the file above:
    https://docs.fogproject.org/en/latest/kb/how-tos/bios-and-uefi-co-existence

    If UEFI still fails after these two changes, run this on the FOG server while the PC boots, and post the output:

    tcpdump -i eth0 -n -vv ether host fc:9d:05:76:7c:00
  • dhcpd.conf configuration

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    67 Views
    No one has replied
  • no viable macs to use after switching to http

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    195 Views
    A

    FYI for anyone else running into this issue - I believe the problem was that I didn’t erase the /tftpboot images when I switched from http to https. I’m not really sure why that would matter, but when I did that, then re-ran the server reinstall and selected https, the images got but back in /tftpboot and my hosts didn’t see the mac error anymore.

  • 0 Votes
    2 Posts
    249 Views
    Tom ElliottT

    @ahaeder No:

    The idea of fog client is to rename the host based on what you name the computer within FOG, not the other way around.

    If you want it to be a specific name, and you have the FOG Client installed, set the wanted name in the FOG UI, and the host will change automatically.

  • FOG Secure Boot with Shim

    Tutorials
    30
    2 Votes
    30 Posts
    16k Views
    JJ FullmerJ

    @jmeyer I have some e16 g1s and I am not having the same issue. What version of fog are you running? Are there any other secure boot settings you have configured or maybe not configured? Can you get to the mok enroll with secure boot off? And then turn it back on?

  • PXE boot was stuck

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    158 Views
    Tom ElliottT

    @Priyankha We need a lot more details.

    FOG Version

    What bootfile is your boot server trying to send?

    Is you server sending the right FOG server for option 66/67?

    What OS are you trying to capture?

    What does the error show or maybe a screen shot? (UEFI Boot looks different from Legacy boot from Mac from arm, etc…)

    What type of machine are you trying to image?

    What have you tried?

  • Group Multicast - Dev-Branch

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    191 Views
    Tom ElliottT

    @JJ-Fullmer @edvandro This should be fixed in dev-branch as well, but I agree with JJ here, please upgrade to working-1.6.

  • FOG 1.6.0-beta.2644 DHCP

    Unsolved FOG Problems
    10
    0 Votes
    10 Posts
    3k Views
    JJ FullmerJ

    @jmeyer Would you be willing/able to try again without bypassing it to help confirm the fix?
    @rogersk4132 thank you for testing and confirming!

  • iPXE build failing

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    321 Views
    Tom ElliottT

    @astrugatch Okay thanks and sorry there was that issue.

    Can you pull and try installing again?

    Thank you!

  • Failed to Update Database and Host

    Unsolved FOG Problems
    22
    0 Votes
    22 Posts
    1k Views
    Tom ElliottT

    @maxcarpone I would ask you, if you’re daring/willing (it’s considered beta but uses the same pipeline with a lot more modern ui, I need people testing, and Fog_newb can likely attest the new ui look and feel though I think they ran into an issue and needed to get functional right away so the snapshotted back)

    Upgrade to working-1.6.

    I have a goal (along with @JJ-Fullmer ) to try to get working-1.6 to be master/stable branch by October.

    1.6 has been “stagnant” since around 2017 and was in relatively stable grounds back then even.

    With AI (as you undoubtly can see I’m using to help drive some things) it’s allowed us to get a lot more coding/refactoring and will hopefully present a much better experience of things on the UI side. Without testing I cannot fix UI bugs though.

    AI can do some cool things, but it doesn’t know what “wrong/right” looks like, and JJ and I are only 2 people.

    There are others on working-1.6 but more feedback is always good.

  • 0 Votes
    1 Posts
    98 Views
    No one has replied
  • Fog driver injection in 2026.

    Tutorials
    9
    0 Votes
    9 Posts
    441 Views
    P

    OK that makes sense. This got me going for driver deployment. Thank you for your help!

  • 1.5.10.2328 - Failed to check in. Going back to 2294, all good.

    Solved FOG Problems
    5
    0 Votes
    5 Posts
    332 Views
    F

    @Tom-Elliott Thanks Tom. 1.5.10.2344 seems to be capturing fine. No additional null tasks were created and the PC had no problem checking in and starting the capture.

    I’d swear, not only with this version but the earlier ones that were malfunctioning during check in and creating additional tasks, I had to create the task twice. Like I went through the process of setting up a capture but nothing showed up under tasks then had to do it again.

    I can’t seem to duplicate it though. Setting up a 2nd capture for the laptop, I only had to do it once (and no additional null tasks were created).

    PC finished the capture no problem and laptop checked in and is capturing now. Looks like 2344 did it!

    Thanks again.