• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. george1421
    3. Posts
    • Profile
    • Following 1
    • Followers 64
    • Topics 113
    • Posts 15,286
    • Best 2,770
    • Controversial 0
    • Groups 2

    Posts made by george1421

    • RE: Change menu when client registers

      @alterak If you know how to program linux bash scripts this is possible. You will need to edit a script called fog.man.reg that is in FOS Linux (the OS that runs on the target computer to capture/deploy images). I have a tutorial on modifying that program to set a default hostname. But the concepts you need to do what you ware are listed here: https://forums.fogproject.org/topic/14278/creating-custom-hostname-default-for-fog-man-reg

      posted in General
      george1421G
      george1421
    • RE: PXE over IPv4

      @Faurel ok good that looks like a clean dhcp process. It would be helpful to have the pcap file in my hand, but you want to expand the OFFER packet. The OFFER packet you can tell from the Info column.

      In the packet you may need to expand the dhcp section. You should see the image similar to below. What is important is the next server IP address should point to IP address of your fog server. and boot file name should be ipxe.efi. You see in this example that the boot file name was not given, this is the error with this packet. The next server and boot file are in the ethernet header. This is the legacy bootp pxe section.

      The next place you need to check is the dhcp options below. You should see dhcp options 66 which should be the IP address of the fog server and dhcp 67 should be the boot file name of ipxe.efi. In this picture this packet is also in error since the dhcp server is not sending out all of the pxe booting info. So if your offer packet looks like this you have a problem.

      Screenshot from 2025-05-07 17-14-20.png

      posted in General Problems
      george1421G
      george1421
    • RE: FOG operation in different network segments

      @alterak said in FOG operation in different network segments:

      is there a possibility of automatic separation of locations,

      I’m not sure I fully understand the question, but if you are asking can it automatically pick which location to select based on the IP address of the computer being registered. The quick answer is no, FOG doesn’t currently have that capabilities.

      The bit longer answer is it could if you can be a little creative and can do a little linux bash script programming. In a nutshell, you can customize the bash script that is setup for full registration of computers. The basics of what needs to be done is covered in this tutorial: https://forums.fogproject.org/topic/14278/creating-custom-hostname-default-for-fog-man-reg

      The IP address bit can come from this script: https://forums.fogproject.org/post/69725 This post is for getting the IP address to be used in a FOG postdownload script. But the concept will be the same for the fog.man.reg script.

      posted in General
      george1421G
      george1421
    • RE: PXE over IPv4

      @Faurel said in PXE over IPv4:

      My DHCP server is a VM running Nutanix.

      What is your dhcp server? Is it MS Windows based or something else.

      Do you know how to run wireshark? I think we need to get a witness computer (a third computer not part of pxe booting). Place the wireshark computer on the same subnet as the pxe booting computer. Use the capture filter of port 67 or port 68 This capture filter will only collect pxe booting information.

      What I want to focus on is the one or more DHCP OFFER packets.

      1. Is there more than 1 OFFER packet?
      2. Is the OFFER packet from the correct DHCP server?
      3. Looking into the OFFER packet, in the packet header there are two fields one called {next-server} and {boot-file} are these fields populated?
      4. Look at the dhcp options do you see options 66 and 67? Do they point to the correct values?

      If you are unsure of what you are looking at, upload the file to a file share site and post the link here and I will take a look for the common issues.

      posted in General Problems
      george1421G
      george1421
    • RE: FOG operation in different network segments

      @alterak Typically in your situation you would install a full fog server at the main site. Then install a FOG Storage node at the second site. Technically they perform the same roles except the full fog server has the database and the web interface. One additional caveat is that the Full fog server (or called master node) is the only FOG server that can capture images. The images created at the master node will replicate to the storage node. This is how it works by design.

      One other thing that will help you is to install a FOG “Location” plugin. This way you assign fog servers and target computers to locations so the target computers will know what FOG server to get the images from.

      posted in General
      george1421G
      george1421
    • RE: PXE over IPv4

      @Faurel There are several things here.

      The no valid offer received, indicates it either did not receive a dhcp packet without the next server and boot file listed or what it was given didn’t satisfy the request.

      Let start with something that jumped out at me first. The pxe booting computer is being issued an 192.168.10.72 IP address (this is good so we know its receiving a reply). And your FOG server is on 192.168.3.93. That tells me they are on different subnets or you have a pretty wide network mask. Are these two devices on the same subnet?

      If they are on different subnets, what is the dhcp server the workstation subnet? Is it possible you don’t have the pxe booting values set in the scope for the workstations? Or there is another dhcp server in play here?

      Also make sure you don’t have white spaces around your dhcp option values I’ve seen a trailing white space on a parameter mess up dhcp too.

      Lastly what device manufacturer and model is your dhcp server? Some SoHo routers will point dhcp option 66 to them even if there is a valid dhcp option 66 activated, but I don’t think that is the case here because the client is complaining about not getting any valid offers. Also on your dhcp sever make sure it issues both bootp (older) and dhcp (current) pxe booting values. These are kept in two different places in the dhcp server’s response packet.

      posted in General Problems
      george1421G
      george1421
    • RE: Fog iPXE Menu no input

      @AxeMeAQuestion22 I see a slight contradiction, maybe in the way I read it. You have some lenovos that work and some that don’t.

      It almost sounds like a usb controller issue (just a wild guess at the moment).

      I just want to say this is an issue with the ipxe binaries since ipxe manages the FOG iPXE menu. This has nothing to do with FOS (yet) that would be bzImage and init.xz which haven’t been sent to the target computer at this point.

      When on the ipxe menu does it accept the enter key where the arrow keys are not working?

      Is this a US english keyboard? If no what language.

      Just to confirm that you recompiled iPXE using the instructions you pointed to? Verify the files in tftp directory have the current date that you recompiled them.

      What model/make does not work vs what make/model does work?

      posted in FOG Problems
      george1421G
      george1421
    • RE: Portable Use of FOG

      @Datsys On the technical side, I would install the largest ssd or nvme drive you can afford and keep everything internal. As I mentioned with the OEM image capture this is only one image and will deploy to any computer and should activate properly using the method I described. So once the image has been deployed most applications can be installed in the unattended mode, typically with command line switches. You can deploy these applications post image deployment with FOG’s snap-in system. This would still be in compliance with M$'s EULA. Basically you would adjust the computer after deployment You could even create a batch/ps file deployed by a snap-in to connect the target system to AD or make other alterations to the system, just as you might do by hand post image deployment. The extend of these post deployment activities are up to you.

      I think once october hits you will have plenty of no longer useful systems hit the market so you could go to the next step of setting up local deployment servers at each customer.

      posted in General
      george1421G
      george1421
    • RE: Portable Use of FOG

      @Datsys You have both a technical and legal question in your post that will require a fire dance to navigate well.

      On the technical side, it is possible to configure FOG in a mobile deployment server mode. Whereas you can have FOG loaded on a portable computer and take it from site to site to deploy images. Its best if you use onboard storage for the images but it would be possible to use a portable usb drive but your downloading performance would be not good because of the bandwidth. If you used a high speed usb-c attached drive then performance would compare to onboard storage. One issue I see is that to properly network boot target computer for imaging you will need certain network infrastructure changes to make it work. This is modifying your dhcp server to send out the boot server (FOG server) ip address and boot file to load. While the fog server is on site this will work perfectly, if the fog server is at a different site not so much. You can mask this issue by installing dnsmasq on the mobile deployment server so that only the pxe boot information is sent out while the fog server is on site. This can also be problematic, but it is a workable solution.

      The MS Windows/legal issue is a bit more complicated. For OEM licensed computers you are not allowed to create a golden image (customized image with additional software loaded) and then capture and deploy it to multiple computer. The EULA requires a volume license key for this. You can deploy images only in the OEM format and then after that is deployed add on custom software on top. To be able to deploy an OEM image (legally) You can either use FOG to share the ISO image to the target computer, or what I’ve done in the past is take a development machine and install Windows 11 on it, but only to the point of the first reboot. You MUST stop the system from booting on that first reboot. That first reboot is the transition from WinPE environment to the Windows Setup/OOBE process. Now capture that image at the first reboot and deploy with FOG. This is still inline with the OEM EULA because you are not altering the image only cloning it during the middle of installation. When you deploy the image to computer #2 WinSetup/OOBE will continue to run. Now at the end use FOG to install custom applications and your done.

      I can tell you getting a VLK key and image is a much simpler solution. I don’t know what M$ current licensing is, but it use to be you only need to purchase 1 VLK key for all of the company’s computers to use the VLK key. You needed 5 licenses to reach the minimum order so for small companies that had a windows server and windows workstations we would purchase 1 VLK key and 4 widows servers client connection licenses, cause you can always use server connection licenses. Just let me repeat I don’t know what MS current licensing model is so this may be old information.

      Just to wrap up:
      Can you create a mobile FOG deployment server? Yes. You will need to be really familiar with Linux to do this though.
      Can you repurpose all of these unused windows 10 computers as FOG servers and leave then connected to the customer’s network, Yes (a bit better idea).
      Can you deploy Windows 11 with FOG, yes (until MS break this too).

      posted in General
      george1421G
      george1421
    • RE: Fog iPXE Menu no input

      @AxeMeAQuestion22 What hardware has this issue? Is it one model/manufacturer, all models/manufacturer?

      Is the device a laptop or desktop? If laptop does using an external keyboard plugged directly into the laptop work?

      What language is this keyboard?

      I have to think there is something unique with this hardware that is causing a keyboard issue with ipxe.

      posted in FOG Problems
      george1421G
      george1421
    • RE: How to upload ISOs to the PXE server?

      This tutorial will give you a good general overview. https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images

      Since you are talking XP, then you are also meaning bios firmware. For bios you can use a utility called memdisk.

      https://forums.fogproject.org/post/142041 step #18. The memdisk program is only supported under a bios based computer. If you have uefi there is a different process. There are some limitations with bios mode, your iso file MUST be less than 2GB, this is a limitation of a 32 bit bios.

      posted in General Problems
      george1421G
      george1421
    • RE: realtek RTL8111EPV

      @pilipp_edv ok what happens after boot.php runs?

      While there is some extra text here because it looks like you have multiple network adapters in this lenovo, every thing looks good up to the call to boot.php (this tells me ipxe can reach the network because it loads default.ipxe).

      I do see you are attempting to call https. Did you setup https correctly on your fog server? Did you compile the matching certificate into ipxe? I have done neither so I can’t give you exact steps, but I can tell you the certificate inside ipxe and on the apache server need to match.

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: 10Gb SolarFlare compatibility

      @aurfalien If you are still on this quest. What we would need is the hardware id of this network adapter. You can get this from windows in the device manager. We would need the vend and device IDs.

      If in linux then use lspci -nn to get the device IDs. They will be 2 sets of 4 character hex numbers within the square brackets separated by a colon. i.e. [8086:1b4e].

      With that code we can see if there are standard linux kernel drivers for this network adapter.

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: PXE boot failed some computers

      @Mikeee89 that target computer should not attempt to download the ipxe default autoexec.ipxe file.

      The first two tftp requests are normal. The first tftp request just asks for the file size then the download begins. The third request is what I might expect from an ipxe file not from the fog project. The fog project ipxe boot loader would ask for default.ipxe file not autoexec.ipxe (ipxe default file). autoexec.ipxe doesn’t exist on the fog server.

      So while you are in the pcap look to see what dhcp server told the client computer. Where did it get the ipxe.efi file from (server). Was it your expected dhcp server that responded to the target computer or do you have 2 dhcp servers giving out different information?

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG & iPXE Anywhere - issues from boot menu

      @MichaelPower said in FOG & iPXE Anywhere - issues from boot menu:

      Just wondering if a working bzImage I can use that boots under Secure Boot?

      The issue is exactly that. bzImage is not signed so the uefi firmware will not boot it. That is the root of the issue. You could self sign ipxe and bzImage but then you will need to update the certificates in each computer to include your self signed certificate. Its possible but it is quite a bit of work to get it all setup.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Building FOS to include Wi-Fi support?

      @lucancurtismahoney First let me start with the yada-yada-yada. Imaging over wifi is not supported by the developers of FOG. Imaging over wifi has its use cases but also is not advised because wifi is a shared resource and your entire wifi network will suffer if you try to image over wifi. You would be better served to get a supported (by the manufacturer) usb ethernet adapter and pxe boot over that.

      With that said it might be possible to image over wifi if FOS is configured in an (unsupported) way. It will require a custom FOS Linux kernel and some tweaks to the virtual hard drive to add in the needed bits to configure wifi.

      Below is a FOG USB debug image that contains a modified bzImage and init.xz files. Use rufus to burn to a 1GB usb drive. The image is less than 500MB so don’t waste a large usb on this boot image.

      Understand this boot image WILL NOT WORK out of the box. We will use this for debugging your network adapter. Many network adapters need specific drivers to work with a linux kernel. We will find out what that firmware is with this debug usb.

      1. Use rufus to write the image file to the usb drive.
      2. Edit the grub.cfg file with notepad++ (not windows notepad) its located in the /boot/grub directory. At the top set the IP address of your fog server, and half way down the variable add in your wifi ssid and password. Remove the curly braces.
      3. Save the config file and then take it to your target computer.
      4. USB boot this image file on the target computer. You may see some error messages about networking, but that is expected.
      5. After a few screens you need to clear by pressing the enter key you will be dropped to a linux command prompt.
      6. See if you can see the wifi adapter with this command ip a s If you see something like wlXXXXX then the driver is loaded and you are done.
      7. If you only see the loop back (lo) adapter then continue.
      8. Key in the following command it will look through the startup messages for anything that mentions firmware. grep -i -e firmw /var/log/messages My bet is there will be a message from the intel wireless (iwlwifixxxxx) saying that it needs a specific firmware to load. Take a clear snapshot of the name of the firmware name with a mobile phone and post it here. I will patch the kernel with the required firmware and upload it with additional instructions.

      https://drive.google.com/file/d/1psCrPVzBTvlakLkCMvhdoScAEZp1CKE6/view?usp=drive_link

      posted in FOG Problems
      george1421G
      george1421
    • RE: ASUS NUC14RV iPXE PXE boot

      @Gordon-Taylor said in ASUS NUC14RV iPXE PXE boot:

      if i use a USB Stick with D:\EFI\BOOT\bootx64.efi (ipxe.efi from tftp folder) then i can get them to register and image

      Start HTTP Boot over IPv4 on MAC: MACADDRESS and it just hangs here and doesn’t start iPXE
      is PXE booting and HTTP Boot over IP two different things? and is this somehting i can get working.

      In the first section that is good, that you can get it to image with booting from a usb drive. That means ipxe and bzImage (FOS) supports that hardware.

      On the second part, yes http booting and pxe booting are two different methods. Of course http booting uses tcp over the http protocol, and pxe booting uses udp over the tftp protocol.

      I don’t know how you can tell the computer what ip address and boot file to boot from. But if you copied ipxe.efi to /var/www/html/fog directory you can (should) be able to download ipxe.efi over the http protocol.

      But that said those devices should be able to pxe boot. That feature will typically need to be enabled in the network configuration section of the firmware (I don’t know these computers, so I can only speak generally). The intel nics have the pxe booting firmware built in, so it should work.

      Does it even look like its attempting to pxe boot and then failing over to booting over http? Does the F12 menu say anything about pxe booting (it may need to be enabled in the firmware before its displayed on the boot menu)

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG on Jetson Orin NX ARM64

      @Nyeine I’ve got an Orin Nano at home and an AGX at work. I’m not sure you can image them with FOG. TBH I have never tried, so it would be interesting to find out.

      One comment before I get too deep into this, if you use for your dhcp server either WIndows 2016 or later or linux as your dhcp server, you can setup profiles with your dhcp server to automatically send the right ipxe boot loader based on the pxe booting computer. You won’t need to mess with the ipxe.efi files like you have. You can surely continue to do it that way, I just wanted to let you know there might be an easier way to go about it.

      So you are able to pxe boot into the iPXE boot loader, as soon as you pick a menu option that is where the wheels come off, so to say. Looking at the screen shot the process is failing at the handoff between ipxe and FOS Linux (arm_Image+arm_init). Its hard to tell if its ipxe or fos linux at fault.

      I have a process to create a debug usb image for x64, but I haven’t tried to create one for arm. In theory if you have a working Jetson Orin running ubuntu you should be able to follow this to create a FOS linux usb boot image: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image In your case you don’t want to use bzImage and init.xy but use the arm_Imag… (to replace bzImage) and arm_init (to replace init.xz). The idea here is to see if you can select register from the grub menu to get FOS Linux to boot on the jetson nx. If it can then the issue is with ipxe. If it doesn’t hopefully you can debug with the usb boot image.

      You may need to build a custom linux kernel for the Jetson. Just for reference https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Kernel/KernelCustomization.html

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: Unclear how to drop devices into specific OUs on Domain Join

      @joshua_mchugh I’m not sure if there is a good and proper way to do it but there maybe some way to go about it.

      If you use an unattend.xml file that file and windows can place the computer into the proper OU. The idea is to use a post install script programmed in bash to dynamically update the unattend.xml script at deployment time. You can’t use fog group per se to do this since they are really “set groups” where the groupings are only used to bulk update parameters. But if your OU can’t be calculated you can use the user fields in the host record, and or the image name could be determined in the post install script.

      I’ve got some examples of how to calculate a host name and OU based on the target IP address of the computer being imaged. This isn’t your solution but shows you what is possible in a post install script in the links below.

      https://forums.fogproject.org/post/69726
      https://forums.fogproject.org/post/69725

      In one section of the links above it shows how to post a question at deploy time that could change how the OU path is calculated before the unattend.xml script is updated. The last tip is to use a post install script to leave bread crumbs behind so that the setupcomplete.cmd or the first run section of the unattend.xml file can find and integrate into an OU path. At one deployment we had to first set the target system’s OU to a clean OU used specifically for imaging because the OU GPOs would break OOBE/WinSetup. Once the system was fully configured we use the unattend.xml auto login and first run section to call a VBS script to read the bread crumb (info saved in a text file) to then finally move the computer to the correct OU.

      None of these are proper, but as they say if all you have is a hammer, everything looks like a nail.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Rename Host in Windows UI doesn't update Fog database

      @tatanas Let me ask why are you renaming the host in the windows UI? Do you not know the actual name of the system at imaging time?

      Second question: are you using the fog client service at all?

      posted in General Problems
      george1421G
      george1421
    • 1
    • 2
    • 3
    • 4
    • 5
    • 764
    • 765
    • 1 / 765