• Task 0

    Unsolved
    34
    0 Votes
    34 Posts
    974 Views
    Tom ElliottT

    @kratkale Two separate things. The first gets your PCs booting today.

    PXE boot, now. The installer stopped before it rewrote the boot file, so the file still says https. Change it by hand:

    sed -i 's#^chain https://#chain http://#' /tftpboot/default.ipxe grep chain /tftpboot/default.ipxe

    The line must now start with chain http://192.168.0.196/. Boot one PC to test it. The next complete installer run writes this file again, with http.

    The installer failure. Your certificates were not changed. The installer stopped before it created anything. The Secure Boot signing files that your settings name are not on disk, so it tried to create new ones. That needs the private key of your FOG root CA, and the key is not at /etc/fog/pki/root/ca/.fogCA.key. Your root certificate is still there, so your FOG clients are not affected.

    Please do not delete anything, and do not run the installer with --recreate-CA. That replaces the CA that all your FOG clients trust.

    Please post the output of these commands. They show only file names and paths, no key contents:

    ls -la /etc/fog/pki /etc/fog/pki/root/ca /etc/fog/pki/secureboot /etc/fog/pki/secureboot/ca /etc/fog/pki/secureboot/leaf /opt/fog/snapins/ssl/CA ls -ld /opt/fog/pki grep -E '^PKI_(root|sb)_' /opt/fog/.fogsettings find / -xdev -name '.fogCA.key' 2>/dev/null
  • Capture stalls after approx 35% every time

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Windows 11 Fog Client install failing with HTTPS

    Solved
    4
    0 Votes
    4 Posts
    62 Views
    Tom ElliottT

    @astrugatch I don’t think it matters really. The issue was more about the initial pinning of the certificate during the install process. After it is pinned I think this is the correct expectation (it should only communicate to the FOG server over HTTPS).

  • 0 Votes
    3 Posts
    77 Views
    M

    @Tom-Elliott
    Hi!
    I have updated to the latest dev-branch version.
    No more updating database … failed error.
    The multicast session closing the right way.

    Thank you!

  • Fog - Supported OS

    Solved
    4
    0 Votes
    4 Posts
    212 Views
    J

    This can be closed. Thank you.

  • Fogserver 1.6 - Agent 0.1.9

    Solved
    3
    0 Votes
    3 Posts
    138 Views
    J

    Awesome and thank you. Confirmed working.

  • 0 Votes
    3 Posts
    112 Views
    G

    Hi Tom,

    In my case the culprit was /images/postdownloadscripts/fog.postdownload.

    echo "Activating boot partition..." sfdisk --activate /dev/sda 1 echo "Rebooting..." reboot -f

    Fix was simply commenting out (or deleting) those lines. After cleanup the file looks like this:

    cat /images/postdownloadscripts/fog.postdownload #!/bin/bash ## This file serves as a starting point to call your custom postimaging scripts. ## <SCRIPTNAME> should be changed to the script you're planning to use. ## Syntax of post download scripts are #. ${postdownpath}<SCRIPTNAME>

    Thanks for the pointer, Tom — saved me from chasing GPT partition tables for a problem that had nothing to do with them.

  • Upgraded to 1.5.10.2482 - Now problems with replication to nodes

    Unsolved
    2
    0 Votes
    2 Posts
    71 Views
    Tom ElliottT

    @mp12 Thanks for the logs. This is a bug in 1.5.10.2482, not your node passwords.

    A security change in 2482 removes the storage node password from the node data that the API returns. The image and snapin replicators read their node list from that same data. So they now send an empty password, and every node rejects the login. The Undefined property: stdClass::$pass warning is that missing field.

    The fix is merged to dev-branch: https://github.com/FOGProject/fogproject/pull/1770

    To get it now, update from dev-branch:

    cd /path/to/fogproject git checkout dev-branch git pull cd bin sudo ./installfog.sh -y

    Or wait for the next stable release. Your stored passwords are correct, so you do not need to change anything on the nodes.

  • 0 Votes
    2 Posts
    69 Views
    Tom ElliottT

    @AUTH-IT-Center I do believe snponly would be the recommended, rather than iPXE’s driver.

    The developers at iPXE wrote the driver on their own (of course using documentation and stuff, but for all intents/purposes it is still a handrolled driver) so anything is possible.

    We shipped the native iPXE 2.0.0 mainly because of the feature it allows with actual Secureboot capabilities and instead of embedding everyfile with a custom script, a more dynamic approach for when iPXE releases new version we can upgrade more easily.

    For what it’s worth, I would almost want more people to default to snponly.efi (or secureboot/snponly-shimx64.efi if using/wanting secureboot after enrolling your machines of course) because this is supposed to be using the generic driver for EFI boot protocols on the NIC rather then attempting to discover the NIC using a driver loaded.

  • Unable to Startup SFTP subsystem

    Solved
    4
    0 Votes
    4 Posts
    148 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
    5
    0 Votes
    5 Posts
    173 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
    346 Views
    R

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

  • 0 Votes
    5 Posts
    163 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.

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

    Unsolved
    60
    0 Votes
    60 Posts
    3k 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.

  • dhcpd.conf configuration

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

    Unsolved
    3
    0 Votes
    3 Posts
    159 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.

  • PXE boot was stuck

    Unsolved
    2
    0 Votes
    2 Posts
    130 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
    3
    0 Votes
    3 Posts
    166 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
    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
    7
    0 Votes
    7 Posts
    268 Views
    Tom ElliottT

    @astrugatch Okay thanks and sorry there was that issue.

    Can you pull and try installing again?

    Thank you!

40

Online

12.8k

Users

17.6k

Topics

157.2k

Posts