• Can FOG use SMB instead of NFS?

    2
    0 Votes
    2 Posts
    503 Views
    george1421G

    @brakcounty Well is there a technical reason… none that I can think of. NFS and SMB are similar protocols. They have similar pitfalls in (in)security. But off the top of my head I think it would work. Why isn’t fog using it? Because NFS is built into linux and nothing extra is needed., NFS IS a very fast protocol. too.

    You would need to install and enable samba on the FOG server. Two shares will be needed /images and /images/dev.

    You will need to rebuild FOS Linux initrd to include the smbclient program. The you will need to update the fog.mount script (in FOS) to use the smbclient to mount the remote storage instead of using the linux mount command.

    This thread will give you clues where to look for the tweaks for smb: https://forums.fogproject.org/topic/14791/feature-request-for-fog-1-6-x-configure-image-capture-to-use-nfsv4-instead-of-nfsv3

  • FOG delay then skip "Running post init scripts..." with UFW Enabled

    13
    0 Votes
    13 Posts
    2k Views
    D

    @george1421 As you said those ports are dynamic, however I found a way to lock some ports to make sure they don’t change from this thread

    I did everything except RPCRQUOTADOPTS and the post init scripts ran fine without delay. I’m assuming this won’t change as I had to restart the nfs-kernel-server.service to apply the changes. Hopefully this will stick.

    Small note at the bottom of the linked thread, make sure you allow the ports in ufw.

  • Quick Question: Does FOG require IPv6?

    2
    0 Votes
    2 Posts
    513 Views
    Wayne WorkmanW

    @brakcounty Pretty sure it’s not required.

  • FOG USB Boot method issue when booting from different subnet

    6
    0 Votes
    6 Posts
    1k Views
    D

    @p4cm4n ipxe is loaded from the USB drive, EFI/BOOT/bootx64.efi. This file is actually the ipxe.efi kernel file taken from my FOG server in /tftproot/

  • Removal of Fog user in Fog Project

    7
    0 Votes
    7 Posts
    1k Views
    Wayne WorkmanW

    @zfeng Glad you figured this out. When you find a contradiction, check your premises. You will find that one or more is incorrect, or they are incomplete.

  • Dell Latitude 3120 no Legacy boot

    9
    0 Votes
    9 Posts
    3k Views
    garydfradyG

    @george1421 WE GOT IT! Thanks for your help!

  • my machine is Dell Latitude 3420

    2
    0 Votes
    2 Posts
    603 Views
    george1421G

    @juelson Yes and what didn’t work? From your other thread you are using fog 1.4.4. That should support uefi systems, but it probably won’t see your nvme drives. For UEFI systems you need to send a different boot loader than for bios. For bios, dhcp option 67 should be undionly.kpxe that will pxe boot a bios based computer. For uefi based systems you need to have dhcp option 67 set to ipxe.efi. or snp.efi. Since you are using a really old version of FOG with new hardware you might be out of luck until you upgrade to FOG 1.5.x branch.

    Points of interesting.

    You need to update your FOS Linux kernel to 5.15.x series for the latest hardware support (FOG Web UI -> Kernel update) You need FOG 1.5.9 to update your version of iPXE to the latest version. In the Dell firmware set the disk mode to ahci mode. The default of raid-on will not work with FOG. Disable secure boot in the uefi frimware.
  • mysql open ports on FOG server

    13
    0 Votes
    13 Posts
    3k Views
    D

    @george1421 Got it. I set up the rules using ufw with the ports from that list. I only tested a Full Reg and Inv so far. It hangs on Running Init Scripts for while then skips it, I think that is the script that pulls the serial number from the bios and auto-populates it as the hostname. I confirmed this when I disabled ufw and that step went right through without delay.

  • Graphic refind with fog

    3
    0 Votes
    3 Posts
    717 Views
    george1421G

    @george1421 So the second part of this is; I would create a custom FOG iPXE menu item to test this next bit. Since refind exists in the http path we can use the http protocol to grab the files you need.

    I would start out by cloning the FOG provided refind.conf file to… for this example refind2.conf. Place any files you want to load in the http path on the fog server but not in the fog file path because an upgrade will delete your custom files. For this example lets create a new directory with
    mkdir /var/www/html/crefind place your cloned refind2.conf file in there plus any other files you want to load onto the refind vhd.

    set http-path http://${fog-ip} set custrefind-path ${http-path}/crefind set refind-path ${http-path}/forg/service/ipxe kernel ${refind-path}/refind_x64.efi imgfetch --name refind.conf ${custrefind-path}/refind2.conf refind.conf imgfetch --name os_linux.png ${custrefind-path}/os_linux.png os_linux.png imgfetch --name theme.conf ${custrefind-path}/theme.conf theme.conf boot || goto MENU

    Understand I did not debug this menu at all, I just glued the bits together. So it might work or might now. But the idea is correct. Remember in your refind2.conf file the ipxe vhd has no paths so everything is stored in the root of the vhd. So this config file stanza
    icon /EFI/refind/themes/rEFInd-minimal-drunkcj/icons/os_linux.png
    Needs to be rewritten as
    icon os_linux.png

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Sort All Host Lists by Date

    1
    0 Votes
    1 Posts
    339 Views
    No one has replied
  • iPXE menu color settings not applying

    1
    0 Votes
    1 Posts
    188 Views
    No one has replied
  • Boot menu

    13
    0 Votes
    13 Posts
    3k Views
    K

    @george1421 Thanks ! I found the problem few minutes after this post, with this subject
    https://forums.fogproject.org/topic/12356/refind-conf-doesn-t-appear-to-be-used

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Secure FOG's NFS share

    2
    0 Votes
    2 Posts
    365 Views
  • Any updates on the non-resizable Windows recovery partition issue?

    7
    0 Votes
    7 Posts
    3k Views
    JomaryngsJ

    I read everything written here and thought about this: If earlier such manipulations were possible, is there a chance that Windows still did not provide for something. Is it possible to hack the system and change the memory size for updating? How is this even possible? I used to contact raid data recovery to recover the data I lost during the system update process and thought that even if they can retear the data, is it impossible to change the amount of memory used by this data?

  • Abusing FOG as RMM (with public access)?

    2
    0 Votes
    2 Posts
    417 Views
    S

    @suzabi said in Abusing FOG as RMM (with public access)?:

    Is it built for scenarios like this, or is it better to use it only with an active VPN? But in this case, remote wipe would be impossible.

    FOG was not designed with that scenario in mind. I would not suggest to run a FOG server facing the internet unless you know what you do - being able to secure the whole setup.

    I don’t think remote wipe will work because it needs PXE boot to start into such a task and it’s very unlikely someone sets things up in their own network after stealing a device.

    Using FOG behind a VPN is good practice if you have different locations. But you might think about using separate FOG servers as well because imaging across the internet can be a pain if connection speed is limited.

  • Does Upgrading storage increase imaging speed with Hyper-V ?

    3
    0 Votes
    3 Posts
    521 Views
    S

    @george1421 great answer, thanks a lot

  • Multiple nodes

    2
    0 Votes
    2 Posts
    316 Views
    george1421G

    @primofamilia In general when storage node #3 comes back online all changed images will be resynced to the #3 site from the master node. This will happen all automatically. You will have to do nothing more than bring storage node #3 back online.

    With that said if your new site #3 will have a different IP address range, or more specifically the storage node will have a different IP address than at the legacy site you will have a little fixing up to do to bring the node back online. But its not that hard to do.

116

Online

12.5k

Users

17.5k

Topics

156.2k

Posts