• Fog running very slow

    12
    0 Votes
    12 Posts
    2k Views
    george1421G

    @john-l-clark Up til this point we didn’t change anything. If you were able to make the database server change then we could do the next step that will solve the speed issue. SO with that said, its probably running fine now but the slowness will be back.

    When you are to the point where you want to continue let me know. We can work through the rest of the changes.

  • Image association - There is a host in a tasking error

    2
    0 Votes
    2 Posts
    338 Views
    S

    @mesaman0182 Simply use the command mysql -u fogmaster -p (don’t add the password to the command line but wait for the command to ask you for the password)

  • Some Hosts are not giving me the option to reset encryption data?

    6
    0 Votes
    6 Posts
    625 Views
    S

    @tesparza said in Some Hosts are not giving me the option to reset encryption data?:

    @sebastian-roth

    [17-Oct-2021 14:55:07 UTC] PHP Fatal error: Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209

    Could it be that?

    Absolutely! Search the forums for this error and you will find help.

  • EFI EXIT type chainloading failed

    29
    0 Votes
    29 Posts
    8k Views
    C

    @george1421 HI George,

    I’ve started again replcing all config files and checking /boot has no refind.conf files.

    i’m now at a point where I have both choices in fog:

    The orginal refind.conf option works AND i can change default boot choice.

    The new refindx2.conf option is ignored, i can even delete refindx2.conf and it still boots into a refind menu. I’ve also checked the refindx2 option and it’s not reading the original refind.conf.

    here’s me remade settings:

    bootmenu.class.php

    public function __construct() { parent::__construct(); $grubChain = 'chain -ar ${boot-url}/service/ipxe/grub.exe ' . '--config-file="%s"'; $sanboot = 'sanboot --no-describe --drive 0x80'; $refind = sprintf( 'imgfetch ${boot-url}/service/ipxe/refind.conf%s' . 'chain -ar ${boot-url}/service/ipxe/refind_x64.efi', "\n" ); $refindx2 = sprintf( 'imgfetch ${boot-url}/service/ipxe/refindx2.conf%s' . 'chain -ar ${boot-url}/service/ipxe/refind_x64.efi', "\n" ); if (stripos($_REQUEST['arch'], 'i386') !== false) { //user i386 boot loaders instead $refind = sprintf( 'imgfetch ${boot-url}/service/ipxe/refind.conf%s' . 'chain -ar ${boot-url}/service/ipxe/refind_ia32.efi', "\n" ); }

    and further down the same file

    self::$_exitTypes = array( 'sanboot' => $sanboot, 'grub' => $grub['basic'], 'grub_first_hdd' => $grub['basic'], 'grub_first_cdrom' => $grub['1cd'], 'grub_first_found_windows' => $grub['1fw'], 'refind_efi' => $refind, 'refind_efix2' => $refindx2, 'exit' => 'exit', );

    service.class.php

    if (empty($name)) { $name = $this->get('name'); } $types = array( 'sanboot', 'grub', 'grub_first_hdd', 'grub_first_cdrom', 'grub_first_found_windows', 'refind_efi', 'refind_efix2', 'exit', );
  • HP 430 G8

    2
    0 Votes
    2 Posts
    255 Views
    S

    @crustyjeff Search the forums for “mac passthrough” and I am sure you can figure out what this is about.

  • Starting and checking status of web service failing

    2
    0 Votes
    2 Posts
    216 Views
    S

    @lolarea2 said in Starting and checking status of web service failing:

    I’m unsure how to make FOG not use 443 since 443 is required by OpenVPN for the restrictive networks I go outside my home for system maintenance.

    Which Linux OS and version do you use? As far as I know from the top of my head the FOG Installer shouldn’t use 443 if you do not enable HTTPS. But I can imagine the OS itself defaults to HTTPS enabled by now when the Apache package is being installed.

    I am sure there is an easy fix as soon as we know the OS and version you use.

  • Fog Server with DHCP

    10
    0 Votes
    10 Posts
    2k Views
    S

    @ryno-theron said in Fog Server with DHCP:

    Why is it that if the web management can see the registration but device is not registered after a restart?

    Please open a new topic on this issue. It helps a lot to keep things sorted and not just post one question after the other in the same thread.

    A quick first hint in this: search the forums for “passthrough MAC” and I am sure you can find an answer to your question.

  • Lenovo E15 Gen 2 Issues

    9
    0 Votes
    9 Posts
    2k Views
    S

    @x23piracy said in Lenovo E15 Gen 2 Issues:

    Is reading the SLIC from Bios still in the current releases of FOG? I have a nice customisation from Tom running in my current installation:

    Sorry, but I don’t know what this is about. Probably best of you open a new topic on this.

  • Storage Node Database connection failed

    2
    0 Votes
    2 Posts
    296 Views
    T

    @tesparza Fixed by increase the number of connections.

    mysql
    SET GLOBAL max_connections = 200;
    flush hosts;

    login as root into the database.

  • Kernel update and storage nodes?

    10
    0 Votes
    10 Posts
    1k Views
    S

    @tesparza said in Kernel update and storage nodes?:

    This is a HP ProBook 250 G8
    The “no network interface found, kernel missing correct driver” was a Dell optiplex 5080

    Well then we are talking about two totally different issues and it would make sense to open separate topics in the forums on the two. The more we keep this together the more missunderstanding and time consuming questions arise.

  • Win 10 Hyper-v VM unable to PXE boot

    4
    0 Votes
    4 Posts
    1k Views
    S

    @jaan said in Win 10 Hyper-v VM unable to PXE boot:

    I did see the other threads, but discounted them as the are different revision of HYPER-V, from what i understand my version is the troublesome one. I did have this working on the previous ltsc of ubuntu.

    I don’t use Hyper-V and therefore can’t give you any information on which version should work.

    Unfortunately this hasn’t resolved the issue. i have performed a reboot also.

    No reboot needed. The iPXE binaries are used as soon as they are in place. I was just going to say that you can check the iPXE version number on screen when it boots up to make sure it actually uses the newer binaries. But looking at the picture you posted initially I remember the version header is printer after the device initialization sequence. Too bad.

    I already have the below listed in my DHCP server… not sure where to find the dhcpd.conf file to edit it. Can i do this in the FOG GUI?

    Thanks again

    Capture22.JPG

    Yes, obviously you use a Windows DHCP server and it’s set to use undionly.kpxe already. Don’t worry about the mentioned dhcpd.conf then. This is only used when FOG is configured to be the DHCP server in your network.

  • Cannot deploy image - Connection Time Out

    12
    0 Votes
    12 Posts
    1k Views
    G

    @george1421 I’ve updated to NFSv4 and the firewall has been reenabled and FOG is working.

  • Lenovo M70a Pxe boot

    12
    0 Votes
    12 Posts
    3k Views
    george1421G

    @raymond-bell said in Lenovo M70a Pxe boot:

    And i have never used the FOS Linux

    You have, but you’ve never directly interacted with it.

    The concepts are here: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image Understand your caveats and why this isn’t the first choice.

    The concept here is that you will boot bzImage and init.xz from the USB stick and bypass iPXE and its interaction with your hardware. Look at the chat bubble in the upper right corner of this page for a few more hints.

  • how to install windows 11 on unsupported hardware

    1
    0 Votes
    1 Posts
    307 Views
    No one has replied
  • FOG installation ERROR: "E: Unable to locate package php-gettext"

    8
    0 Votes
    8 Posts
    11k Views
    S

    @asheroto Did you actually read my question? Which version of FOG do you use?

    From the logs it looks like you use 1.5.9 which is the last official version. Yes, this version does not work with Debian 11 because it was released months befor Debian 11 came out! We have fixed this issue in the so called dev-branch version weeks ago. For further details read these topics:

    https://forums.fogproject.org/topic/15370/dev-branch-1-5-9-79-installing-package-php-gettext-failed-has-to-use-x-switch-to-get-it-to-work https://github.com/FOGProject/fogproject/issues/433 https://github.com/FOGProject/fogproject/pull/428 https://github.com/FOGProject/fogproject/issues/429
  • IPXE Error 2e008081

    7
    0 Votes
    7 Posts
    2k Views
    S

    @george1421 said in IPXE Error 2e008081:

    This will display the text script that creates the ipxe menu. Lets see exactly what is going wrong here. That “Windows…” still bugs me because I think it should not be in the ipxe menu.

    You are correct here I am sure. From what I see in that picture I would assume the string “Windows” is set as Kernel either in the host’s settings or even in the global FOG settings.

  • USB Network Adapters

    8
    0 Votes
    8 Posts
    1k Views
    JJ FullmerJ

    My solution for this problem has been to use the api the remove usb macs when my provisioning script is done. I have it working by using the client.
    The basics are

    Computer gets registered with usb adapter My custom provisioning starts and the fog service is started which will add pending macs I leave the usb adapter plugged in until my provisioning is complete (so software install and whatnot happens over ethernet not wifi) Last step of provisioning uses a powershell api function to remove any existing usb macs (I have a saved list in the powershell of macs in my code) Adapter can then be removed and used on the next device

    My custom functions uses my published fogapi powershell module, particularly this function https://fogapi.readthedocs.io/en/latest/commands/Remove-UsbMac/
    Here’s a link to the code on github https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Remove-UsbMac.ps1
    The function also handles making a new mac the client found be the primary mac if the usb mac is the current primary.
    If you’re not using the client, you could also create a custom automation to find the mac addresses of the machine during a postscript/firstlogon/provisioning step and have it use https://github.com/darksidemilk/FogApi/blob/master/FogApi/Public/Add-FogHostMac.ps1 to add a new unique mac then use the remove-usbmac function to remove specified usb macs.

    If you’d like more info or examples I’d be happy to help, just wanted to offer a quick overview of a possible solution.

  • Can't make changes in Web UI

    3
    0 Votes
    3 Posts
    386 Views
    R

    @sebastian-roth Wow, it looks like I was mistaken about how groups work. I see now that I need to use the plugin to get what I want. Now that I have enabled that plugin for persistent groups. Is there anywhere that says how to use it the correct way?

    From what I understand, the plugin is basically a hack that will request all groups settings on a host when imaged. So do I predefine my group settings then image a machine, or am I missing steps?

  • Deploy image menu not coming up

    3
    0 Votes
    3 Posts
    1k Views
    L

    Ok so as I posted there is a work around and I suspected something in iPXE but I wanted to be sure I wasn’t being a bonehead here. Thanks!

  • how to deploy windows 10 only in C drive.

    2
    0 Votes
    2 Posts
    251 Views
    S

    @utpalgiri143 You can tell FOG to just deploy a single partition. But FOG only knows about the partitions but not the drive letters assigned by Windows. So you need to figure out the correct partition number first.

    The second thing you need to keep in mind is that the partition layout is not being deployed if you select a single partition. So a deploy task will fail if the partition layout is not correct. If you deploy the full disk once you can deploy a single partition afterwards as often as you want and as long as the partition layout is not changed.

    So for deploying a single partition I suggest you create a new image definition in the FOG web UI. Set the right partition in the image configuration and capture that image. Then set this image to the host you want to deploy and let it do it’s task.

186

Online

12.3k

Users

17.4k

Topics

155.6k

Posts