• Hostname is not given

    3
    0 Votes
    3 Posts
    489 Views
    S

    @emreonder Please post the contents of the fog-client log file here.

    Hostname changing on Linux systems is not as straight forward as it is on Windows. The fog-client will try to change different config files (code reference) though this might not always work.

    On Linux you can usually take another route and set hostname via DHCP. Search the forums and the web in how to do this.

  • Is it possible to update bios setting via FOG server.

    14
    0 Votes
    14 Posts
    3k Views
    S

    @emreonder I thought you have Windows DHCP server in your network. Well if the FOG server is actually providing IPs as the main DHCP server in your network you should not shutdown the server/service as clients would not get an IP via DHCP even when booting Windows.

    If this is really true (you don’t have another DHCP server) then I would suggest you comment the line “next-server 10.1.11.4;” by putting a # at the start of this line, like this:

    ... # next-server 10.1.11.4; ...

    Save the config and restart the server.

  • Need to install Fog Server. Urgent remote support needed.

    5
    0 Votes
    5 Posts
    698 Views
    george1421G

    @emreonder said in Need to install Fog Server. Urgent remote support needed.:

    nomater all the options i try with the Host Bios Exit Type or Host EFI Exit Type ( i guess i tried all the combinations) but never passes this step.

    Ok the first thing we need to know is the gigabyte mobo in bios or uefi mode. Knowing that then you can focus on the right Host Exit type.

    The default for bios exit type is SANBOOT. That works 95% of the time. For the UEFI exit type that is typically rEFInd.

    So if you have a uefi type firmware and rEFInd hangs on exit there are a few things you can try with refind to make it work. The first thing I think I would have you do is update a few settings in the refind.conf file to see if adjust refind to locate your boot media.

  • Additional Information in Hosts

    10
    0 Votes
    10 Posts
    1k Views
    S

    @Oleg I hope you can read patch/diff information. Here are the changes you need to make to /var/www/html/fog/lib/pages/hostmanagementpage.class.php to add the “System Product” column to the host list output - this is for FOG 1.5.9 and would probably work in 1.5.8 just as well:

    --- fogproject-master/packages/web/lib/pages/hostmanagementpage.class.php 2020-09-14 01:00:12.000000000 +0200 +++ /var/www/html/fog/lib/pages/hostmanagementpage.class.php 2020-12-19 17:03:24.225580767 +0100 @@ -175,7 +175,8 @@ _('Host'), _('Imaged'), _('Task'), - _('Assigned Image') + _('Assigned Image'), + _('System Product') ); $this->templates = array( '<i class="icon fa fa-question hand"></i>', @@ -223,7 +224,9 @@ _('Goto task list') ), '<small><a href="?node=image&sub=edit&id=${image_id}">' - . '${image_name}</a></small>' + . '${image_name}</a></small>', + '${inventory}' + ); unset($up, $down, $mc); $this->attributes = array( @@ -259,6 +262,9 @@ ), array( 'width' => 20 + ), + array( + 'width' => 120 ) ); /** @@ -281,6 +287,7 @@ 'image_id' => $Host->imageID, 'image_name' => $Host->imagename, 'pingstatus' => $Host->pingstatus, + 'inventory' => $Host->inventory->sysproduct, ); unset($Host); };

    I suggest you keep a copy of this information somewhere so you can apply the changes whenever you update to a new version of FOG.

  • Updating Dabase Failed

    5
    0 Votes
    5 Posts
    419 Views
    K

    @sebastian-roth Yes resolved.

  • Creating a Custom Full Reg Screen

    2
    0 Votes
    2 Posts
    250 Views
    S

    @DJslimD1k Yes there are two ways of achieving this. The first one is kind of static where you modify the init.xz file. You need to re-do the modification as soon as you update to a new version of FOG. Find instructions on how to do that in the wiki: https://wiki.fogproject.org/wiki/index.php?title=Modifying_the_Init_Image

    But as you seem to use the latest dev-branch version (great!) I would suggest you use the more dynamic way of “patching” the inits on the fly while it boots up. George posted instructions on this in the forums: https://forums.fogproject.org/topic/13500/dynamically-patching-fos-using-a-postinit-script

    In your case you want to edit fog.reg.man.fix and delete lines 286-294 as well as 250-268 (note I am listing the lines numbers in reverse because when you start deleting in line 250 the later line numbers will change).

    As well I suggest you keep an eye on the commit history of this particular file on github (https://github.com/FOGProject/fos/commits/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.man.reg) - whenever we commit a change I suggest you re-download and modify your fog.reg.man.fix again. Last change was March 2018, so changes to this file are kind of rare but you never know.

  • FOG + LUKS

    2
    0 Votes
    2 Posts
    422 Views
    george1421G

    @boriquaboy115 I would like to say yes for LUKS encryption. I created a one off kernel for that a while ago for a specific use case.

    Part 2: LVM isn’t a problem for FOG, it just can’t resize the disk image, so you can only deploy it to the same size disk or larger if you have an LVM partition.

    ref: https://forums.fogproject.org/topic/13845/error-decrypting-luks-partition-prior-to-capture-imaging/8

  • How does Fog communicate with storage nodes ?

    2
    0 Votes
    2 Posts
    265 Views
    L

    Found the answer:

    The master server polls the storage node web server. (/fog/status/bandwidth.php?dev=eth-device-name)

    If the master server is HTTPS enabled, the storage nodes must expose the APIs in HTTPS too.

  • Configure fog to answer on two IP addresses

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    S

    Hi, I have solved the problem. I have followed an article which has helped me to solve the problem I had, right now FOG is able to answer both networks without any problem.

    I leave the article here: https://jensd.be/468/linux/two-network-cards-rp_filter

    Thanks for everything!

  • Deleting Hosts

    4
    0 Votes
    4 Posts
    1k Views
    george1421G

    @bmick10 said in Deleting Hosts:

    If I delete a device that is still in production on the network. It will not remove from domain or lose connection?

    Correct. The only impact to the target computer is that if the fog client is installed on the target computer it will no longer get instructions from the FOG server. The FOG Client will be abandoned with no instructions.

    If I have a machine named ittech20 and remove that from database when I restart in pxe will the computer still be named ittech20.

    Yes the computer will remain untouched. The only thing you will notice is that in the fog iPXE menu the computer will appear as unregistered.

    So if I delete all of them since the machine still has service running on will it talk back to server and sync to database?

    If the FOG Client is installed on the machine but they are no longer in the database the FOG Client should reregister the computer. Now that I think about it. BUT they will be registered in a pending state and must be approved before you can work with them in the FOG Gui. Its been a while since I did this part so its not as clear in my mind. But they should go into the database again in a pending state.

  • Upgrade 1.5.7 to 1.5.9

    Solved
    3
    0 Votes
    3 Posts
    648 Views
    R

    @george1421 Thanks for your reply.

    Out of all the replies on updating FOG all of them refer to the git method, and never a clear answer on the tarball/zip method. So thank you for that. Looks like my original install my boss did was from the tarball so I’ll stick to that for now. Thanks again!

  • Make room on fog server's storage

    14
    0 Votes
    14 Posts
    2k Views
    S

    @sjensen Just as a precaution - make sure you have a backup copy of all your important data from this system. I won’t be made liable for any steps you take!

    So let’s take a look at the whole process of resizing which involves several “layers” - see below.

    In the output of pvscan we see that the physical volume on /dev/sda3 is 400 GB in size and has 100 GB free/not in use. So gparted has extended the partition but not the physical volume (in LVM terms). To do that run:

    pvresize /dev/sda3

    The next step is to tell the logical volume (LV) to use that new space:

    lvextend -l+100%FREE /dev/FOGServer-vg/root

    As a final step you need to extend the filesystem.

    resize2fs /dev/FOGserver-vg/root

    Finally check the partition size in the output of df -h.

  • Anyone has success with Big Sur Beta?

    5
    0 Votes
    5 Posts
    631 Views
    J

    As far as I know, if you use Big Sur Beta to create a machine, you don’t need to do any other specific settings.
    If you don’t know much about it, you can take a look at this tutorial.
    It will tell you what you need to do .
    I did what it said before,the methods it provides are all helpful,i use method one, which is fast and simple, without me doing too many useless things.

  • Multicast

    5
    0 Votes
    5 Posts
    590 Views
    S

    @sjensen FOG 1.5.0 is years old and I can’t remember if multicast worked perfectly fine in that version or if there was an itch with that in 1.5.0.

  • 0 Votes
    5 Posts
    685 Views
    K

    @george1421 Obrigado

  • Retain multicast sessions?

    6
    0 Votes
    6 Posts
    514 Views
    R

    It’s been a few days and I just wanted to thank everyone for the replies. I am giving the scripting a whack and will report back if I make some progress with it.

  • Imaging with USB ethernet adapter

    2
    0 Votes
    2 Posts
    432 Views
    S

    @ddavis The MAC address is still used as unique identifier by FOG as being the most reliable. Changing that would mean working with the code. Feel free to work on this considering all the things mentioned on github: https://github.com/FOGProject/fogproject/issues/198

    The question is what your goal is in the end. Should those devices be imaged and then handed out and never some back? Or do they stay in your network and re-imaged from time to time? If so which kind of network connection will they use in the future?

    There are two other routes you can look into:

    Register the device with the the USB adapters MAC address and let it do the imaging. Rename the host manually or by OOBE. Install the fog-client service and enable that after deployment so it will automatically register other MAC addresses like wireless, approve those. Some USB adapters have the capability to pass-through the MAC address. This feature allows the MAC address of the native ethernet network device on the system to be used for imaging. Depends on the hardware you have.
  • FOG API Question

    9
    0 Votes
    9 Posts
    1k Views
    Chris WhiteleyC

    @sebastian-roth Thank you! I am going to give this a shot.

  • Improve documentation

    51
    0 Votes
    51 Posts
    13k Views
    JJ FullmerJ

    @sebastian-roth It’s beautiful!
    Thanks for figuring that out!

  • How to PXE boot to a Windows PE ISO 2020

    1
    0 Votes
    1 Posts
    672 Views
    No one has replied

102

Online

12.2k

Users

17.4k

Topics

155.6k

Posts