Categories

  • 13k Topics
    115k Posts
    Tom ElliottT

    @acraiger You do not need to change your DHCP server. That old thread is about FOS Live, which is a different thing. You want a USB stick that boots iPXE. iPXE then gets an address from your normal DHCP server and loads the FOG menu from your FOG server.

    On FOG 1.6 (UEFI):

    Download http://<fog-server>/fog/service/localboot/fog-esp-x86_64.zip and unzip it. Format the stick FAT32 and create the folder EFI\BOOT\. Copy fog-ipxe\fogipxe.efi to EFI\BOOT\BOOTX64.EFI. Copy fog-ipxe\autoexec.ipxe to EFI\BOOT\autoexec.ipxe. Open EFI\BOOT\autoexec.ipxe in a text editor. Change the last line to name your FOG server:
    chain tftp://192.168.1.10/default.ipxe || goto chainloadfailed Turn Secure Boot off and boot from the stick.

    That edit is the “place to enter the IP”. Without it, iPXE asks Please enter tftp server: only when your DHCP server sends no boot server. Many DHCP servers send their own address instead, and then the boot fails with Chainloading failed.

    On a legacy BIOS machine, or on FOG 1.5: write ipxe.usb from the FOG server’s /tftpboot folder to the stick with dd. When it shows Chainloading failed, press s for the iPXE shell and type:
    chain tftp://192.168.1.10/default.ipxe

    To boot every machine without a stick, run proxyDHCP (dnsmasq) on the FOG server. It does not change your DHCP server: https://docs.fogproject.org/installation/network-setup/proxy-dhcp

    Which FOG version do you run?

  • Get the latest news on what's happening.
    208 Topics
    849 Posts
    Tom ElliottT

    FOG 1.6.1 is released. It is on the stable and master branches, and the tag is 1.6.1.

    Upgrade from your FOG source checkout:

    sudo bin/updatefog.sh --channel stable

    Or run git pull on stable, then bin/installfog.sh. The schema moves from 446 to 473, so the web UI asks for the schema update after the upgrade. Installs from master use FOS 1.6.1.

    Highlights

    IPv6: IPv6 listeners, opt-in DHCPv6, boot to the IPv6 address, and multicast over IPv6. FOS 1.6.1 adds IPv6 and udpcast over IPv6. Software management through the fog-agent, per host and per group, with Flatpak, Snap, and winget. Storage nodes: deploys balance across a group, and a full node overflows at PXE boot. AD rejoin and OU placement for deployed images. Roles can limit the networks their members use the web UI and API from. The Imaging Report records deploys and multicast joins to unregistered hosts. “Deploy image now” after Full Registration deploys with no reboot. MySQL 8.0.13+ installs and upgrades.

    Security: 1.6.1 is the first stable release with the fix for GHSA-q38j-qx5x-w25v (a Legacy Restricted user could read the AD join password and product keys). If you moved to the Patches channel to get that fix early, you can switch back with --channel stable.

    Offline installs: the installer now downloads udpcast from FOGProject/udpcast and checks its sha256. Put udpcast-v20250223-fog.1.tar.gz and its .sha256 in packages/ before you run the installer.

    Thank you to ASPePeX on GitHub for the OIDC trailing-slash fix (fog-plugins #49), and to everyone who tested and reported issues.

    Full release notes: https://github.com/FOGProject/fogproject/releases/tag/1.6.1

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    Tom ElliottT

    @DBailey635 Good questions.

    Release: waiting for stable is sensible. The stable channel gets a release on the 11th of each month, and this feature is in the next one, on December 11.

    Check-ins: both OSes share one host and one hostname. The host list shows the most recent check-in from either OS. The host’s edit page lists each OS on its own line, with its agent version, last check-in, and certificate expiry. So you can see when Windows and Linux each last checked in.

    Separate hostnames for the domain join: not today. FOG applies the host’s one name to every OS, and the domain join follows the Windows install. A per-OS suffix (host01-win / host01-lnx) is a reasonable feature request. It needs a second computer account per machine, so it is not a small change.

    Deploy window: the default is 24 hours after FOG completes a deploy to the host. You can change it in FOG Configuration > FOG Settings > General Settings > FOG_AGENT_ENROLL_DEPLOY_WINDOW (in hours). A longer window does work, but for that whole time any machine that presents that host’s identity enrolls with no approval. For an OS that first boots months later, two better routes:

    Approve it when it shows up. The second OS waits in pending agents until you approve it, and it keeps retrying, so a student’s first boot just queues it. Put an agent enrollment token in the Linux image’s agent install (--token). Give the token enough uses and an expiry past the point where the course switches OS. The agent then enrolls on its first boot, whenever that is, without an approval click.

    No need to walk the room after imaging.

  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    Tom ElliottT

    @edvandro Thanks, that makes the gap clear. Network → Leases only shows the leases of a DHCP server that FOG runs, so with Windows DHCP doing the addressing it stays empty.

    Here is the plan:

    FOG gets an API endpoint that accepts a list of leases. A PowerShell script on the Windows DHCP server reads the leases (Get-DhcpServerv4Lease, per scope) and sends them to FOG on a schedule. FOG never connects to the Windows server and stores no Windows credentials. The script authenticates with a FOG API token. The leases show on Network → Leases next to any leases FOG’s own DHCP has, with the source server named. Each lease is matched against FOG hosts by MAC, as today. The same work adds the two things from my first reply: a filter that shows only the leases with no FOG host, and a “Create host” action that opens the host form with the MAC and hostname filled in. Both work for either lease source.

    A related request (#2477) added a Network Discovery task. That task reports which switch and port a registered host is plugged into. It does not find unknown devices, so the lease import is the answer to your case.

    Two questions so I build it for your setup:

    Do you run one Windows DHCP server, or more than one (for example a failover pair, or one per site)? Do you need IPv6 scopes as well, or only IPv4?

27

Online

12.8k

Users

17.7k

Topics

157.6k

Posts