• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. AndrewG78
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 70
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      @george1421
      Thx. There is something new. We have progress and regress at the same time.
      Looks like adding pxe-service did the job.
      I got FOG menu.
      0_1534941669815_dcf7fa02-3c14-408b-b790-0b19848ef48e-image.png
      When I select host registration I got:
      0_1534941730069_e76843b5-0af7-47a4-8e18-e39c44c40e0c-image.png
      And after (3) seconds
      0_1534941785699_765702a6-05be-4f4b-b71f-54ade08005f9-image.png
      When I select bot from disk
      0_1534941844936_6016403c-761c-4177-ab32-db68b43de13a-image.png
      And the regression
      I’m unable to load FOG from PXE on my old regular BIOS machines.
      They were working fine before I enabled these pxe-service lines

      posted in Hardware Compatibility
      A
      AndrewG78
    • RE: Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      @george1421
      I use dnsmasq since a year or so, without any issues on regular Windows machines in the network with DHCP server.
      My config

      port=0
      
      # Log lots of extra information about DHCP transactions.
      log-dhcp
      
      # Set the root directory for files available via FTP.
      tftp-root=/tftpboot
      
      # The boot filename, Server name, Server Ip Address
      dhcp-boot=undionly.kpxe,,172.18.147.206
      dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,172.18.147.206
      dhcp-boot=net:UEFI64,ipxe.efi,,172.18.147.206
      dhcp-boot=net:UEFI,ipxe.efi,,172.18.147.206
      
      # Disable re-use of the DHCP servername and filename fields as extra
      # option space. That's to avoid confusing some old or broken DHCP clients.
      dhcp-no-override
      
      dhcp-vendorclass=BIOS,PXEClient:Arch:00000
      dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
      dhcp-vendorclass=UEFI,PXEClient:Arch:00007
      dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
      
      # PXE menu.  The first part is the text displayed to the user.  The second is t$
      pxe-prompt="Booting FOG Client", 1
      
      # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
      # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
      # This option is first and will be the default if there is no input from the us$
      #pxe-service=X86PC, "Boot to FOG", undionly
      #pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe
      #pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe
      
      dhcp-range=172.18.147.206,proxy
      
      posted in Hardware Compatibility
      A
      AndrewG78
    • RE: Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      The blue one(from my post) says ‘boot failed’ but there is some communication to dnsmasq as I understand from logs…

      posted in Hardware Compatibility
      A
      AndrewG78
    • Tablet with WINDOWS 10 and USB-LAN SMC 7500 adapter

      I have some not standard tablet(WINDOWS 10).
      It supports both USB and PXE.
      I have docking station with USB -LAN SMC 7500, but it is recognized as network card in BIOS and I can select it to boot through the PXE.
      It even connects to FOG server, but then I got EFI PXe boot error.
      I was trying a few different efi kernels, and even downloaded
      http://ww1.microchip.com/downloads/en//softwarelibrary/obj-lan95xx-uefi/lan95xx_7500_uefi_driver_0.10.zip
      to test SmscUsbNetDriver.efi

      logs:
      I put dots(…) in the places whre MAC address was shown
      "
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 PXE(ens160) 70… proxy
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 tags: UEFI32, ens160
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 bootfile name: i386-efi/ipxe.efi
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 next server: 172.18.147.206
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 broadcast response
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 1 option: 53 message-type 2
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 4 option: 54 server-identifier 172.18.147.206
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 17 option: 97 client-machine-id 00…
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 2705516733 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 2705516733 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 PXE(ens160) 70… proxy
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 tags: UEFI32, ens160
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 bootfile name: i386-efi/ipxe.efi
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 next server: 172.18.147.206
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 1 option: 53 message-type 5
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 4 option: 54 server-identifier 172.18.147.206
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 17 option: 97 client-machine-id 00…
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 25 option: 43 vendor-encap 06…
      "
      First screen: I have to make a short movie to catch this. It is displayed for about 0.5s in top left corner
      0_1534853053882_3bb8f259-b722-48d4-8141-bb8164e197b3-image.png
      This short message is displayed on the center of the screen.
      I just blurred my MAC address
      0_1534853066656_0f2e072d-2a7c-404d-8a9c-dba93592e99e-image.png

      posted in Hardware Compatibility
      A
      AndrewG78
    • RE: Booting to FOG from EFI shell (for imaging windows tablets, intel compute sticks, Intel Atom SoC devices, USB ethernet adapters, and other UEFI based computers that don't boot to the network standard)

      @george1421
      Yes it supports both USB and PXE.
      I have docking station with USB -LAN SMC 7500, but it is recognized as network card in BIOS and I can select it to boot through the PXE.
      It even connects to FOG server, but then I got EFI PXe boot error.
      I was trying a few different efi kernels, and even downloaded
      http://ww1.microchip.com/downloads/en//softwarelibrary/obj-lan95xx-uefi/lan95xx_7500_uefi_driver_0.10.zip
      to test SmscUsbNetDriver.efi

      logs:
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 PXE(ens160) 70… proxy
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 tags: UEFI32, ens160
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 bootfile name: i386-efi/ipxe.efi
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 next server: 172.18.147.206
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 broadcast response
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 1 option: 53 message-type 2
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 4 option: 54 server-identifier 172.18.147.206
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
      Aug 20 10:55:28 localhost dnsmasq-dhcp[9463]: 2705516733 sent size: 17 option: 97 client-machine-id 00…
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 2705516733 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 2705516733 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 available DHCP subnet: 172.18.147.206/255.255.255.0
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 vendor class: PXEClient:Arch:00006:UNDI:003001
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 PXE(ens160) 70… proxy
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 tags: UEFI32, ens160
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 bootfile name: i386-efi/ipxe.efi
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 next server: 172.18.147.206
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 1 option: 53 message-type 5
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 4 option: 54 server-identifier 172.18.147.206
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 17 option: 97 client-machine-id 00…
      Aug 20 10:55:31 localhost dnsmasq-dhcp[9463]: 109533102 sent size: 25 option: 43 vendor-encap 06…
      0_1534853053882_3bb8f259-b722-48d4-8141-bb8164e197b3-image.png
      0_1534853066656_0f2e072d-2a7c-404d-8a9c-dba93592e99e-image.png

      posted in Tutorials
      A
      AndrewG78
    • RE: Booting to FOG from EFI shell (for imaging windows tablets, intel compute sticks, Intel Atom SoC devices, USB ethernet adapters, and other UEFI based computers that don't boot to the network standard)

      Hi, is this method still the best possible one?
      I have docking station with SMC LAN 7500 built in and there is efi shell available in my tablet.
      I’m looking also some way to automate the process, have u succeeded in this area?

      posted in Tutorials
      A
      AndrewG78
    • RE: Windows 10 version 1607 resize issue

      I captured 1803 as a single disk NOT resizable and succesfully deployed it to another machine.
      Looks like problem with extra partitions.
      I will try to delete them through gparted on Monday and see the result.
      cheers

      posted in Windows Problems
      A
      AndrewG78
    • RE: Allowed memory size of 536870912 bytes exhausted

      @tom-elliott big thanks!
      It helped. Problem is resolved.
      However, please do check why is the huge history making such a big memory leakage.
      thx again

      posted in FOG Problems
      A
      AndrewG78
    • RE: Windows 10 version 1607 resize issue

      @george1421
      Bitlocker is OFF
      But I think problem might be with partitions.
      I think FOG when was imaging, did not mount all 5 partitions.
      Is this proper partition structure in Windows 10?
      0_1533939153960_0ff4d88b-ddf2-4733-a9d0-1aabd6ba1393-image.png

      posted in Windows Problems
      A
      AndrewG78
    • RE: Allowed memory size of 536870912 bytes exhausted

      OK. I think I found the reason.
      Last 4 machines have more then 1 year of imaging history.
      There are a lot of records.
      Is there any way to delete snapin and imaging history ?

      posted in FOG Problems
      A
      AndrewG78
    • RE: Allowed memory size of 536870912 bytes exhausted

      @george1421
      2x vCPU, 4GB RAM
      20 computers
      Interval check was not changed, so it’s default one
      Only one www.conf
      I set pm.max_requests = 2000
      When I set memory_limit to 512M I can work, but some pages are very slow.
      THis is quite strange.
      When I click first 14 computer to edit, the HOST manahement Edit opens in 1s.
      But last 4(of 20) computers responds very slowly. Page is loading 20s or even longer.
      Same when I click on Tasks from main menu. Sometimes page is not loaded at all, but when I click again after 20 or more seconds it pops up.
      0_1533938222847_1afbc399-161b-4f35-ab68-f6d61979199f-image.png

      When I set 256M I got this
      0_1533938259167_d4a43429-8203-4553-9834-0a41890a7064-image.png

      posted in FOG Problems
      A
      AndrewG78
    • RE: Windows 10 version 1607 resize issue

      I captured without any preparation.
      No driver handling. No sysprep.
      Working on single machine at the moment.
      I have MBR, captured as single disk resizable.
      When I use Clonezilla, I do not have any issues.
      I just upgraded to 1803 and I will try to capture one more time in single disk NOT resizable mode this time.

      posted in Windows Problems
      A
      AndrewG78
    • RE: Allowed memory size of 536870912 bytes exhausted

      Hi,
      Thx for the suggestion. I applied it, but is is even worse now. Page stopped loading half the way.
      I think I should mention I host my FOG server on Vmware

      posted in FOG Problems
      A
      AndrewG78
    • Allowed memory size of 536870912 bytes exhausted

      FOG 1.5.4
      Linux: CENTOS 7
      PHP 7.2.8
      FPM/FastCGI : Enabled
      I was unable to work on 1.5.4 until I changed memory_limit from 128 to 512M in php.ini
      I can work with 1.5.4 now, but some pages are loading extremely slow and I keep getting errors in php-fpm file
      "
      [10-Aug-2018 16:28:23 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 10489856 bytes) in /var/www/html/fog/lib/router/route.class.php on line 1059
      "
      Is there some known memory leakage bug or I missed something?

      posted in FOG Problems
      A
      AndrewG78
    • RE: Can php-fpm make fog web-gui fast

      HI,
      I recently upgraded FOG to 1.5.4 and php to 7.2.8
      When I try memcache with
      session.save_handler] = memcached
      I got this in logs
      "
      [10-Aug-2018 16:15:49 UTC] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /var/www/html/fog/lib/fog/user.class.php on line 503
      [10-Aug-2018 16:15:49 UTC] PHP Warning: session_start(): Cannot find save handler ‘memcached’ - session startup failed in /var/www/html/fog/lib/fog/user.class.php on line 505
      [10-Aug-2018 16:15:52 UTC] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /var/www/html/fog/lib/fog/user.class.php on line 503
      [10-Aug-2018 16:15:52 UTC] PHP Warning: session_start(): Cannot find save handler ‘memcached’ - session startup failed in /var/www/html/fog/lib/fog/user.class.php on line 505
      "
      I can see login screen only, but I’m not able to login
      when I switch to
      session.save_handler] = memcache
      page is loading, but there is no any improvement. I still have to wait 5-10 secs to open e.g. HOST details or tasked snappins

      posted in General Problems
      A
      AndrewG78
    • Windows 10 version 1607 resize issue

      I have recently upgraded my FOG from 1.4.4 to 1.5.4 to have Windows 10 support.
      I can do snapshot of W10, but when I try to deploy image to the same machine I got this error on a blue screen:
      Recovery
      Your PC/Device needs to be repaired
      A required device isn’t connected or can’t be accessed.
      Error code: 0xc00000225
      You’ll need to user recovery tools. If you don’t have any installation media (like a disc or USB device), contact your PC administrator or PC/Device manufacturer.

      Looks like it is related to partition resize function.
      Any solution for this?

      posted in Windows Problems
      A
      AndrewG78
    • RE: API

      @wayne-workman
      Thx. I figured out where was the issue. Maybe this info will help somebody.
      I use curl under Windows, but command line doesn’t support single quotes '.
      I used " and had to escape inner ones
      –data “{\“hostID\”:13}”

      posted in General
      A
      AndrewG78
    • RE: Can I use some kind of script to create image and ghost my lab machines

      Hi @wayne-workman
      When I use your example to Get task status of host ID 1,
      I always receive status of all hosts, but not the particular one.
      Could you help here?
      I’m on 1.4.4
      regards

      posted in FOG Problems
      A
      AndrewG78
    • RE: API

      Hi, Could you please share an example of query to obtain list of active tasks per given GROUP ID?
      I just want to check if all multicast jobs are done in a specific group.
      Thx.

      posted in General
      A
      AndrewG78
    • RE: Can I use some kind of script to create image and ghost my lab machines

      @Tom-Elliott
      Actually I tried your suggestion and have some issue.
      curl -vvv --header “Content-Type: application/json” --header “fog-api-token: <my_token>” --header “fog-user-token:<my_token>” -X POST --data ‘{“taskTypeID”: 8}’ http://<IP>/fog/group/3/task

      • upload completely sent off: 13 out of 13 bytes
        < HTTP/1.1 501 Not Implemented
        < Date: Thu, 14 Sep 2017 07:59:06 GMT
        < Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.31
        < X-Powered-By: PHP/5.6.31
        < X-Frame-Options: sameorigin
        < X-XSS-Protection: 1; mode=block
        < X-Content-Type-Options: nosniff
        < Strict-Transport-Security: max-age=31536000
        < Content-Security-Policy: default-src ‘none’;script-src ‘self’ ‘unsafe-eval’;co
        nnect-src ‘self’;img-src ‘self’ data:;style-src ‘self’ ‘unsafe-inline’;font-src
        ‘self’;
        < Access-Control-Allow-Origin: *
        < Content-Length: 42
        < Connection: close
        < Content-Type: application/json
        <
        { “error”: “Invalid tasking type passed”
        }* Closing connection 0

      but GET method works perfectly
      curl --header “Content-Type: application/json” --header “fog-api-token: <my_token>” --header “fog-user-token: <my_token>” --data ‘{“hostID”:13}’ -X GET http://<IP>/fog/task/active

      • upload completely sent off: 13 out of 13 bytes
        < HTTP/1.1 200 OK
        < Date: Thu, 14 Sep 2017 08:02:15 GMT
        < Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.31
        < X-Powered-By: PHP/5.6.31
        < X-Frame-Options: sameorigin
        < X-XSS-Protection: 1; mode=block
        < X-Content-Type-Options: nosniff
        < Strict-Transport-Security: max-age=31536000
        < Content-Security-Policy: default-src ‘none’;script-src ‘self’ ‘unsafe-eval’;co
        nnect-src ‘self’;img-src ‘self’ data:;style-src ‘self’ ‘unsafe-inline’;font-src
        ‘self’;
        < Access-Control-Allow-Origin: *
        < Content-Length: 27
        < Connection: close
        < Content-Type: application/json
        <
        { “count”: 0, “tasks”: []
        }* Closing connection 0
      posted in FOG Problems
      A
      AndrewG78
    • 1
    • 2
    • 3
    • 4
    • 3 / 4