• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jmeyer
    J
    • Profile
    • Following 0
    • Followers 1
    • Topics 58
    • Posts 296
    • Groups 0

    jmeyer

    @jmeyer

    30
    Reputation
    1.8k
    Profile views
    296
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    jmeyer Unfollow Follow

    Best posts made by jmeyer

    • RE: FOG 1.4.0 Officially Released

      Great work !! :clap_tone1:

      posted in Announcements
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @george1421

      I just made a .bat with this inside and it looks to work fine.

      @echo off
      msiexec /qn /x "FOG Service Installer.msi"
      msiexec /qn /i "FOGService.msi"
      

      Thank you.

      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman I’ll work a bit more on the script.
      edit :

      IF %PROCESSOR_ARCHITECTURE%==AMD64 set programpath=%programfiles(x86)%
      IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles%
      IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END
      set FogServerIP=fogserver
      set GetID=wmic product where "Version like '3.0.29' and name like 'FOG Service'" get IdentifyingNumber
      for /F "skip=1 delims=" %%i in ('%GetID%') do if not defined ID set "ID=%%i"
      IF "%ID%" NEQ "" start /wait msiexec /x %ID% /q
      start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi
      start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%"
      :END
      

      This should works but I don’t know wwhy my download end in queue when there is nothing else to do and I can’t install client silently… I love computers…

      posted in FOG Problems
      J
      jmeyer
    • RE: Send message to Slack

      @sourceminer Hello, I never tested using a channel but using a private message works fine with test token.
      You can also create your bot : https://my.slack.com/services/new/bot

      0_1485790486968_Sans titre.jpg

      Here is my conf :
      0_1485790863612_Sans titre3.jpg
      0_1485790596846_Sans titre2.jpg

      posted in Feature Request
      J
      jmeyer
    • WAPT snapins

      Hello,
      I am working on WAPT packages import directly in snapins.
      I am writing single line powershell script to rename to zip, extract to directory, find command and run it.

      This is my first test script for VLC from windows :

      $packwapt = "tis-vlc_3.0.16-12_x64_windows_0f4137ed1502b5045d6083aa258b5c42_5.1_PROD.wapt";
      $packname = [System.IO.Path]::GetFileNameWithoutExtension($packwapt);
      Copy-Item $packwapt $packname".zip";
      Expand-Archive -LiteralPath $packname".zip" $packname;
      Remove-Item $packname".zip";
      $s = Get-Content -Path $packname"\setup.py" | Select-String -Pattern "silentflags = ";
      if ($s -ne $null) {
      	$s=[regex]::matches($s,'(?<=\").+?(?=\")').value;
      	Get-ChildItem -Filter $packname"\*.exe" | ForEach {&$_.Fullname $s}
      };
      Remove-Item $packname –recurse;
      

      I’m not sure where I am going and if this is useful… lol

      posted in Tutorials
      J
      jmeyer
    • RE: New FOG client shutdown

      @Jbob It’s working.

      I found something else.
      In the MSI détails, I don’t have the right version displayed.
      It’s write : {16B0BCD7-423F-49A9-B757-E457D7312A33}

      Can you display version during install ?

      Shouldn’t we be able to update client from tray or from GUI ?
      I didn’t find how do this without overwriting.

      0_1449648307194_Sans titre.jpg

      posted in Bug Reports
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 Just found proxy in ~/.bashrc
      I run install again.

      posted in FOG Problems
      J
      jmeyer
    • RE: WAPT snapins

      I have review my first idea.
      I have used Snapin Pack.
      Zip the wapt and the ps1 script and it’s working for VLC WAPT package.

      Get-ChildItem -Filter '*.wapt' | ForEach {
      	Set-Variable -Name packwapt -Value $_.Fullname
      	Set-Variable -Name packname -Value $packwapt.Substring(0,$packwapt.Length-5)
      	Copy-Item $packwapt $packname'.zip'
      	Expand-Archive -LiteralPath $packname'.zip' $packname
      	Set-Variable -Name s -Value (Get-Content -Path $packname'\setup.py' | Select-String -Pattern 'silentflags = ')
      	if ($s -ne $null) {
      		Set-Variable -Name s -Value ([regex]::matches($s,'(?<=\").+?(?=\")').value)
      		Get-ChildItem -Path $packname -Filter '*.exe' | ForEach {
      			Start-Process -FilePath $_.Fullname $s -Wait;
      		}
      	}
      }
      

      Snapin-General.png

      posted in Tutorials
      J
      jmeyer
    • RE: Fog 1.6 - Kernel Panic

      @Sebastian-Roth
      I make new install of Fog under Debian.
      I was using Ubuntu years ago so it’s old install (3 years old).

      I have been testing Fog version since years with Tom.
      And as i work with VM, i can revert change easily.

      posted in Bug Reports
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 Was this !! But needed a reboot after.

      Thank you very much to all of you. 😄

      posted in FOG Problems
      J
      jmeyer

    Latest posts made by jmeyer

    • RE: FOG Secure Boot with Shim

      @Tom-Elliott
      Something isn’t working well for me.
      I can’t get iPXE menu when secureboot is enable and secureboot/snponly-shimx64.efi is set.

      On a Lenovo ThinkPad E16 Gen 1, I only have this :
      9b9dee1d-92da-4baf-9afc-0e60d4f74b01-image.png

      I acces on iPXE menu a Lenovo ThinkBook 15-IIL but yet I think MOK.DER isn’t registering well even with an usb key connected formatted in fat32 with the 3 files.
      94105339-cff4-4e2f-a839-eb0977c8c936-vlcsnap-2026-08-26-09h50m19s364.png https://streamable.com/v6wyus

      posted in Tutorials
      J
      jmeyer
    • RE: FOG Secure Boot with Shim

      Using “secureboot/snponly-shimx64.efi” without secureboot works like snponly.efi ?

      Could it be possible to add a very lightweight OS such as Tiny Core Linux with enrolment kit inside (or that get it from web link) that would enrol key automatically via pxe menu ? 🙄 😅

      posted in Tutorials
      J
      jmeyer
    • RE: FOG Secure Boot with Shim

      I remplaced grubx64 by grubnetx64 (not sure if needed but was recommanded for PXE) and create a “grub” directory in tftpboot with “grub.cfg” inside.
      Grub signed look for cfg file in a subdir called “grub” by default.

      cp /usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed /tftpboot/grubx64.efi
      mkdir /tftpboot/grub
      chmod -R a+rX /tftpboot/grub
      

      I get grub menu.

      update (10 am) :
      I copied snponly.efi in grub directory and signed it with the FOG-MOK key I generated before.

      sbsign --key /root/secureboot/FOG-MOK.key --cert /root/secureboot/FOG-MOK.crt /tftpboot/snponly.efi --output /tftpboot/grub/snponly.efi
      

      I end with “error ; bad shim signature”.
      I think I need to import the key on the computer with command “mokutil --import /chemin/vers/FOG-MOK.der”

      I keep on searching…

      2nd update (12:30 am):

      To enroll key :

      cp /usr/lib/shim/mmx64.efi.signed /tftpboot/mmx64.efi
      

      and in tftpboot/grub/grub.cfg

      menuentry 'Enroll MOK' {
          insmod tftp
          insmod chain
          chainloader (tftp,192.168.69.10)/mmx64.efi
          boot
      }
      
      menuentry 'Boot FOG (iPXE)' {
          insmod efinet
          insmod tftp
          insmod chain
          net_bootp
          chainloader (tftp,192.168.69.10)/grub/snponly.efi
          boot
      }
      

      Copy the .der on usb key, put it on the computer, run “Enroll MOK” in pxe grub menu then “Enroll from disk”
      Reboot and run “Boot FOG” in pxe menu.

      And at least I have the FOG menu ! 😎
      I think I’m in the right way. 😅

      Let’s keep on working.

      posted in Tutorials
      J
      jmeyer
    • RE: FOG 1.6.0-beta.2644 DHCP

      @Tom-Elliott no, i have bypass dhcp configuration during install.

      posted in FOG Problems
      J
      jmeyer
    • RE: FOG Secure Boot with Shim

      Here is my first steps.

      Install signing tools on your FOG server

      apt update
      apt install sbsigntool openssl mokutil
      

      Install shim & grub

      apt install shim-signed grub-efi-amd64-signed
      cp /usr/lib/shim/shimx64.efi.signed /tftpboot/shimx64.efi
      cp /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed /tftpboot/grubx64.efi
      

      I end with this at PXE boot :
      9bc4ee10-4d23-4310-985a-2f77069082f2-image.png

      Shim signature give this : (sbverify --list shimx64.efi)

      warning: data remaining[831016 vs 957136]: gaps between PE/COFF sections?
      signature 1
      image signature issuers:
       - /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation UEFI CA 2011
      image signature certificates:
       - subject: /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Windows UEFI Driver Publisher
         issuer:  /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation UEFI CA 2011
       - subject: /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation UEFI CA 2011
         issuer:  /C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation Third Party Marketplace Root
      

      and grub sinature return :

      signature 1
      image signature issuers:
       - /CN=Debian Secure Boot CA
      image signature certificates:
       - subject: /CN=Debian Secure Boot Signer 2022 - grub2
         issuer:  /CN=Debian Secure Boot CA
      

      I tried creating MOK key but I’m stuck with security violation :

      mkdir /root/secureboot
      cd /root/secureboot
      openssl req -new -x509 -newkey rsa:2048 -keyout FOG-MOK.key -out FOG-MOK.crt -nodes -days 3650 -subj "/CN=FOG Secure Boot/"
      openssl x509 -in FOG-MOK.crt -outform DER -out FOG-MOK.der
      

      FOG-MOK.key <-- private key (protect!)
      FOG-MOK.crt
      FOG-MOK.der <-- enroll this on clients

      Sign ipxe.efi and rename it to grubx64.efi

      cd /tftpboot
      cp ipxe.efi ipxe.efi.original
      sbsign --key /root/secureboot/FOG-MOK.key --cert /root/secureboot/FOG-MOK.crt /tftpboot/ipxe.efi --output /tftpboot/ipxe-signed.efi
      cp ipxe-signed.efi grubx64.efi
      

      I think I need to work more and as Fog default exit type is refind, I’ll make more research.

      posted in Tutorials
      J
      jmeyer
    • RE: FOG 1.6.0-beta.2644 DHCP

      @Tom-Elliott

      drwxr-x— 2 _kea _kea 4096 8 juil. 12:39 /etc/kea
      total 12
      drwxr-x— 2 _kea _kea 4096 8 juil. 12:39 .
      drwxr-xr-x 81 root root 4096 8 juil. 11:31 …
      -rw-rw-r-- 1 root root 2236 8 juil. 12:39 kea-dhcp4.conf

      PRETTY_NAME=“Debian GNU/Linux 13 (trixie)”
      NAME=“Debian GNU/Linux”
      kea-dhcp4
      kea-lfc
      /usr/sbin/kea-dhcp4 (938) kea-dhcp4

      I don’t have error log anymore.

      posted in FOG Problems
      J
      jmeyer
    • FOG 1.6.0-beta.2644 DHCP

      Hello,
      I have installed FOG 1.6.0-beta.2644 with DHCP.
      I end with

      Setting up and starting DHCP Server (Kea)...................Failed
      Kea base configuration failed validation (kea-dhcp4 -t); see /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.2644.log
      

      Error logs :

      '/etc/kea/kea-dhcp4.conf' <-> '/etc/kea/kea-dhcp4.conf.1783500988' renommé
      Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.conf
      

      This break TFTP directory creation even with the -X option.

      Looks to come from Kea.

      root@FOGSERVERDEV:~/fogproject/bin# kea-dhcp4 -t /etc/kea/kea-dhcp4.conf
      Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.conf
      

      Temporary fix is to run a second time installfog.sh and put a # before “configureDHCP”.

      posted in FOG Problems
      J
      jmeyer
    • RE: FOG Secure Boot with Shim

      @Florent @KMEH
      First problem I see in the ipxe release is “x86-64 UEFI Secure Boot only”.
      So, if SB is not enable, it doesn’t work at all ?
      It also means that we need to make a SB check to say what efi file the computer need to use ?

      I’ll have some time this week, I’ll try make some tests.

      posted in Tutorials
      J
      jmeyer
    • RE: FOG Secure Boot with Shim

      I don’t understand well everything but maybe it’s more complex than this and I understand nothing at all. haha

      On my server I have a “shimx64.efi” in “/boot/efi/EFI/debian/” can I use it directy or I must install shim-signed and use the shimx64.efi.signed ?

      posted in Tutorials
      J
      jmeyer
    • RE: No pending host

      Hello,

      It’s working again.
      I have update to the last version (1.6.0-beta.2273) but I’m not sure it’s fixed with this.
      I have also clean DB using this : https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL#Database_Maintenance_Commands

      Thank you.

      posted in FOG Problems
      J
      jmeyer