• 0 Votes
    3 Posts
    41 Views
    E

    @Tom-Elliott said in Network Device Discovery and Pending Host Identification:

    server, tell

    Thanks, Tom.

    In my environment, I use dnsmasq as a proxyDHCP, while the actual IP address allocation is handled by an external DHCP server running on Windows Server Active Directory.

    The FOG server does not provide DHCP leases. Its dnsmasq configuration is intended only to support PXE boot, without distributing IP addresses.

    What I would really like to see is some kind of integration between FOG and the primary DHCP server on the network, particularly Microsoft Active Directory DHCP.

    The idea would be to retrieve information from external DHCP leases and make it available on the FOG Network → Leases page, allowing FOG to identify devices that are requesting or have received IP addresses, even when the DHCP service is not running on the FOG server.

    Ideally, FOG could use this information to:

    Identify MAC addresses that do not match existing FOG hosts.

    Display the assigned IP address and hostname.

    Allow administrators to filter unknown devices.

    Provide a “Create host” action, pre-populating the MAC address and hostname, as you suggested.

    I believe this would be particularly valuable in environments with multiple VLANs, where the primary DHCP server is centralized and FOG operates only as a proxyDHCP server.

    Perhaps this could be implemented through a DHCP integration module, using the Windows DHCP Server API, PowerShell, or another mechanism to periodically retrieve lease information and synchronize it with FOG.

    This would allow FOG to leverage existing DHCP infrastructure without requiring it to become the primary DHCP server.

    Would this kind of external DHCP integration be something you would consider for a future version?

  • Need bootable usb without using PXE

    General Problems
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • Fog server refused connection

    Unsolved FOG Problems
    13
    0 Votes
    13 Posts
    62 Views
    F

    @Tom-Elliott I have upgraded my Master Fog Server and all my nodes to dev-branch 1.6.1.776. I am defiantly seeing a drop in bandwidth usage. Monday morning will tell.

  • Silent install of FOG agent fails silently

    Solved Windows Problems
    3
    0 Votes
    3 Posts
    29 Views
    M

    @Tom-Elliott Thank you. That did the trick.

  • Domain join and re-join issues

    Unsolved FOG Problems
    8
    0 Votes
    8 Posts
    116 Views
    Tom ElliottT

    @AdamC No worries, I’m here to help, and some of what my messages are saying (so I can keep on working) are from AI snippets.

    If you see the troubleshooting links and you didn’t know it was there (or it only existed after you proved a problem needed more documentation) my AI agent is actually building KB’s on the fly with the requisite information to help me and the community out.

    Thank you!

  • 0 Votes
    9 Posts
    192 Views
    W

    @Tom-Elliott Hi,

    I tested the fix across 95 Windows computers in our school environment. All ten packages (7-Zip, Firefox ESR, PDFgear, VLC, Audacity, GIMP, Krita, Inkscape, Temurin JDK 17 and BlueJ) were successfully cached.

    I confirmed installer downloads from the local FOG server in the Apache logs. The previous manifest errors are gone, and the software updates are working.

    Thank you for the quick fix and your excellent work!

  • 0 Votes
    10 Posts
    173 Views
    M

    @Tom-Elliott Thank you so much! the image capture has worked and is now behaving as expected! Great work, and very quick also. Thank you again! I will follow those last steps to finish up.

  • 0 Votes
    20 Posts
    554 Views
    L

    @Florent This exactly what FOG does now. It identifies devices from their S/N and UID. Not from eth adapters, USB or otherwise.

  • 0 Votes
    8 Posts
    191 Views
    L

    @Tom-Elliott Working nicely now Tom, thanks.

  • 0 Votes
    7 Posts
    114 Views
    Tom ElliottT

    @lf88 Good point about the 8 reboots. Each snapin now has its own limit.

    The snapin edit page has a new field, Max reboot re-runs. The range is 1 to 20, and the default is 5. Existing snapins keep 5. There is no global setting, because the right number depends on the installer. For TIA Portal, set it to 10.

    This is on dev-branch now (schema 493). If you updated to dev-branch before this post, update once more, then run the schema update. The agent does not change: 0.1.38 is still the version you need.

    When a task uses up its limit, it fails with “Reboot and run again limit (N) reached.” in the task details.

    Details: https://docs.fogproject.org/management/web/snapins#return-codes

  • FOG 1.6.1 – Memtest86+ 8.10 incorrectly classified as Linux kernel

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

    @wbg You are right, and thank you for the header details. They made this quick to confirm.

    Memtest86+ 6.0 and later is built to boot like a Linux kernel: it has a PE header, HdrS, and boot protocol 0x020c. FOG’s boot file check therefore classified mt86plus_x86_64 as a FOS kernel. FOG_MEMTEST_KERNEL lists boot payloads only, so the default value that FOG ships showed the warning.

    The fix reads the version text in the file header. Memtest86+ reports Memtest86+ v8.10, and a Linux kernel reports a release number. The server re-checks the file on the next page load, so the warning clears with no other action.

    Issue: https://github.com/FOGProject/fogproject/issues/2241 Fix: https://github.com/FOGProject/fogproject/pull/2242

    The warning comes from the settings page only. The boot menu uses the value as it is, so “Run Memtest86+” still loads mt86plus_x86_64. You do not need to change anything until the fix reaches your channel.

  • 0 Votes
    4 Posts
    171 Views
    Tom ElliottT

    @sgennadi Thanks for the PHP 8.6 report.

    You are right: CI tested only PHP 7.4 and 8.3. CI now also runs the full test suite on PHP 8.4 and 8.5 for every change. Both pass today. A failure on 8.4 or 8.5 shows as a warning and does not block a change or a release. I will add 8.6 when the CI tooling supports it.

    The tested versions are now on the requirements page: https://docs.fogproject.org/installation/server/requirements#php-versions

    I will not add a “latest verified PHP” value to the installer. Somebody must update that number by hand at every PHP release, and a stale number warns about versions that work. The docs table changes when the CI matrix changes, so it stays correct.

    FOG sets no maximum PHP version. If a newer PHP gives you an error, please post the output of php -v and the last lines of the PHP-FPM error log.

  • 0 Votes
    2 Posts
    77 Views
    Tom ElliottT

    @sgennadi Thanks for the detailed write-up. You are right that FOS already runs sshd and allows root login. The only gap is that root has no credential you can use remotely.

    I filed this as https://github.com/FOGProject/fogproject/issues/2193 with a key-only design:

    You put one or more SSH public keys in a FOG setting. When a debug task starts, FOS fetches the keys and installs them for root. FOS shows the IPv4 and IPv6 addresses on the console, so you can connect right away. Normal deploy, capture, and registration tasks never install the keys.

    A public key is not a secret, so it can reach FOS without any protected delivery. A root password is different. It needs a protected way to reach FOS, and a kernel argument would expose it. So a configured password and a random password for each task are out of scope for now. Each can be its own request after the key version ships.

    Until then, the workaround is the one you already use: run passwd at the debug console, then connect with SSH.

  • Feature Request - Email Test Feature

    Feature Request
    3
    0 Votes
    3 Posts
    2k Views
    rogalskijR

    @Tom-Elliott Thank you for implementing this into 1.6.1, once we are back on campus I’ll get this updated and tested.

    Small meaningful additions like this, and the thoughtful nature of this project as a whole are a relief in an otherwise indifferent technological industry.

  • Dev-branch version string mismatch: 1.6.0.402 vs 1.6.1.402

    Solved Bug Reports
    3
    0 Votes
    3 Posts
    103 Views
    F

    @Tom-Elliott Awesome. All set. Thanks

  • FOG 1.6.1 Available

    Announcements
    1
    0 Votes
    1 Posts
    314 Views
    No one has replied
  • Imaging Log for unregistered hosts

    Feature Request
    4
    0 Votes
    4 Posts
    2k Views
    Tom ElliottT

    @DBCountMan Both parts of this are planned for FOG 1.6.1. They are not in 1.5.x, so you will need to upgrade to 1.6 to get them.

    Imaging log for unregistered hosts

    A deploy or a multicast join from the iPXE menu on an unregistered (or pending) host now creates a real task. That task:

    shows in Active Tasks with full progress, like a registered host, under the name <MAC> (unregistered) records the menu user who started it, so you can see who deployed appears in Reports > Imaging Log with the MAC address, the image, the user, and the result

    This needs the FOS (init) that ships alongside 1.6.1. The installer pulls the latest FOS. With an older init the imaging still works, but the task never gets a report back, and it closes as “No Report” after 24 hours.

    Forcing registration before a deploy

    Go to FOG Configuration > iPXE Menu, then open “Deploy Image” and “Join Multicast Session”. Set “Menu Show with” to “Registered Hosts”. Before this change, that setting only hid the menu item. In 1.6.1 the server also refuses the deploy or join for an unregistered host, so someone cannot get around it by calling the menu option directly.

    Also in 1.6.1: when you pick “deploy image now” during Full Registration, the machine images in the same boot. It no longer reboots back through PXE first.

  • Avoid running tasks when in audit mode

    Feature Request
    7
    0 Votes
    7 Posts
    4k Views
    Tom ElliottT

    @AlexisPHC Following up on this one. FOG 1.6 ships with the new FOG Agent, which replaces the legacy FOG Client. From agent version 0.1.23, the agent reads HKLM\SYSTEM\Setup\State\ImageState and does nothing until Windows setup reports itself complete. That includes audit mode. A machine in audit mode does not enroll, check in, join the domain, run snapins, or reboot. You can leave the service enabled through Sysprep. You no longer need to disable it or start it from SetupComplete.cmd.

    The legacy FOG Client does not have this check. With the legacy client, disable the service as described earlier on.

    Details: https://docs.fogproject.org/en/latest/installation/client/install-fog-agent/#sysprep

  • 1 Votes
    2 Posts
    1k Views
    Tom ElliottT

    @takeit FOG 1.6.0 can do this. A booting machine is matched on its SMBIOS identity as well as its MAC: system UUID, system serial, board serial, and chassis asset tag.

    It is controlled by one setting: FOG Configuration > FOG Settings > General Settings > FOG_HOST_IDENTIFY_SMBIOS.

    Off: MAC only, the old behavior. Log (the default): the MAC still decides. Every disagreement between the MAC and the firmware is written to the web server error log. Enforce: a unique firmware match wins over the MAC.

    For your case (one laptop, a different dongle each time):

    Upgrade to 1.6.0. Make sure each laptop has an inventory record. A full registration or an inventory task captures the SMBIOS values. Leave the setting on Log for a while and read the error log. Some firmware reports junk identifiers, for example every board of a model with the UUID FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF. A value that is not unique is not used for matching, but it is good to know what your hardware reports. Switch to Enforce. A laptop that boots on an unknown dongle MAC then resolves to its existing host by its firmware identity.

    If you share one dongle between many laptops (the opposite case), the next release adds a Register mode for that. It is on dev-branch now.

  • Certificate manament helper not working

    Solved FOG Problems
    3
    0 Votes
    3 Posts
    158 Views
    A

    @Tom-Elliott Perfect, thanks again!