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

    Posts made by george1421

    • RE: WOL for different VLANs

      @Mdearmas I think I would start with your router. Look up the model and how to enable directed broadcasts, also look to see if there is any helper services that can be turned on to forward WOL packets to the target LAN. Your issue isn’t with FOG, but rather its a network infrastructure issue.

      posted in FOG Problems
      george1421G
      george1421
    • RE: WOL for different VLANs

      @george1421 I was pretty close with my limited knowledge of this.

      google-fu: router forward wol broadcast to different subnet

      AI response
      To forward Wake-on-LAN (WOL) broadcast packets across different subnets, you’ll generally need to configure your router to forward these packets, as they don’t inherently route like standard IP packets. This often involves enabling directed broadcasts or using a WOL proxy agent.
      Here’s a breakdown of the process and some common methods:

      1. Understanding the Challenge:

        WOL relies on a “magic packet” sent at the Ethernet layer, not the IP layer.
        Routers primarily handle IP traffic and don’t typically forward broadcast packets across subnets by default.

      2. Methods for Forwarding WOL Packets:

        Subnet Directed Broadcasts:
        Configure the router to forward broadcast packets to a specific subnet.

      This involves using the broadcast address of the target subnet (e.g., 192.168.1.255 for 192.168.1.0/24).
      The router at the destination subnet needs to be configured to recognize and forward the WOL packet as a true broadcast.
      This method allows you to target multiple subnets.

      WOL Proxy Agent:

      A WOL proxy agent acts as an intermediary, receiving WOL requests on one subnet and rebroadcasting them as a directed broadcast on the target subnet. 
      

      This is often used for WOL over the internet or when directed broadcasts are not desired.

      Using a Router with WOL Support:

      Some routers, like those from CommScope, have native support for forwarding WOL packets. 
      

      You may need to configure specific settings, like forwarding UDP port 9 (or 7) and using helper addresses.

      1. Example Configuration (using Subnet Directed Broadcasts):

        Identify the Target Subnet: Determine the IP address range of the subnet you want to wake up.

      Find the Broadcast Address: Calculate the broadcast address for that subnet (e.g., for 192.168.1.0/24, it’s 192.168.1.255).
      Configure the Router:

      Enable directed broadcasts (often under "ip forward-protocol udp"). 
      

      Configure a helper address on the router’s interface facing the WOL server, pointing to the target subnet’s broadcast address.
      Ensure UDP port 9 (or 7) is included in the forwarding rules.

      Send the WOL Packet: Send the magic packet to the target subnet’s broadcast address.

      posted in FOG Problems
      george1421G
      george1421
    • RE: WOL for different VLANs

      @Mdearmas This is only at the fringe of my knowledge, but WOL is a L2 protocol that won’t traverse routers until you have a helper service (like dhcp relay is for dhcp) that will forward directed broadcasts across your router. I understand why it works but not sure how to get your router to forward directed broadcasts to the intended target vlan.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Inject drivers via Fog

      @diogo-seabra

      post taken from this thread: https://www.elevenforum.com/t/automated-windows-11-installation-with-post-installation-script.28219/

      "The normal sequence for Windows Post-Setup:

      • Exit specialize pass, and run OOBE​
      • Run C:\Windows\Setup\Scripts\SetupComplete.cmd, except when Windows finds an OEM license key and it’s skipped entirely​
      • Begin user provisioning for the first logon user​
      • Run RunOnce or Run registry tasks​

      SetupComplete.cmd would be ideal for you, it’s right after OOBE but before any user profiles are provisioned. But the problem is Windows deliberately skips SetupComplete when it detects an OEM setup."

      There are several ways to do the injection the most correct place is the setupcomplete.cmd file. But if you have an OEM licensed install that file is skipped.

      The other option is to add the driver injection (only one call to pnputil is really needed in my experience) is if/when you use the unattend.xml file. There is a first run section where you can call applications at first login, but you must couple that step with autoadminlogin function, so as soon as OOBE finishes autoadminlogin logs in the administrator account once to run the firstrun section of the unattend.xml file. This way is a bit more complicated to setup. If you can get the setupcomplete.cmd file to run its much easier of a setup

      posted in Tutorials
      george1421G
      george1421
    • RE: Getting started video

      @cwhitmore https://www.youtube.com/watch?v=eJcd4c7wU3o might get you started.

      Are you having issues or just want to understand what you can do.

      posted in Tutorials
      george1421G
      george1421
    • RE: Deploying FOG in a Secure‑Boot‑Mandated UEFI Environment

      @Aaexy said in Deploying FOG in a Secure‑Boot‑Mandated UEFI Environment:

      Secure Boot policy Must remain enabled at all times; only Microsoft‑signed keys are in the firmware (no option to enrol custom keys).

      If this is the case there is nothing you can do with FOG. You will need to get the ipxe kernel (ipxe.efi / snp.efi) and bzImage signed with the microsoft keys so they can boot in your environment. While this pains me to say, you would probably be better off with a different imaging solution than FOG.

      posted in FOG Problems
      george1421G
      george1421
    • RE: UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0

      @mbghost said in UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0:

      I disabled Snooping

      If that was dhcp snooping I can see where it might be causing a problem. If that’s igmp snooping then for multicasting you want that enabled.

      @mbghost said in UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0:

      But when I try to create an image from the FOG web console and capture image, it breaks everything. I get the same error on all device

      Mind including the error you are seeing? It would be helpful to include a screen shot or picture of the error so we can see the context of the error too.

      posted in FOG Problems
      george1421G
      george1421
    • RE: UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0

      @mbghost If the network test doesn’t work then lets focus in on that toshiba all in one. Lets identify the hardware components since it seems to be the focus of the problem. First do the easy stuff.

      posted in FOG Problems
      george1421G
      george1421
    • RE: UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0

      @mbghost I’m still leaning towards init.xz corruption. Its very strange that on a fresh fog sever it works on day one and then the next its no good.

      Just for clarification its all and every Toshiba all in ones but other models work just fine? Its only this specific model.

      What I’m thinking at the moment is that bzImage transfers fine and its around 8MB in size. The kernel also boots fine because its getting to the point where it attempts to connect to the root file system.

      init.xz is a zstd compressed image. Its compressed size is around 350MB. Both images are very small in size. Something is happening to the init.xz image to where bzImage is not able to mount it and the kernel panics.

      This image persists across multiple deployments and multiple installs of FOG server. It also crosses different init.xz and bzImage kernels.

      FOS linux does boot 1 out of 12 attempts.

      So where could the problem hide?

      1. The FOG server hardware if that was a consistent deployment throughout the server rebuilds. (test try building fog server on a desktop/laptop computer to rule out fog server infrastructure)
      2. Something with the network between the fog server and the target computer. (move target computer as physically close to fog server as possible and test deployments eliminating all of the existing networking between fog server and target computer)
      3. Something with the target computer. (if you have been testing with the same computer throughout these tests use a different computer. Its possible there is a ram issue with this computer)

      Right now there isn’t a clear picture on the cause. I can say this IS unique and I’ve haven’t seen this before with FOG.

      Something else you might do is in the fog settings, set the log level to 7. I think the default is 4. 7 is verbose and the kernel might spit out more information to why its not happy with the init.xz file. Like decompression failed.

      posted in FOG Problems
      george1421G
      george1421
    • RE: UEFI Boot - Kernel panic: Unable to mount root fs on /dev/ram0

      @mbghost This error message baffles me. If its happening where I think its happening its not a pxe boot issue. This error happens after you pick an iPXE menu item or if you tell a computer to image.

      So you can probably rule out ipxe.efi/snp.efi here.

      This error message is generated with FOS linux is booting. The kernel has booted and when it goes to connect to init.xz the format of init.xz is corrupt for some reason.

      What version of FOG are you running
      What version of “the kernel” are you running?
      What version of init.xz are you running (get this from a bios computer that boots. the version of the init will be under the fog logo)

      What computer is this happening on (make and model)?
      Is it all uefi systems or only from one manufacture?
      How much ram does this computer have?
      Are you seeing both bzImage and init.xz get transferred completely to the target machine. This will be visible just after you pick an item on the FOG iPXE menu.

      To me this error is telling me something is wrong with init.xz or for some reason bzImage is not the right kernel for init.xz

      posted in FOG Problems
      george1421G
      george1421
    • RE: Unable to Get IP Address After PXE Menu on Physical PC (FOG Project on ESXi)

      @mbghost said in Unable to Get IP Address After PXE Menu on Physical PC (FOG Project on ESXi):

      ESXi server → Cisco Switch → Client.

      So just to be clear pxe boot the vm on esxi works no prob, but physical host does not.

      Lets test this, on the target computer, put one of those cheap unmanaged switches (like the $20 monoprice ones) between the pxe booting computer and the building network switch. Now try to pxe boot. If it works then get with your networking group and make sure the switch ports are configured for portfast, because its spanning tree causing you some troubles. Understand this is an educated guess based on what you’ve posted.

      Just for some background on this, standard spanning tree takes 27 seconds to start forwarding traffic. FOS Linux boots in under 15 seconds, so its already given up trying to get an IP address by the time spanning tree starts forwarding data.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Help needed for multiple Ubuntu desktops deployment

      @uzee FOG doesn’t change or really step into the target system during deployment. You CAN do this if you write a post install script that will get called once the target image is deployed to the target computer. In the case of a linux computer you could potentially set the target computer’s name here by updating the /etc/hostname file or anything else you can do with a bash script. The FOG Client can also be configured to make changes to the target computer or install applications based on instructions from the fog server. Its really identifying what you want to do and how much automation you want to script. Its all possible with FOG and a little creativity on your end. Since you already know Ubuntu (linux) bending FOG to what you want will be easier than coming strictly from a MS Windows background.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Help needed for multiple Ubuntu desktops deployment

      @uzee Your approach to this (imaging) really depends on your short term and long term goals.

      If imaging these machines are just a one time time (like if you were a PC reseller) then there is a process I call load and go. where you pxe boot one time into the FOG iPXE menu and then issue a Deploy Image from the FOG iPXE menu. This will deploy the target image to the target computer one time and then the FOG server will forget about the computer. Again you would use this method if you were going to stuff an OS onto some hardware and then never see that target computer again.

      The other method is the traditional registration, assign an image and then schedule an image deployment. In this case the FOG server will register and know about the target computer in the future. You have to remember though that you register the target computer once and then can deploy many times. Future remote imaging will be possible because you register the target computer with FOG. FOG also gives you the ability to manage the computers in the future if you install the FOG Client.

      Now with this registration and then booting. The registration process must be hands on, but imaging can be touch less or at least low touch. Some people will have the target computer configured so that it always pxe boots. In this case the target computer will always pxe boot through the fog ipxe menu. The default action if you don’t touch the computer will be to boot the OS off the hard drive. This boot through the iPXE menu, will also check to see if the fog server has any tasks assigned for the target computer. If there is a task assigned (like reimage the computer) then instead of booting through to the local hard drive, it will boot into imaging. If you couple that with the fog client install on the target coputer’s host OS. When you schedule a deployment to the computer, the fog client will then reboot the computer and then the bios is configured to boot through the fog menu, the target computer will be reimaged without requiring a tech to touch the computer. You would use this process to maybe reset a computer lab between classes, where you can wipe the target computer and then reload the OS on 30 computers in 10 minutes.

      The interrupt the booting process twice, is actually pressing F12 to get into the firmware’s boot menu to pick PXE booting. You are not changing the forever boot order, you are just picking one time pxe boot. Yes you will have to do that twice, but this way the default boot is always the hard drive.

      posted in FOG Problems
      george1421G
      george1421
    • RE: No Network Interfaces Found Error

      @Ryxn I checked and that nic has been in the linux kernel for several years.

      And secondly when you checked for missing firmware the kernel wasn’t complaining about missing something.

      Its a good thing you were able to get the error while in debug mode. Because that was going to be the next quest for you. To get the system when its behaving badly.

      So when you get it into debug mode and its complaining about no nic lets do the following.

      ip a s should show if the network interface has an ip address, I’m going to suspect no because it complained about it earlier in the boot process.

      lspci -k -nn | more Look through this list until you find the entry. The number in the square brackets will be what you posted earlier. [8086&1502]. See if the nic is visible to the kernel. AND if it is it should mention what kernel driver its using. I’ll give you a for example using my laptop.

      0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (
      13) I219-V [8086:15fc] (rev 20)
      	Subsystem: Dell Ethernet Connection (13) I219-V [1028:0a22]
      	Kernel driver in use: e1000e
      	Kernel modules: e1000e
      
      

      lastly if everything looks good, kernel sees the nic, there is a kernel driver assigned. Lets see if time fixes your problem.

      When you ran the ip a s command it listed all of the network interfaces and if it has IP addresses. You will need to know the interface name for your network adapter. It may be something like eno1 or ens192, or something else. Get that device name.

      Now run this command /sbin/udhcpc -i $iface --now replacing the whole word $iface with the device name listed from the ip command. This will tell the network adapter to again poll for an IP address from your dhcp server. If it picks up an IP address this time, then time does solve your problem and you will need to look into your network configuration and make sure that port-fast or fast-stp is enabled on your network port.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Image Replication Issues

      @ProfessorFow OK what I want you to do is on the master node, go into the storage group where this remote node is. Look at this remote node. There should be a ftp user ID and password listed there (said from memory). Use those credentials to connect like you did with the ftp CLI from the master node to the remote node. See if you can login using ftp to the remote node. Then issue a ls command, Its not important what the answer is as long as it gives you an answer and not an error.

      If you can’t login using those credentials then on the remote storage node look at the /opt/fog directory. There is a hidden file called .fogsettings. issue the command cat /opt/fog/.fogsettings In that file should be the password for the account used when the fog server was installed. Make sure they match what is on the master node.

      There is something with ftp that is not working correctly, that is why the replication is not happening.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Image Replication Issues

      @ProfessorFow The FOG replicator uses ftp to transfer files to the storage node. Make sure ftp is not being blocked between the master server and the remote storage node. You might test by on the master node, issue `ftp <remote_server_ip> if you are not prompted to enter a login then FTP is being blocked.

      posted in FOG Problems
      george1421G
      george1421
    • RE: No Network Interfaces Found Error

      @Ryxn Ok to divide and concur this issue, if you are getting to the FOG iPXE menu then your pxe booting is working ok and that’s not the problem.

      Since you mentioned bzImage, and the network interface shutting down once bzImage starts then issue is with FOS Linux kernel, 6.1.22 is your current version. The issue is with this 6.1.22 kernel and nothing else.

      What we need is the hardware ID of that network adapter. In windows you can get it from the device manager hardware ID. There will be a vendor code and a device code. Under linux if you run lspci -nn | grep -i -e net the code will be in the form of [8086:1fd6] (made up code). Once we have that code we can look to see if there is a linux driver for that nic.

      You need to schedule a task for the target computer and tick the debug checkbox. PXE boot the computer and after several screens of text you will be dropped to a fos linux command prompt.

      Also run this command, the file is either /var/log/messages or /var/log/syslog (I can’t remember)

      grep -i -e firm /var/log/syslog (remember the file may also be messages)

      What we are looking for is the kernel complaining that the nic requires a specific firmware to activate the nic. To keep fos linux fast and light there are only a limited number of firmwares built in. That can be fixed but we need to know which one.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Del Pro 14 Premium PXE fails

      @Donutsrule5

      OK lets see if we can boot from a usb drive. This tutorial will instruct you on how to build a usb boot image. https://forums.fogproject.org/post/69606 the google drive link below will take you to step 7 in the thread.

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

      Once you build the usb boot drive, take the kernel and init.xz from your current version of fog and replace the ones on the flash drive with the ones in from the FOG server. The files are in /var/www/html/fog/service/ipxe directory.

      Once you have the usb drive ready, pxe boot into the grub menu on the flash drive, then go into debug mode. After several pages of text you need to clear with the enter key you will be dropped at a fos linux command prompt. If you can get that far then fos linux is OK and the problem is probably with ipxe or the handoff between the two.

      If you want to image with the flash drive, schedule the task in the fog server BEFORE you usb boot and select option 1 from the menu. If you get it out of sequence you will get an error that says something about Null. Basically its saying you don’t have a task scheduled on the fog server so there is nothing to do. Lets see if we can get it to boot this way.

      posted in Hardware Compatibility
      george1421G
      george1421
    • RE: [BUG] iPXE Boot Loop & Menu Failure After FOG 1.5.10.1660 Upgrade

      @sideone said in [BUG] iPXE Boot Loop & Menu Failure After FOG 1.5.10.1660 Upgrade:

      Your suggestion of trying a realtek.efi didn’t work

      At running the risk of polluting this thread just a tad more. If undionly.kpxe worked in bios mode then snp.efi should work in uefi mode.

      Also knowing the exact realtek nic model could be important if its a 8168 (1GbE) or 8125 (2.5GbE) the default drivers in the linux kernel wont work well. You can try to use the experimental kernel that has the official realtek drivers built in https://github.com/rluzuriaga/fos/releases/tag/EXPERIMENTAL_REALTEK_DRIVERS Understand this will only help once you get past the FOG iPXE menu. This would be after undionly/snp has displayed the FOG Menu.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Del Pro 14 Premium PXE fails

      @Donutsrule5 said in Del Pro 14 Premium PXE fails:

      Any ideas or help

      This is failing at the nexus of iPXE handing off control of the computer to FOS Linux. So it could technically be either iPXE or FOS linux. The version of FOG is mostly irrelevant at this time.

      I would say rebuild ipxe and make sure you have the latest FOS Linux kernel, I think 6.12.35 is the latest, but not sure. Here is a tutorial on how to rebuild ipxe: https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe There is also a link in that article to the official wiki page with the updated instructions too.

      We are not done, at a road block yet. I can create a newer one off kernel based on 6.15.5 as well as we can build a USB boot drive to boot FOS Linux from a USB stick and bypass iPXE and the handoff between the two.

      posted in Hardware Compatibility
      george1421G
      george1421
    • 1 / 1