• ability to load a menu item on a specific machine as an immediate task

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    JJ FullmerJ

    @ksrvpvl Ok, I think I’m getting what you’re saying. I misunderstood earlier.

    Is your custom menu option to boot to winPE working? Or are you asking for help with that part too? There is some very basic guidelines on creating a winpe boot option here https://docs.fogproject.org/en/latest/ipxe

    The plugin system needs to be enabled in the fog settings, then you should see a plugin menu where you can activate and then install the tasktypeedit plugin. Some basic plugin system info is here https://docs.fogproject.org/en/latest/plugins but it looks like you got past that bit now.

    I also found this post https://forums.fogproject.org/topic/10274/creating-task-with-tasktypemanagement?lang=en-US&page=1 where someone was doing the same thing. Perhaps it may offer some help.

  • mounting on images failed permission denied

    Solved
    4
    0 Votes
    4 Posts
    891 Views
    P

    @processor Yes you can !

  • fog configuration problem

    Unsolved
    27
    0 Votes
    27 Posts
    9k Views
    A

    @Tom-Elliott ok how do I set it to 192.168.11.1?

  • Task Log file?

    Solved
    3
    0 Votes
    3 Posts
    377 Views
    R

    @baovipboy156

    Thanks!

  • Deployed Image does not join Domain or change hostname

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    JJ FullmerJ

    @JeremyBrown Are you still having this issue?
    The fog log is saying that the host has multiple macs

    If it’s still happening I will gladly help you use the fogApi powershell module to find the duplicate macs and how to fix it from there.

  • After upgrade to Ubuntu 23 - Kernel Panic - not syncing VFS Unable to mout root fs

    Unsolved
    1
    0 Votes
    1 Posts
    248 Views
    No one has replied
  • Stuck in Deploy Image loop

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    W

    Issue fixed with 1.5.10.15

  • Node is offline

    Unsolved
    2
    0 Votes
    2 Posts
    866 Views
    S

    @alexamore90 Did the installer finish all the way to the end? When running it there is a point where you need to open the browser and let it populate the database. If you skip this the installer will fail and needs to be run again.

    The node offline sounds like the installer didn’t finish properly.

  • Error with after mdraid true

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    T

    @tomynocker I have continued making changes with different init.xz files. I have gotten fog to detect the md126 raid, but I don’t know why it can’t capture or restore images.

  • Deploy and capture images remotely?

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    G

    @george1421 That’s what I am looking for… What guides do I need to follow and where is the script? It would stay DHCP so I can use it anywhere

  • TFTP using pxe-service menu option on existing DNSMasq DHCP server

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    george1421G

    @frobishant32 There is a couple of things going on here.

    Your dnsmasq configuration is only setup for bios based computers. Look at this tutorial here to see how to configure dnsmasq for proxy dhcp. Understand this is not what you need, but look at the section with the pxe-service entries for the uefi settings : https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server?_=1699482367667

    The second issue you have is that when iPXE boots it once again does a dhcp query to find the IP address of the “what it assumes” is the fog server. So what ever dhcp has for options 66 and 67 will be used to find the fog server. This next part is a little complicated but let me explain. When iPXE boots it runs an internal script that the fog developers embedded in the FOG version of iPXE. The script is pretty much here: https://github.com/FOGProject/fogproject/blob/master/src/ipxe/src/ipxescript

    #!ipxe isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 echo Received DHCP answer on interface net0 && goto proxycheck :dhcpnet1 isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 echo Received DHCP answer on interface net1 && goto proxycheck :dhcpnet2 isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall echo Received DHCP answer on interface net2 && goto proxycheck :dhcpall dhcp && goto proxycheck || goto dhcperror :dhcperror prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot :proxycheck isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck :nextservercheck isset ${next-server} && goto netboot || goto setserv :setserv echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv :chainloadfailed prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot :netboot chain tftp://${next-server}/default.ipxe || goto chainloadfailed

    As I said this script looks to what dhcp settings are and then uses that to chain to load default.ipxe.

    So you will need to adjust this script and rebuild ipxe if you want to change the behavior of ipxe as it boots from fog. Maybe something like this edit

    #!ipxe isset ${net0/mac} && ifopen net0 && dhcp net0 || goto dhcpnet1 echo Received DHCP answer on interface net0 && goto proxycheck :dhcpnet1 isset ${net1/mac} && ifopen net1 && dhcp net1 || goto dhcpnet2 echo Received DHCP answer on interface net1 && goto proxycheck :dhcpnet2 isset ${net2/mac} && ifopen net2 && dhcp net2 || goto dhcpall echo Received DHCP answer on interface net2 && goto proxycheck :dhcpall dhcp && goto proxycheck || goto dhcperror :dhcperror prompt --key s --timeout 10000 DHCP failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot :proxycheck isset ${proxydhcp/next-server} && set next-server ${proxydhcp/next-server} || goto nextservercheck :nextservercheck isset ${next-server} && goto netboot || goto setserv :setserv echo -n Please enter tftp server: && read next-server && goto netboot || goto setserv :chainloadfailed prompt --key s --timeout 10000 Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds && shell || reboot :netboot chain tftp://192.168.21.82/default.ipxe || goto chainloadfailed

    That chain update will then ignore what dhcp is telling ipxe and it will load always from the 21.82 address.

    Here is a tutorial on rebuilding ipxe. https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe

    I’m pretty sure you can get to what you need with the above info. I would try the dnsmasq settings first before going down the ipxe edit route.

  • bootable USB FOG image

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    P

    @george1421: I cannot launch the FOS Linux engine.

  • FTP server not running

    Unsolved
    1
    0 Votes
    1 Posts
    346 Views
    No one has replied
  • Owner and permissions in /images

    Unsolved
    1
    0 Votes
    1 Posts
    301 Views
    No one has replied
  • New Lenovo Computers

    Solved
    4
    0 Votes
    4 Posts
    681 Views
    T

    I was using the Factory image that came on the device from Lenovo. It was Win 10 and I updated it to Win 11 and we were getting the issues.

    I wiped it clean, and loaded a new instance of Win 11, and everything worked fine afterwards. Looks like after disabling Secure Boot, all other issue were with the device. We now have a working images. Thank you for all the help.

  • Can PXE Boot in to the Fog Menu but can't get anywhere after that.

    Unsolved
    3
    0 Votes
    3 Posts
    644 Views
    M

    @george1421 I updated the FOG Linux Kernel to the newest one and tried using an unmanaged switch but the problem still remains.

  • Cannot boot client on PXE

    Unsolved
    4
    0 Votes
    4 Posts
    608 Views
    george1421G

    @luisgmarinr What you are telling me and what I see on the screen is not the same. Some of my confusion is that I don’t use virtual box so it may be something unique to VB.

    You tell me the FOG server is at 10.0.2.15, but from your initial screen shot that is the IP address being given to the pxe booting computer.

    The firmware is being told the next server (pxe boot server) is at 10.0.2.4. The next server field should point to the fog server IP address. Its also being told to boot win.pxe and that is not a FOG boot loader.

    So lets start to debug this by identifying what device is 10.0.2.4.

    Also what device is the dhcp server for your network? That device appears to be giving out bad information.

  • Fog Capture with 2 hard drives

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    L

    Awesome. Thanks for the help!

  • TFTP Timeout

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    george1421G

    @Tauric said in TFTP Timeout:

    (and took less than 10 minutes lol)

    Well I was taking into account for slow speeds between keyboard and chair…
    Glad you have it worked out. DNSMASQ should work flawlessly in your environment.

  • wake on lan in a loop

    Unsolved
    2
    0 Votes
    2 Posts
    900 Views
    S

    @ludlud Do all the machines come back on or just some of them?

    Check the log in /var/log/fog/fogscheduler.log to see if jobs are somehow scheduled - like a plain WOL type job.

102

Online

12.2k

Users

17.4k

Topics

155.6k

Posts