• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jmeyer
    3. Best
    J
    • Profile
    • Following 0
    • Followers 1
    • Topics 53
    • Posts 277
    • Best 18
    • Controversial 0
    • Groups 0

    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
    • RE: WAPT snapins

      Caling powershell.exe doesn’t allow to set variable directly ($var=“test”).

      I had to use Set-Variable command but multi commands doesn’t work as expected since every line need a command.

      I’ll keep trying to work on this.

      posted in Tutorials
      J
      jmeyer
    • RE: [FOG 1.6] “Attempting to check in… Failed”

      @Sebastian-Roth Here are the 2 files :
      Export Hosts FOG Project.csv
      Export Groups FOG Project.csv

      Maybe you also need installed apps version or a full db backup ?

      After a week server was saying this and I had to force reboot.

      IMG_20200309_090137.jpg

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

      @Wayne-Workman Downloading the client from server wasn’t something I have think about. Nice one.
      It’s not “fog.ca.cer” that we should look for instead of “fog.ca” ?
      I don’t think to have %ProgramFiles(x86)% under my 32 bits OS ! 😛

      I go lunch and I’ll look at this part this afternoon if you don’t do it before me. 😉

      edit :

      IF %PROCESSOR_ARCHITECTURE%==amd64 SET programpath=Program Files ^(x86^)
      IF %PROCESSOR_ARCHITECTURE%==x86 SET programpath=Program Files
      IF NOT EXIST "%systemdrive%\%programpath%\FOG\fog.ca.cer" (
      set FogServerIP=fog-server
      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"
      setlocal
      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%"
      endlocal
      )
      

      “set” doesn’t look to work when put after “setlocal” for me so I have moved it upper…
      How are you sure that old client is version 3.0.29 ?

      posted in FOG Problems
      J
      jmeyer
    • Storage with NFS share on NetGear ReadyNAS

      Add NAS on the same network of the FOG server.
      In my case, FOG server has IP 192.168.0.50 and NAS has 192.168.0.55.

      On the ReadyNAS web interface

      • Add a share and select NFS protocol.
        9f2e0b61-e22f-4109-b8b8-9f9341ae1c65-image.png

      • Click on the
        bc4c565a-f944-40b0-a2ed-adf455de886b-image.png
        of the share to add allowed computer.

      • Enter the IP of the FOG server and clic Add
        3992f960-1a47-4963-8df0-ca1fb7c51456-image.png

      • On the FOG server, create a new image directory and mount your NAS share
        a86bbebd-6947-4418-80f7-1dc9f691b67d-image.png

      • Test write from FOG server
        6e5ea8db-1147-420e-86ee-0e815dbf727c-image.png

      You should see the new directory on the ReadyNAS web interface
      12f39e1f-3d0c-4d7c-bc28-c885d76bfd4b-image.png

      To mount it add FOG server boot, edit the /etc/fstab file and add this line

      192.168.0.55:/data/images /images2  nfs      defaults    0       0
      

      e7b3be57-677b-4bd9-afc5-de3b179adc5b-image.png

      • Reboot and check auto mount working (create a file or a directory as previous test from manual mount)

      • Change owner of the /images2 directory with command

      chown fogproject:root /images2
      
      • Edit or add your storage on FOG GUI to use it.
        a67d4de1-e25f-4cea-adb6-7e547a0c196c-Capture web_5-4-2023_17415_fogserver.jpeg

      • If you added a new storage node in the same storage group, you should see your images, dev and postdownloadscripts directories on NAS share after replication.
        dbf6da1b-2392-4670-b1f2-fe50622ccd11-image.png

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

      @Wayne-Workman

      Here is the new version using robza command for removing the old client that makes.
      We reduce a bit the size of the script this way and I just realized that one IF was useless.
      I hope I didn’t miss something because I am putting it in GPO ! lol

      ::v3.1 - Thanks to Wayne Workman, Robza
      set programpath=%programfiles(x86)%
      IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles%
      IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END
      set FogServerIP=fog-server
      start /wait wmic product where "Version like '3.0.29' and name like 'FOG Service'" call uninstall /nointeractive
      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
      

      Just found a bug on my side.
      Client 0.9.9 doesn’t remove or upgrade version 0.9.7 and I end with 2 “FOG Service” in add/remove software panel.
      Removing the 0.9.7 doesn’t impact the install of the 0.9.9.
      Maybe it’s something to add to script.

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

      @Wayne-Workman Upgrading to 0.9.7 was a very bad idea ! lol
      https://forums.fogproject.org/topic/6368/client-updater-loop

      Now i need to review the script to remove 0.9.7 and 0.9.9 is both are installed…
      Any idea how to do this ?

      I temporary did this since i have no other choice :

      ::v3.2 - Thanks to Wayne Workman, Robza
      start /wait wmic product where "Version like '0.9.7' and name like 'FOG Service'" call uninstall /nointeractive
      start /wait wmic product where "Version like '0.9.9' and name like 'FOG Service'" call uninstall /nointeractive
      set programpath=%programfiles(x86)%
      IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles%
      IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END
      set FogServerIP=fog-server
      start /wait wmic product where "Version like '3.0.29' and name like 'FOG Service'" call uninstall /nointeractive
      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
      
      posted in FOG Problems
      J
      jmeyer
    • RE: [FOG 1.5.9-RC2.11] No configuration methods succeeded

      @Sebastian-Roth We have find out that bios mode had to set to “Legacy Support” with priority on “UEFI First” and not with bios mode on “UEFI”.
      Problem wasn’t coming from FOG.

      Sorry and thank you for your help.

      posted in FOG Problems
      J
      jmeyer
    • RE: what USB can support iPXE boot

      @george1421
      Do you mean using brand adapteur certified for PXE such as :
      https://www.dell.com/en-us/shop/dell-adapter-usb-30-to-ethernet-pxe-boot/apd/443-bbbd/pc-accessories
      or
      https://www.lenovo.com/fr/fr/p/accessories-and-software/cables-and-adapters/cables-and-adapters_adapters/4x90s91831

      posted in FOG Problems
      J
      jmeyer
    • 1 / 1