• Quick Registration and Inventory Host - Lenovo T590

    Solved
    4
    0 Votes
    4 Posts
    566 Views
    george1421G

    @montesd Ok for that old version of FOG, you need to be on FOS Linux version 4.12.x to have the driver for the I219-LM or i219-V network cards. You can manually download the kernels from here: https://fogproject.org/kernels/

    You will want to download
    Kernel.TomElliott.4.12.3.64 and save it as bzImage
    and
    Kernel.TomElliott.4.12.3.32 and save it as bzImage32

    Watch your case because it is important. These files go into /var/www/heml/fog/service/ipxe directory. Rename the existing files in case you have to back up.

    Also you can try the latest kernels with
    Kernel.TomElliott.4.19.64.64 and Kernel.TomElliott.4.19.64.21.32 but there is no grantee that they will work with the older inits (YMMV). These would latest kernels would supported the newest hardware with the risk of incompatibility with the inits (FOS Linux virtual hard drive).

  • Working with a custom host registration form

    Solved
    3
    0 Votes
    3 Posts
    779 Views
    C

    So following the link in list item #1, I ran into some issues. I created the fog.patch.man.reg file as directed, copying the quoted text into the file and chmod’ing it to 755. Your step 4 mentions editing fog.postinit, which is a file I don’t have. I wondered if you were missing a step that indicated to run the patch script, so I ran it with # ./fog.patch.man.reg and got the following output:

    ./fog.patch.man.reg: line 12: /usr/share/fog/lib/funcs.sh: No such file or directory Testing path for our fixed file at fog.reg.man.fix ./fog.patch.man.reg: line 15: debugPause: command not found Failed to find file [fog.reg.man.fix] sorry. Copy Failed ./fog.patch.man.reg: line 26: debugPause: command not found

    I am thinking that my issue is possibly advice in this forum thread, which suggests that it’s safe to delete the contents of /images/dev/. The thread is from 2016, so perhaps dev gained more purpose than a temporary dumping ground for in-progress captures? I arrived at that thread some time ago, for the same reason as the OP - I was running out of disk space and found out it was because of occasionally-failing captures. Deleted the contents of the folder and everything was good again.

    Following the link to list item #2, “Using scripts” was a non-starter. I have /opt/fog, but don’t have utils within that directory. Instead, I have log, service, and snapins. I ran find -iname *image* and didn’t find FOGMountBootImage.sh in the results.

    I followed the instructions in the “By Hand” section for Version 1.0.0 and up. I had trouble running mount -o loop init{,_32} initmountdir as CentOS didn’t like that command, so I made the assumption that it was trying to mount two directories within initmountdir (init & init_32). I ran that command as such:

    mount -o loop init initmountdir/init mount -o loop init_32 initmountdir/init_32

    I then navigated to initmountdir/init{,_32}/bin and changed each fog.man.reg to the file I had created. It sort of worked after I packed everything up, in that things did change, but the registration didn’t act as expected. I entered a hostname as requested, left image ID blank and hit Enter, then it went to a blank line. I waited, but eventually hit Enter again, which then asked if I wanted to associate with groups. After that, when I hit Enter, it dropped to a new blank line, but didn’t continue the form. I possibly have a malformed file (I had a few errors along the way, fixed based on my knowledge of what was wrong). If you’d like, I can attach it. Any thoughts on some of the other issues above?

    Also, I was wondering, how would I create a new menu entry, so that my tests show up as a separate item from the primary full registration?

  • FOG Client Not Responding To New FOG Server

    Solved
    12
    0 Votes
    12 Posts
    1k Views
    S

    @tech04 You don’t need to worry about the FOG Project certificate. This is for verifying the signature of the fog-client software components (needed as we provide auto update in SYSTEM context).

    FOG Server CA is the one you need to exchange.

    Location should be Local Machine\Trusted Authorities. But I don’t have a Windows PC at hand at the moment. This is just from the top of my head.

  • IPXE Boot Problem - No such file or directory after installation of SSL

    Solved
    5
    0 Votes
    5 Posts
    726 Views
    L

    @Sebastian-Roth

    First, sorry for the delay of the answer, it was a busy day and I hadn’t access to the network this weekend.

    We continued to search for the problem and finally, we found there was a problem with the copy of a file from /path/to/fogproject_git_repo/packages/tftp to /tftpboot. The file “default.ipxe” was missing. We saw that with a capture of the trafic and the analyze of the pcap.

    So finally, everything works !

    To be sure to well understand, we made a new install from scratch and it’s work perfectly (Fog server & the SSL) !

    In resume, here is the steps I made :

    Install of fog with the “-S” option to activate SSL Copy of the certificate and the private key on the machine Edit the Vhost file with the path of the private key and the certificate (with a restart of Apache2) Modify the CA by default in the directories /etc/apache2/ssl/CA/ and /opt/fog/snapins/ssl/CA/ with our own CA Execute the script buildipxe.sh from the directory /path/to/fogproject_git_repo/utils/FOGiPXE/ And finally, copy the new binaries from /path/to/fogproject_git_repo/packages/tftp to /tftpboot (The step I missed 🙂 )

    Now the server is secured and, incidentally, it’s working !

    Thank you for the support !

  • 0 Votes
    5 Posts
    1k Views
    Tom ElliottT

    @Bill-Rice
    You are safe to run the install in /opt/fogproject as needed.

    I’d suggest

    Copy the current /opt/fog/.fogsettings file to /root/.fogsettings Delete the current /opt/fog Copy the original server’s /opt/fog to the new server into /opt/fog as well. Copy the /root/.fogsettings to /opt/fog/.fogsettings file. Rerun the install to be on the safe side.
  • Could not complete tasking (/bin/fog.upload)

    Solved
    5
    0 Votes
    5 Posts
    785 Views
    Tom ElliottT

    @AdamH From the sounds of things, the storage group item is not set on the image. The GUI tries to correct for this by applying the first storage group to the image, but if there is no actual value set, this message you see will still happen.

    I’d suggest updating the image even though it shows as though it is set.

    Thank you,

  • Error while creating new image: No space left on device

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    E

    Creating an image from scratch was the solution to my problem. So further trouble shooting/hacking is not necessary 🙂

    Thanks for the help!

  • image deploy works to virtual machines but not on working on actual machines

    Solved
    12
    0 Votes
    12 Posts
    3k Views
    Q

    @Sebastian-Roth I believe there is a configuration where you can (ICH9 chipset + virtio-net network adapter)

  • Can't update FOG server

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    A

    @merrittw

    What tools are you using to manage your linux infrastructure.

    I know Ubuntu is the bane of FOG devs but we use it in our environment because i can push updates regularly to all our hosts with Landscape.

  • NTFS partitions corrupt after capturing resizable image

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    Tom ElliottT

    @Sebastian-Roth https://github.com/FOGProject/fogproject/commit/d3a70dd417eb1d08b48a637e26ec8776f4409d29

    652b6f04-876c-4c27-89b0-d3bc6b01513e-image.png

    I commented out the “style” info you put, and moved it to push info out to the left instead of the right so that the form field is still accessible when reading the information.

  • Installed Snapins shown as not installed

    Solved
    3
    0 Votes
    3 Posts
    552 Views
    S

    @Lugga said in Installed Snapins shown as not installed:

    BUT: In the FOG Webinterface it is shown as not installed.

    As Tom said, FOG only tracks the return code but not the status of a software installation. Do you mean the return code? What happens if you run your silent office installer from the command line and check the return code? Be aware that fog-client runs as a service and uses the SYSTEM account therefore. So testing things with a user account might give you a different return code. If you want to try it as SYSTEM you need to look into using PsExec. Search the forums for that.

  • Question about working with groups

    Solved
    4
    0 Votes
    4 Posts
    705 Views
    C

    Hey George,

    No worries on the delays. Work’s been busy for me too, but today is slow finally.

    I realize I messed up how I explained things. I was creating a template host with the same exact name as the group. After not being able to get it working, I tried your example name of TemplHost01 for both a new group and new host. I set the details on the host, added it to the group, and still nothing.

    So I just tried again today, and the functionality is working as expected. Curious … I wonder it just needed a little more time. I’ll play with it a bit more and see if everything seems to be good.

    Yeah, it definitely seems to be working better now, including with groups/host-templates that I name. I’m not sure what was happening the other day.

    One thing which seems like a bug: if I’m in a group and I navigate to Membership to then search for and add additional hosts, it only adds one at a time even if I click the checkbox for multiple.

  • Problem laying image on a virtual machine

    Solved
    27
    0 Votes
    27 Posts
    8k Views
    D

    @george1421 @Sebastian-Roth @Quazz

    Thanks George, I tried to use your unattend file, but it kept bluescreening on the host once imaged, so I tried creating a new one today and it worked fine. I probably didn’t change enough things in it, and missed something important, but I got around it now.

    I greatly appreciate all the help you kind folks have provided. It is very much appreciated. I couldn’t have gotten to this point without it,

    Dave

  • Another Domain Join Issue

    Solved
    44
    0 Votes
    44 Posts
    18k Views
    george1421G

    @ayy_nelson said in Another Domain Join Issue:

    Is there a way to join domain AND change the name?

    Yes there is. In my case I don’t use the FOG Client at all for regulatory reasons. So I do everything in the unattend.xml file. My unattend.xml file connect the computer to AD as well as sets its host name. I do this using a FOG Post install script that connects to the windows 😄 drive just after the image is copied, updates the unattend.xml file with deploy time data, and finally disconnects from the 😄 drive before FOG finishes its deploy sequence.

    The post install script how to is covered here: https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed

    You are probably most interested in the “fog.updateunattend” script. I know the sed scripts will melt your brain, but that’s where all of the action is. They search for the key word(s) then replace the key words with the keywords + the proper values.

    Here is a sanatized version of my unattend.xml script. I’m using the same one for Win10 1903 as I used for Win7. https://forums.fogproject.org/topic/11920/windows-10-1803-sysprep-problem/7 The point is if its in a text file and can be searched by sed the value(s) can be replaced by sed

  • ChainLoading failed UEFI BOOT

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    T

    @Trev-lchs uploaded image with no issue, I love Fog. I have been using it since 2006 not an expect by any means and i have no knowledge of Linux, but the online info is great and makes it possible for a Windows man to make it work.

  • Your database connection appears to be invalid

    Solved
    23
    0 Votes
    23 Posts
    11k Views
    T

    @Trev-lchs oh and sorry this was on Unbuntu 16.04 with Fog 1.3.0

  • TFTP issues with brand new build

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    george1421G

    The issue ended up being a configuration problem with the dhcp server. Once that was straightened out the target system pxe booted like expected.

  • Can not deploy using multicast - read image_hdr block_size error

    Solved
    25
    0 Votes
    25 Posts
    6k Views
    R

    @george1421

    thank you george, the current switch is unmanaged, it’s a simple switch. There is not much in the specification of the switch, so I bet that switch is the problem.
    All PCs are the same and support WOL and on the old switch they all turn on, but I will check it, maybe one of the students has changed something in the BIOS

  • Snappins don't work

    Solved
    3
    0 Votes
    3 Posts
    422 Views
    EduardoTSeoaneE

    Hi @chaddarnold @Quazz

    1º.- As @Quazz said, use the Reset Encryption Data Button for the host/group in UI.
    2º.- Delete the token.dat file on the Fog Client folder directory if it exists.
    3º.- If you install Fog Client on the image be sure to image the computer with that file deleted, better if you automate the client installation on the first boot.

    Make your install script with this recommended commands:

    msiexec /i "C:\NewClientInstaller" /quiet USETRAY="0" HTTPS="0" WEBADDRESS="YourFOGAddress" WEBROOT="/fog" ROOTLOG="1" sc.exe config FOGService start=delayed-auto sc.exe failure FOGService actions= restart/60000/restart/60000/restart/ reset= 120 net start FOGService
  • Not really and Problem and not really a Feature request....

    Solved
    3
    0 Votes
    3 Posts
    338 Views
    A

    @Tom-Elliott

    I guess I just see this as a UI quirk. I’ve found typically with radio buttons that are linked its one or the other and not removeable, and for a situation like this would just have a none option rather than be removed.

170

Online

12.4k

Users

17.4k

Topics

155.9k

Posts