• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. AsGF2MX
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 36
    • Best 10
    • Controversial 0
    • Groups 0

    Posts made by AsGF2MX

    • RE: how to avoid being forced to have the internet cable plug in to start it up FOG ?

      @Beber55 Looking at your screenshot and the wording, the reason for the RJ45 needing to be plugged is that you’ve got it set to DHCP instead of static IP.

      For static IP, follow this guide: https://askubuntu.com/questions/766131/set-static-ip-ubuntu

      The other option is, if Virtual Box supports it, set the interface as NAT’d so that you get another DHCP locally on your PC. I’ve not used Virtual Box in ages so I can’t confirm this.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Compatibility check for X1 Carbon 2018

      @Sebastian-Roth said in Compatibility check for X1 Carbon 2018:

      @AsGF2MX said in Compatibility check for X1 Carbon 2018:

      I’m not using the default IP range on the fog server but the key seems to be using 192.x.x.x. I’m not sure how to get it to start imaging.

      When creating the USB key there is a variable you need to change… here is an excerpt of the script:

      ...
      echo Create the grub configuration file
      cat > /mnt/boot/grub/grub.cfg << 'EOF'
      
      set myfogip=192.168.1.100
      set myimage=/boot/bzImage
      set myinits=/boot/init.xz
      ....
      

      No need to recreate the USB key. Simply mount it and edit boot/grub/grub.cfg on that key. Put in your FOG server’s IP and you should be fine. Manually register the host’s MAC, then simply schedule a task for it and boot right into the task via USB.

      I do have to apologize for the delayed response as a lot happened:

      • Modified the USB, it did boot but would not image as it couldn’t detect the disk (odd)
      • I set up a new FOG server and had it try to capture the disk and it didn’t yield either (same PXE fail)
      • Been hunting for a native Ethernet dongle but with vendors disappearing left and right for X’mas I didn’t have much luck

      Having said that, I managed to snag a T480 dock from one of our users who is off till the end of the week and the T480 dock fits the X1 Carbon perfectly and will even allow the native Ethernet pass through - this seems to be specific to the 8th gen machines as my own T470 doesn’t want fit this dock.

      As I had expected, it works without any issue! My Fog 1.3.x works and the 1.5 is to be tested later.

      In case it helps what didn’t work due to the X1/USB dongle issue:

      • USB 3.0 Ethernet Adapter Model: RTL8153
      • USB-C Dock - Model DK1633
        Both would seize up BIOS/UEFI mode right after the iPXE load.

      What did work:

      • Thinkpad Pro Docking Station SD20R56775

      I just imaged the first X1. Though I didn’t get the fleet out for X’mas at least I should be able to get these out in time for the users to start with a fresh machine next year!

      Hopefully this insight helps.

      posted in Hardware Compatibility
      A
      AsGF2MX
    • RE: Compatibility check for X1 Carbon 2018

      @george1421 said in Compatibility check for X1 Carbon 2018:

      @AsGF2MX said in Compatibility check for X1 Carbon 2018:

      Well I’m now at the USB method and @george1421 thanks for the img. I got the usb to work. However I can’t remember the cli for the fog command. and the wiki page has the deploy section empty.

      Not sure why you need the debug command. You should schedule the task in the FOG server then usb boot the flash drive. Pick option 1 and it should boot into fos doing what ever the FOG server told it to do (capture/deploy).

      I’m not using the default IP range on the fog server but the key seems to be using 192.x.x.x. I’m not sure how to get it to start imaging.

      @AsGF2MX said in Compatibility check for X1 Carbon 2018:

      @george1421 said in Compatibility check for X1 Carbon 2018:

      Is there any chance to spin up a FOG 1.5.5 environment to see if the issue has already been resolved. 1.3.0 is somewhat old with old kernels and inits. Updating the kernel is not sufficient since you need the later inits too which are linked to the updated FOG server code.

      X1 Carbons (i7-vPro) 2018 and right after the ram disk downloads
      Can you explain this? is the ram disk you are talking about is the FOS init.xz file? Ensure that the firmware is up to date on the carbon devices. We’ve seen some pretty buggy firmware on early release systems that are addressed with firmware (BIOS) updates.

      It is the init.xz and the firmware is the latest - just built 1 week ago. I will have to re-check to see if there are any other updates. Is it just the kernel and init.xz that need to be swapped out? I did try to replace the pxe files with the latest one but it made no difference.

      1.5.5 is on the cards but originally not till the X1s are out in the field. Having said that I had a fleet of T480 units that got imaged with no issue.

      Unfortunately, I just stood up a 1.5.5 instance and even with no image and triggering a quick host register causes it to hang up. So I’m trying to see how to proceed.

      posted in Hardware Compatibility
      A
      AsGF2MX
    • RE: Compatibility check for X1 Carbon 2018

      @Sebastian-Roth I’m going to give the binaries a shot first.

      I’m in tough spot timing wise - let me give the binary method a go first and see if it works. If yes, I’ll fastrack the planned rebuild of the FOG box. If not, 2 units have to go out by Friday while I can withhold the rest a bit longer. Definitely keen on getting it working.

      @george1421 I should have mentioned in the original post it seems the 8th gen chips don’t play nice with legacy mode as it doesn’t even get as far as PXE booting - crashes out. Not sure exactly why as I have the I219 in 7th gen machines with no issue.

      Secure boot is the first thing I disable as pretty much my entire fleet is UEFI - a mix of 4th to 7th gen i5 chips and now 8th gen chips as well.

      I will keep the USB method as a plan C

      EDIT:
      Well I’m now at the USB method and @george1421 thanks for the img. I got the usb to work. However I can’t remember the cli for the fog command. and the wiki page has the deploy section empty.

      posted in Hardware Compatibility
      A
      AsGF2MX
    • RE: Compatibility check for X1 Carbon 2018

      @george1421 said in Compatibility check for X1 Carbon 2018:

      Is there any chance to spin up a FOG 1.5.5 environment to see if the issue has already been resolved. 1.3.0 is somewhat old with old kernels and inits. Updating the kernel is not sufficient since you need the later inits too which are linked to the updated FOG server code.

      X1 Carbons (i7-vPro) 2018 and right after the ram disk downloads
      Can you explain this? is the ram disk you are talking about is the FOS init.xz file? Ensure that the firmware is up to date on the carbon devices. We’ve seen some pretty buggy firmware on early release systems that are addressed with firmware (BIOS) updates.

      It is the init.xz and the firmware is the latest - just built 1 week ago. I will have to re-check to see if there are any other updates. Is it just the kernel and init.xz that need to be swapped out? I did try to replace the pxe files with the latest one but it made no difference.

      1.5.5 is on the cards but originally not till the X1s are out in the field. Having said that I had a fleet of T480 units that got imaged with no issue.

      posted in Hardware Compatibility
      A
      AsGF2MX
    • Compatibility check for X1 Carbon 2018

      I’ve just got a couple of X1 Carbons (i7-vPro) 2018 and right after the ram disk downloads, the machine freezes up and sits there before it auto reboots.

      I’ve tried using the USB Type-C dock and the USB adapters which were wrongly shipped. Still waiting on the native connector for the I219.

      I am unfortunately still running 1.3 so I have to ask if anyone has got this working and if so are there any special settings and which adapter are you using?

      posted in Hardware Compatibility
      A
      AsGF2MX
    • RE: Multicast config questions (FOG side) and issues and fixes

      @Wayne-Workman

      It actually prompted me to ask which interface to use. It had a default and gave me the option of picking another. So when asked I put in the ensXX entry. The FOG installer did pick this up correctly as I didn’t modify this afterwards.

      Actually the way I’ve set mine up is that I have internet access on one interface and the other ties to an unrouted VLAN. Everything assigned into this VLAN is destroyed in one way or another - either imaged or wiped with FOG.

      Log file snippet

      /usr/bin/lsb_release
      /bin/systemctl
      There was no interface with an active internet connection found.
      There was no interface with an active internet connection found.
      Reading package lists...
      Building dependency tree...
      Reading state information...
      software-properties-common is already the newest version (0.96.20.4).
      python-software-properties is already the newest version (0.96.20.4).
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      19 Oct 18:24:22 ntpdate[43191]: adjust time server 118.103.146.184 offset -0.031116 sec
      gpg: keyring `/tmp/tmpr942b0wr/secring.gpg' created
      gpg: keyring `/tmp/tmpr942b0wr/pubring.gpg' created
      gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
      gpg: /tmp/tmpr942b0wr/trustdb.gpg: trustdb created
      gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
      gpg: Total number processed: 1
      gpg:               imported: 1  (RSA: 1)
      OK
      Hit:1 http://hk.archive.ubuntu.com/ubuntu xenial InRelease
      Get:2 http://hk.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
      Hit:3 http://hk.archive.ubuntu.com/ubuntu xenial-backports InRelease
      Get:4 http://hk.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [408 kB]
      Get:5 http://hk.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [403 kB]
      Get:6 http://hk.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [345 kB]
      Get:7 http://hk.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [341 kB]
      Hit:8 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
      Get:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
      Fetched 1,688 kB in 1s (1,326 kB/s)
      Reading package lists...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.3).
      software-properties-common is already the newest version (0.96.20.4).
      python-software-properties is already the newest version (0.96.20.4).
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      19 Oct 18:24:39 ntpdate[43465]: adjust time server 118.103.146.184 offset -0.023868 sec
      Generating locales (this might take a while)...
        en_US.UTF-8... done
      Generation complete.
      gpg: keyring `/tmp/tmprqkb_8ft/secring.gpg' created
      gpg: keyring `/tmp/tmprqkb_8ft/pubring.gpg' created
      gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
      gpg: /tmp/tmprqkb_8ft/trustdb.gpg: trustdb created
      gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
      gpg: Total number processed: 1
      gpg:               imported: 1  (RSA: 1)
      OK
      Hit:1 http://hk.archive.ubuntu.com/ubuntu xenial InRelease
      Hit:2 http://hk.archive.ubuntu.com/ubuntu xenial-updates InRelease
      Hit:3 http://hk.archive.ubuntu.com/ubuntu xenial-backports InRelease
      Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
      Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
      Fetched 94.5 kB in 1s (89.1 kB/s)
      Reading package lists...
      ii  apache2        2.4.18-2ubuntu3.1 amd64        Apache HTTP Server
      ii  bc             1.06.95-9build1 amd64        GNU bc arbitrary precision calculator language
      ii  build-essential 12.1ubuntu2  amd64        Informational list of build-essential packages
      ii  cpp            4:5.3.1-1ubuntu1 amd64        GNU C preprocessor (cpp)
      ii  curl           7.47.0-1ubuntu2.1 amd64        command line tool for transferring data with URL syntax
      ii  g++            4:5.3.1-1ubuntu1 amd64        GNU C++ compiler
      ii  gawk           1:4.1.3+dfsg-0.1 amd64        GNU awk, a pattern scanning and processing language
      ii  gcc            4:5.3.1-1ubuntu1 amd64        GNU C compiler
      ii  gzip           1.6-4ubuntu1 amd64        GNU compression utilities
      ii  htmldoc        1.8.27-8ubuntu1 amd64        HTML processor that generates indexed HTML, PS, and PDF
      ii  lftp           4.6.3a-1build2 amd64        Sophisticated command-line FTP/HTTP/BitTorrent client programs
      ii  libapache2-mod-php7.0 7.0.12-1+deb.sury.org~xenial+1 amd64        server-side, HTML-embedded scripting language (Apache 2 module)
      ii  libc6:amd64    2.23-0ubuntu3 amd64        GNU C Library: Shared libraries
      ii  libcurl3:amd64 7.47.0-1ubuntu2.1 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
      ii  m4             1.4.17-5     amd64        macro processing language
      ii  mysql-client   5.7.15-0ubuntu0.16.04.1 all          MySQL database client (metapackage depending on the latest version)
      mysql-server-5.7
      mysql-server
      mysql-server-core-5.7
      ii  mysql-server   5.7.15-0ubuntu0.16.04.1 all          MySQL database server (metapackage depending on the latest version)
      ii  net-tools      1.60-26ubuntu1 amd64        NET-3 networking toolkit
      ii  nfs-kernel-server 1:1.2.8-9ubuntu12 amd64        support for NFS kernel server
      ii  openssh-server 1:7.2p2-4ubuntu2.1 amd64        secure shell (SSH) server, for secure access from remote machines
      ii  php7.0         7.0.12-1+deb.sury.org~xenial+1 all          server-side, HTML-embedded scripting language (metapackage)
      ii  php7.0-bcmath  7.0.12-1+deb.sury.org~xenial+1 amd64        Bcmath module for PHP
      ii  php7.0-cli     7.0.12-1+deb.sury.org~xenial+1 amd64        command-line interpreter for the PHP scripting language
      ii  php7.0-curl    7.0.12-1+deb.sury.org~xenial+1 amd64        CURL module for PHP
      ii  php7.0-fpm     7.0.12-1+deb.sury.org~xenial+1 amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
      ii  php7.0-gd      7.0.12-1+deb.sury.org~xenial+1 amd64        GD module for PHP
      php7.0-json
      ii  php7.0-json    7.0.12-1+deb.sury.org~xenial+1 amd64        JSON module for PHP
      ii  php7.0-ldap    7.0.12-1+deb.sury.org~xenial+1 amd64        LDAP module for PHP
      ii  php7.0-mbstring 7.0.12-1+deb.sury.org~xenial+1 amd64        MBSTRING module for PHP
      ii  php7.0-mcrypt  7.0.12-1+deb.sury.org~xenial+1 amd64        libmcrypt module for PHP
      php7.0-mysql
      ii  php7.0-mysql   7.0.12-1+deb.sury.org~xenial+1 amd64        MySQL module for PHP
      ii  php-gettext    1.0.11-2+deb.sury.org~xenial+1 all          read gettext MO files directly, without requiring anything other than PHP
      ii  sysv-rc-conf   0.99-7       all          SysV init runlevel configuration tool for the terminal
      ii  tar            1.28-2.1     amd64        GNU version of the tar archiving utility
      ii  tftpd-hpa      5.2+20150808-1ubuntu1 amd64        HPA's tftp server
      ii  tftp-hpa       5.2+20150808-1ubuntu1 amd64        HPA's tftp client
      ii  vsftpd         3.0.3-3ubuntu2 amd64        lightweight, efficient FTP server written for security
      ii  wget           1.17.1-1ubuntu1.1 amd64        retrieves files from the web
      ii  xinetd         1:2.3.15-6   amd64        replacement for inetd with many enhancements
      ii  zlib1g:amd64   1:1.2.8.dfsg-2ubuntu4 amd64        compression library - runtime
      Reading package lists...
      Building dependency tree...
      Reading state information...
      bc is already the newest version (1.06.95-9build1).
      build-essential is already the newest version (12.1ubuntu2).
      cpp is already the newest version (4:5.3.1-1ubuntu1).
      g++ is already the newest version (4:5.3.1-1ubuntu1).
      gawk is already the newest version (1:4.1.3+dfsg-0.1).
      gcc is already the newest version (4:5.3.1-1ubuntu1).
      gzip is already the newest version (1.6-4ubuntu1).
      lftp is already the newest version (4.6.3a-1build2).
      libc6 is already the newest version (2.23-0ubuntu3).
      m4 is already the newest version (1.4.17-5).
      net-tools is already the newest version (1.60-26ubuntu1).
      nfs-kernel-server is already the newest version (1:1.2.8-9ubuntu12).
      tar is already the newest version (1.28-2.1).
      tftp-hpa is already the newest version (5.2+20150808-1ubuntu1).
      tftpd-hpa is already the newest version (5.2+20150808-1ubuntu1).
      vsftpd is already the newest version (3.0.3-3ubuntu2).
      xinetd is already the newest version (1:2.3.15-6).
      zlib1g is already the newest version (1:1.2.8.dfsg-2ubuntu4).
      htmldoc is already the newest version (1.8.27-8ubuntu1).
      sysv-rc-conf is already the newest version (0.99-7).
      apache2 is already the newest version (2.4.18-2ubuntu3.1).
      curl is already the newest version (7.47.0-1ubuntu2.1).
      libcurl3 is already the newest version (7.47.0-1ubuntu2.1).
      mysql-client is already the newest version (5.7.15-0ubuntu0.16.04.1).
      mysql-server is already the newest version (5.7.15-0ubuntu0.16.04.1).
      openssh-server is already the newest version (1:7.2p2-4ubuntu2.1).
      wget is already the newest version (1.17.1-1ubuntu1.1).
      php-gettext is already the newest version (1.0.11-2+deb.sury.org~xenial+1).
      libapache2-mod-php7.0 is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-cli is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-fpm is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-curl is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-gd is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-ldap is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-mcrypt is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0 is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-json is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-mysql is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-bcmath is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      php7.0-mbstring is already the newest version (7.0.12-1+deb.sury.org~xenial+1).
      Calculating upgrade...
      The following packages will be upgraded:
        distro-info-data
      1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Need to get 4,006 B of archives.
      After this operation, 0 B of additional disk space will be used.
      Get:1 http://hk.archive.ubuntu.com/ubuntu xenial-updates/main amd64 distro-info-data all 0.28ubuntu0.2 [4,006 B]
      Fetched 4,006 B in 0s (330 kB/s)
      (Reading database ... 100362 files and directories currently installed.)
      Preparing to unpack .../distro-info-data_0.28ubuntu0.2_all.deb ...
      Unpacking distro-info-data (0.28ubuntu0.2) over (0.28ubuntu0.1) ...
      Setting up distro-info-data (0.28ubuntu0.2) ...
      ii  apache2        2.4.18-2ubuntu3.1 amd64        Apache HTTP Server
      ii  bc             1.06.95-9build1 amd64        GNU bc arbitrary precision calculator language
      ii  build-essential 12.1ubuntu2  amd64        Informational list of build-essential packages
      ii  cpp            4:5.3.1-1ubuntu1 amd64        GNU C preprocessor (cpp)
      ii  curl           7.47.0-1ubuntu2.1 amd64        command line tool for transferring data with URL syntax
      ii  g++            4:5.3.1-1ubuntu1 amd64        GNU C++ compiler
      ii  gawk           1:4.1.3+dfsg-0.1 amd64        GNU awk, a pattern scanning and processing language
      ii  gcc            4:5.3.1-1ubuntu1 amd64        GNU C compiler
      ii  gzip           1.6-4ubuntu1 amd64        GNU compression utilities
      ii  htmldoc        1.8.27-8ubuntu1 amd64        HTML processor that generates indexed HTML, PS, and PDF
      ii  lftp           4.6.3a-1build2 amd64        Sophisticated command-line FTP/HTTP/BitTorrent client programs
      ii  libapache2-mod-php7.0 7.0.12-1+deb.sury.org~xenial+1 amd64        server-side, HTML-embedded scripting language (Apache 2 module)
      ii  libc6:amd64    2.23-0ubuntu3 amd64        GNU C Library: Shared libraries
      ii  libcurl3:amd64 7.47.0-1ubuntu2.1 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
      ii  m4             1.4.17-5     amd64        macro processing language
      ii  mysql-client   5.7.15-0ubuntu0.16.04.1 all          MySQL database client (metapackage depending on the latest version)
      ii  mysql-server   5.7.15-0ubuntu0.16.04.1 all          MySQL database server (metapackage depending on the latest version)
      ii  mysql-server   5.7.15-0ubuntu0.16.04.1 all          MySQL database server (metapackage depending on the latest version)
      ii  net-tools      1.60-26ubuntu1 amd64        NET-3 networking toolkit
      ii  nfs-kernel-server 1:1.2.8-9ubuntu12 amd64        support for NFS kernel server
      ii  openssh-server 1:7.2p2-4ubuntu2.1 amd64        secure shell (SSH) server, for secure access from remote machines
      ii  php7.0         7.0.12-1+deb.sury.org~xenial+1 all          server-side, HTML-embedded scripting language (metapackage)
      ii  php7.0-bcmath  7.0.12-1+deb.sury.org~xenial+1 amd64        Bcmath module for PHP
      ii  php7.0-cli     7.0.12-1+deb.sury.org~xenial+1 amd64        command-line interpreter for the PHP scripting language
      ii  php7.0-curl    7.0.12-1+deb.sury.org~xenial+1 amd64        CURL module for PHP
      ii  php7.0-fpm     7.0.12-1+deb.sury.org~xenial+1 amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
      ii  php7.0-gd      7.0.12-1+deb.sury.org~xenial+1 amd64        GD module for PHP
      ii  php7.0-json    7.0.12-1+deb.sury.org~xenial+1 amd64        JSON module for PHP
      ii  php7.0-json    7.0.12-1+deb.sury.org~xenial+1 amd64        JSON module for PHP
      ii  php7.0-ldap    7.0.12-1+deb.sury.org~xenial+1 amd64        LDAP module for PHP
      ii  php7.0-mbstring 7.0.12-1+deb.sury.org~xenial+1 amd64        MBSTRING module for PHP
      ii  php7.0-mcrypt  7.0.12-1+deb.sury.org~xenial+1 amd64        libmcrypt module for PHP
      ii  php7.0-mysql   7.0.12-1+deb.sury.org~xenial+1 amd64        MySQL module for PHP
      ii  php-gettext    1.0.11-2+deb.sury.org~xenial+1 all          read gettext MO files directly, without requiring anything other than PHP
      ii  sysv-rc-conf   0.99-7       all          SysV init runlevel configuration tool for the terminal
      ii  tar            1.28-2.1     amd64        GNU version of the tar archiving utility
      ii  tftpd-hpa      5.2+20150808-1ubuntu1 amd64        HPA's tftp server
      ii  tftp-hpa       5.2+20150808-1ubuntu1 amd64        HPA's tftp client
      ii  vsftpd         3.0.3-3ubuntu2 amd64        lightweight, efficient FTP server written for security
      ii  wget           1.17.1-1ubuntu1.1 amd64        retrieves files from the web
      ii  xinetd         1:2.3.15-6   amd64        replacement for inetd with many enhancements
      ii  zlib1g:amd64   1:1.2.8.dfsg-2ubuntu4 amd64        compression library - runtime
      Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
      Failed to stop FOGMulticastManager.service: Unit FOGMulticastManager.service not loaded.
      Failed to stop FOGImageReplicator.service: Unit FOGImageReplicator.service not loaded.
      Failed to stop FOGSnapinReplicator.service: Unit FOGSnapinReplicator.service not loaded.
      Failed to stop FOGScheduler.service: Unit FOGScheduler.service not loaded.
      Failed to stop FOGPingHosts.service: Unit FOGPingHosts.service not loaded.
      Synchronizing state of mysql.service with SysV init with /lib/systemd/systemd-sysv-install...
      Executing /lib/systemd/systemd-sysv-install enable mysql
      ● mysql.service - MySQL Community Server
         Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
         Active: active (running) since Wed 2016-10-19 18:24:57 HKT; 2s ago
        Process: 44174 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
        Process: 44168 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
       Main PID: 44173 (mysqld)
          Tasks: 28
         Memory: 165.5M
            CPU: 224ms
         CGroup: /system.slice/mysql.service
                 └─44173 /usr/sbin/mysqld
      
      Oct 19 18:24:56 MYFOGSERVER systemd[1]: Starting MySQL Community Server...
      Oct 19 18:24:57 MYFOGSERVER systemd[1]: Started MySQL Community Server.
      Site 001-fog disabled.
      To activate the new configuration, you need to run:
        service apache2 reload
      mysqlnd
      mcrypt
      apache2.service is not a native service, redirecting to systemd-sysv-install
      Executing /lib/systemd/systemd-sysv-install enable apache2
      Synchronizing state of php7.0-fpm.service with SysV init with /lib/systemd/systemd-sysv-install...
      Executing /lib/systemd/systemd-sysv-install enable php7.0-fpm
      Generating RSA private key, 4096 bit long modulus
      .......++
      .............++
      e is 65537 (0x10001)
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:Generating RSA private key, 4096 bit long modulus
      ..........................................................................++
      ............................................++
      e is 65537 (0x10001)
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:
      Please enter the following 'extra' attributes
      to be sent with your certificate request
      A challenge password []:An optional company name []:Signature ok
      subject=/CN=192.168.1.42/emailAddress=192.168.2.48
      Getting CA Private Key
      ln: failed to create symbolic link '/var/www/html/fog/fog': File exists
      ERROR: Module php does not exist!
      Module rewrite already enabled
      Considering dependency setenvif for ssl:
      Module setenvif already enabled
      Considering dependency mime for ssl:
      Module mime already enabled
      Considering dependency socache_shmcb for ssl:
      Module socache_shmcb already enabled
      Module ssl already enabled
      Enabling site 001-fog.
      To activate the new configuration, you need to run:
        service apache2 reload
      Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
      ● apache2.service - LSB: Apache2 web server
         Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
        Drop-In: /lib/systemd/system/apache2.service.d
                 └─apache2-systemd.conf
         Active: failed (Result: exit-code) since Wed 2016-10-19 18:27:50 HKT; 2s ago
           Docs: man:systemd-sysv-generator(8)
        Process: 44521 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
      
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]:  * The apache2 configtest failed.
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]: Output of config test was:
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]: AH00526: Syntax error on line 4 of /etc/apache2/sites-enabled/001-fog.conf:
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]: Invalid command '192.168.2.48', perhaps misspelled or defined by a module not included in the server configuration
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]: Action 'configtest' failed.
      Oct 19 18:27:50 MYFOGSERVER apache2[44521]: The Apache error log may have more information.
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: apache2.service: Control process exited, code=exited status=1
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: Failed to start LSB: Apache2 web server.
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: apache2.service: Unit entered failed state.
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: apache2.service: Failed with result 'exit-code'.
      
      ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
         Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
         Active: active (running) since Wed 2016-10-19 18:27:50 HKT; 2s ago
           Docs: man:php-fpm7.0(8)
       Main PID: 44527 (php-fpm7.0)
         Status: "Ready to handle connections"
          Tasks: 3
         Memory: 19.5M
            CPU: 35ms
         CGroup: /system.slice/php7.0-fpm.service
                 ├─44527 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
                 ├─44535 php-fpm: pool www
                 └─44536 php-fpm: pool www
      
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
      Oct 19 18:27:50 MYFOGSERVER systemd[1]: Started The PHP 7.0 FastCGI Process Manager.
      

      We have outbound ping blocked so I won’t be able to produce those. IP address was manually assigned before and I’ve done a find and replace on the IP addresses but it should give you a pretty good idea.

      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
          link/ether 00:50:56:ac:39:98 brd ff:ff:ff:ff:ff:ff
          inet 192.168.1.42/24 brd 192.168.1.255 scope global ens192
             valid_lft forever preferred_lft forever
          inet6 fe80::250:56ff:feac:3998/64 scope link
             valid_lft forever preferred_lft forever
      3: ens224: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
          link/ether 00:50:56:ac:7a:a4 brd ff:ff:ff:ff:ff:ff
          inet 192.168.2.48/24 brd 192.168.2.255 scope global ens224
             valid_lft forever preferred_lft forever
          inet6 fe80::250:56ff:feac:7aa4/64 scope link
             valid_lft forever preferred_lft forever
      ----
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         192.168.1.1    0.0.0.0         UG    0      0        0 ens192
      192.168.1.0    0.0.0.0         255.255.255.0   U     0      0        0 ens192
      192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 ens224
      
      posted in FOG Problems
      A
      AsGF2MX
    • RE: Multicast config questions (FOG side) and issues and fixes

      @Tom-Elliott Was this file originally missing? It didn’t exist in my git pull. Or is there some process which creates it?

      @Wayne-Workman I actually did do sudo -I first then launched screen as root and setup everything inside this.

      The only thing is that my VM is dual homed. Despite the fact that I had specified the interface the script did have an issue with the apache configuration as it added both IPs although I had picked just one interface. However the only error was in the last step where it failed to start apache.

      posted in FOG Problems
      A
      AsGF2MX
    • Multicast config questions (FOG side) and issues and fixes
      Server
      • FOG Version: 1.3.0-RC-14 SVN 5974
      • OS: Ubuntu 16.04 LTS x64
      Client
      • Service Version: N/A
      • OS: N/A
      Description

      I did a fresh install of 16.04LTS with LAMP, SSH server and then did a git pull. The install script installed the base but didn’t install UDPCast package. Oddly enough it didn’t install the services correctly either. However, I was able to get everything working properly after some tinkering. However I’m not seeing any steps on setting this up so here are the steps I took.

      Getting the Service files copied and configured
      SRC: /root/fogproject/packages/systemd/FOGMulticastManager.service
      TO: /lib/systemd/system/FOGMulticastManager.service

      SRC: /root/fogproject/packages/service/
      TO: /opt/fog/service/

      SRC: /root/fogproject/packages/service/etc/
      TO: /opt/fog/service/etc/

      Installing udp-sender
      sudo apt-get install udpcast

      Config files I modified
      /opt/fog/service/lib/service_lib.php
      Change:
      require WEBROOT.‘/commons/init.php’;
      TO:
      require ‘/var/www/html/fog/commons/init.php’;

      This file was missing in my gitpull: /opt/fog/service/etc/config.php

      <?php
      define( "UPDSENDERPATH", "/usr/bin/udp-sender" );
      define( "MULTICASTLOGPATH", "/opt/fog/log/multicast.log" );
      define( "MULTICASTDEVICEOUTPUT", "/dev/tty2" );
      define( "MULTICASTSLEEPTIME", 10 );
      define( "MULTICASTINTERFACE", "ens224" );
      define( "UDPSENDER_MAXWAIT", null );
      
      define( "MYSQL_HOST", "" );
      define( "MYSQL_DATABASE", "fog" );
      define( "MYSQL_USERNAME", "root" );
      define( "MYSQL_PASSWORD", "" );
      
      define( "LOGMAXSIZE", "1000000" );
      
      define( "REPLICATORLOGPATH", "/opt/fog/log/fogreplicator.log" );
      define( "REPLICATORDEVICEOUTPUT", "/dev/tty3" );
      define( "REPLICATORSLEEPTIME", 600 );
      define( "REPLICATORIFCONFIG", "/sbin/ifconfig" );
      
      define( "SCHEDULERLOGPATH", "/opt/fog/log/fogscheduler.log" );
      define( "SCHEDULERDEVICEOUTPUT", "/dev/tty4" );
      define( "SCHEDULERWEBROOT", "/var/www/html/fog" );
      define( "SCHEDULERSLEEPTIME", 60 );
      ?>
      

      Then:

      service FOGMulticastManager start
      service FOGMulticastManager status
      

      If i’ts running, schedule a multicast task and you’ll be good to go. Multicast started working without issue after this.

      However, is this procedure correct?

      @Tom-Elliott I’m wondering if the new install script is missing something (haven’t had a chance to go through it). This was a clean build to replace my previous FOG VM and it was a comparison between VER 45XX and the one mentioned above.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Uncle-Frank Apologies for going AWOL…cleaned up the deployment and held back one unit for testing purposes and took a brief break to recover.

      The efi files and ipxe files are straight from the SVN with no modifications. I only took the stock isc dhcpd.conf file and modified the items right after max-lease time as below:

          default-lease-time 21600;
          max-lease-time 43200;
          #       option domain-name-servers      x.x.x.x;
          #       option routers      x.x.x.x;
      
          class "UEFI-32-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
          filename "i386-efi/ipxe.efi";
          }
      
          class "UEFI-32-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
           filename "i386-efi/ipxe.efi";
          }
      
          class "UEFI-64-1" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
           filename "ipxe.efi";
          }
      
          class "UEFI-64-2" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
          filename "ipxe.efi";
          }
      
          class "UEFI-64-3" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
           filename "ipxe.efi";
          }
      
          class "Legacy" {
          match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
          filename "undionly.kkpxe";
          }
      
          } <<< This one is the wrapping brace for the subnet x.x.x. netmask .x.x.x.x { at the beginning
      

      @Wayne-Workman

      Host Kernel: 4.2 x32 Sept 17 straight from FOG no mods
      Host Primary disk: /dev/mmcblk0
      Image type: Multi partition single disk (only one that works for me so far as I can’t build my own image due to the vendor’s preload)
      bzImage32 - SVN 4586
      init_32.xz: SVN 4586

      In my fog configuration options (this is on a test box):

      • I have specified bzImage file name as bzImage32
      • I have also specified init.xz as init_32.xz

      So far I’m using 32-bit for the Venue 8 and also other hardware I have and it works for me - we use mostly Dell gear with a dash of Lenovo in the mix.

      I actually didn’t have to use the has usb nic parameter for any unit. I used the USB-0301 as mentioned earlier and it didn’t complain on any of the units I had imaged with FOG.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @d4rk3 One suggestion. Could you try to apply the ram disk patch and see if it works for you? I have had no luck pulling the image in resizable form with this.

      Having said that I never seem to be able to get the rom o matic site to let me download anything after all the options are ticked. Tried IE and FF and off various links including direct to Internet public IP.

      Also I modified the DHCP (DHCPd) to just hand out different ipxe files (no modification) with a priority for 32bit followed by 64 bit then undi. So far most clients will just run fine with 32bit .

      Does your modification end up rendering the 64bit ipxe unused as well?

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Wayne-Workman On the same lot of equipment, most definitely no reason. But from time to time things break and sometimes we get newer items with smaller storage or the same item with larger storage so I normally do use resizable.

      At the moment, I’ve ended up with a few golden images that we can deploy to a variety of hardware.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Trying to Image a Dell Venue Pro 11 (5130) x64.

      @reub_rester Please take a look at this thread: https://forums.fogproject.org/topic/5732/dell-venue-8-pro-imaging-emmc and give it a shot.

      posted in General
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Tom-Elliott 64-bit didn’t work for me at all before - I will retest the latest build once more and see if there is a difference. I am currently running FOG with both the bzImage and init set to point to the 32-bit variant in FOG Configuration. I will hold back one unit from this lot for “testing” purposes so if you need me to test anything to fine tune things, I can help.

      Also @d4rk3 how did you get single disk - resizable to work? I am still seeing errors. With the little patch on the ramdisk I applied, I can get further but not to the point I can image.

      My init_32.xz is dated Aug 31 12:01 what is the date on yours?

      @Uncle-Frank I think the patches have made Tom’s build a bit smoother than mine without the patches. Less chatter in front when it loads up. However I can confirm without any patches it works as well. I’m happy to help test any variants if you wish.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Wayne-Workman Adapter is Level 1 USB-0301 v4 http://global.level1.com/Network-Card/USB-0301/p-3285.htm which uses a Realtek chip. The v3 used the AXIS chip which Dell puts in its docks.

      I’m using the 32-bit ipxe and bzImage32 as well.

      @Tom-Elliott Your kernel worked flawlessly. Downloaded and uploaded perfectly and managed to check everything just before the battery hit 0%.

      @Uncle-Frank It will be a little while before I can test the changes you requested.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Tom-Elliott The upload and download on my compiled kernel worked - not so much as a hint of something being wrong. Everything works! Currently testing the kernel that you just uploaded and promising so far on upload. I think the unit has just enough battery to go through a download before it shuts off.

      IMG_0539.JPG

      One point of note I should mention (in case someone comes across this post while looking for Venues and PXE booting) is that I am using Level One’s USB-301 Fast Ethernet adapter. I have both the AXIS (died after the first post!) and Realtek variants but all screenshots I’ve posted in this thread are using the Realtek variant.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Jbob Thank you but honestly I have all of you to thank - especially Tom with my obscure and off beat recompile requests! Haven’t had a dev box (VM or otherwise) since 2008 so I’m a bit rusty but I’m glad I can contribute back to the project in some way.

      @Tom-Elliott I have not had a chance to test your kernel yet or finish up on @Uncle-Frank 's request as I had to step out for a few moments and I had triggered a download before I read the message. The good news is the upload succeeded!

      IMG_0537.JPG

      Will check to see the OS made it back in a sane state and if it’s good, I will test your kernel right after.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Uncle-Frank That was a good call on the single-disk multiple partitions.

      IMG_0534.JPG
      IMG_0535.JPG

      Need a few moments to recompile the kernel will test it out as well.

      By the way, my kernel is not patched - straight off the kernel site, along with Tom’s 32 bit config file, only magic was the ones you pointed out and possibly the little modification to the partition functions.

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Tom-Elliott Here you go. It is 32-bit as the 64 bit kernel doesn’t seem to working with the Venue, crashes out right after iPXE gets done. 32-bit has been good to me so far.

      Point taken on the cheat sheet - hopefully this does the trick.

      MMCMod-TomElliotConfig.32.patch

      On another note on the init_32.xz - I tried to get rpmb to stay out by using udev rules but then I noticed you have got part of the rules there. Is there any way to stop the unit from rebooting and drop to a shell to see what last happened before it failed?

      posted in FOG Problems
      A
      AsGF2MX
    • RE: Dell Venue 8 Pro imaging/eMMC

      @Tom-Elliott @Wayne-Workman @Uncle-Frank

      Regarding the error that was being displayed earlier, I did manage to track it down and it requires a minor patch to partition-functions.sh in the ram disk. There is an extra character in addition to the number that needs to be stripped out. I just re-piped through another sed and tested and it works. The patch takes care of all functions and it has no impact on hdXY or sdXY devices unless you really have to clone sdp1 then you might have a problem.

      I got as far as resizing partitions before what looks like an attempt to hit the rpmb part of the emmc caused the whole it error out. Got this far:

      IMG_0531.JPG
      IMG_0532.JPG

      Still poking around but I think the missing patches is probably what is causing this. But I could be wrong. I am not sure what is triggering the updates to the rpmb.

      part-funcs-mmcmod.patch

      posted in FOG Problems
      A
      AsGF2MX
    • 1
    • 2
    • 1 / 2