Great work !! :clap_tone1:
Best posts made by jmeyer
-
RE: Remove Legacy client and replace with latest new client?
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.
-
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…
-
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/botHere is my conf :
-
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
-
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. -
RE: (SVN) Adding needed repository... Failed!
@george1421 Just found proxy in ~/.bashrc
I run install again. -
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; } } }
-
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. -
RE: (SVN) Adding needed repository... Failed!
@george1421 Was this !! But needed a reboot after.
Thank you very much to all of you.
Latest posts made by jmeyer
-
RE: Stuck at "ipxe initialising devices.." (Lenovo again)
@Tom-Elliott
Of course, it’s disabled. -
Stuck at "ipxe initialising devices.." (Lenovo again)
Hello,
I have 2 installations of FOG, one under version 1.5.10 and another under 1.6.0-alpha.
On the 1.5.0 I can boot on PXE on the 1.6.0-aplha I get stuck at “ipxe initialising devices…”
I have update kernels, rebuild efi files and I still don’t find what I have changed to fixe this or what can be different between the two installation.
I know it’s not snponly.efi since PXE start to load.
What are the next file use in the UEFI pxe boot process that could I have different from one installation to an other ?
Thank you. -
RE: Full registration customised
Do you think writing this in fog.man.reg after line
[[ $exists != "#!ok" ]] && handleError "Unable to register host: $exists ($0)\n Args Passed: $*"
could do it :
host="" imageid="999" blDoAD="Y" realdoimage=$(echo -n 1 | base64) res="" user64=$(echo "fog" | tr -d '\012' | base64) pass64=$(echo "password" | tr -d '\012' | base64) while [[ $res != "#!ok" ]]; do echo -n " * Enter hostname for this computer: " read host if [[ ${#host} -gt 15 ]]; then host=${host:0:15} echo " | Truncated to 15 characters: $host" usleep 2000000 fi host=$(echo $host | base64) res=$(curl -Lks --data "host=$host" ${web}service/hostnameloop.php 2>/dev/null) [[ $res != "#!ok" ]] && echo "$res" done dots "Attempting to register host" res="" while [[ -z $res ]]; do res=$(curl -Lks --data "sysuuid=${sysuuid}&mac=$mac&advanced=$(echo -n 1 | base64)&host=$host&imageid=$imageid&doimage=$realdoimage&doad=$blDoAD&username=$user64&password=$pass64" ${web}service/auto.register.php 2>/dev/null) echo "$res" usleep 2000000 done . /bin/fog.inventory usleep 2000000
-
Full registration customised
Hello,
I plan to create a custom full registration with only name asked.
I have read how to edit fog.man.reg but I wonder how i can change an image ID properly to 999 for exemple to set it by default in the registration and avoid to edit file again if I capture a new image.
I also look for setting a domain name and yes to deploy now instead of the “no” set by default.
Thank you for your help. -
RE: Error PXE-E18 - Lenovo ThinkPad E16
@george1421 I have run all test and first, there were a firewall rule that were blocking TFTP from the FOG server then after running more test, I realised that it’s not link to hardware or sofware on the server.
During test, I just changed the port on the switch next the computer to keep most of the hardware between server and client.
On same vlan I run at 450 Mbits/s (around 50 mo/s) and when I change vlan, I run at 150 Mb/s only.
And under 20 mo/s max with Windows TFTP client so I give up using it to run more tests.
Colleagues says there is not QOS but there is definitly something reducing the speed. -
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 -
RE: Error PXE-E18 - Lenovo ThinkPad E16
@george1421 I have created a 500mo file since most of original files are small in the FOG tftpboot directory and try to download it with Windows TFTP client.
It takes me around 10 to 15 min to download it.
I have also tested on ThinkPad E15 gen 4.
Is there a speed limit in TFTP ?On the E15 and the E16, it’s a Realtek RTL 8168 Series.
ID on E15 is PCI\VEN_10EC&DEV_8168&SUBSYS_50B117AA&REV_15
ID on E16 is PCI\VEN_10EC&DEV_8168&SUBSYS_50D517AA&REV_15edit : I have find out that Windows TFTP client is mess up with max speed.
I have reach 450Mb/s with Ivanti from PXE when I still stuck at less than 20 Mb/s with Windows TFTP client.
Another thing is that I have add FOG menu entry to download a file from Ivanti PXE (chain command) and I also download at only 6 Mb/s.
I’ll run more test directly from PXE diring the next days. -
RE: Error PXE-E18 - Lenovo ThinkPad E16
We found IPS rules (I think it’s the name) on the firewall that was blocking TFTP.
It’s now loading but terribly slow (average 6 Mb/s on a Gb link).
We will make more test today. -
RE: Error PXE-E18 - Lenovo ThinkPad E16
As said, no problem with legacy boot that use same configuration on dhcp (option 66 and 67) and use the same vlans.
I get well the IP then it give timeout.
I’m not on the same vlan but is there differences between legacy and efi or if one work, the other should ?
Maybe it’s rights between vlan that block only efi.
I’m not sure since when I have the problem but we changed switchs few weeks ago.I’ll put a wireshark tomorow to look what happen.
Thank you
-
Error PXE-E18 - Lenovo ThinkPad E16
Hello,
I have a timeout during pxe boot with an install of FOG (version 1.5.10.1622) on a Lenovo ThinkPad E16 gen 1.
SecureBoot is disabled.
I didn’t notice error with legacy boot on older computers and a tftp client under Windows can download the “.efi” files.
I tested with snponly.efi and ipxe.efi, same error.
My personnal FOG server under version 1.6.0 doesn’t give any error.
In other high school, I didn’t had problem with a FOG 1.5.10
I have download last kernel (6.6.49), the last Initrd (2024.02.5) and build ipxe file using the doc here : https://docs.fogproject.org/en/latest/kb/reference/compile_ipxe_binaries/ but problem is the same.
I’m out of idea.
Thank you for your help.