• Hey,
    I have installed fog 1.5.9 on Ubuntu 18.04.5 LTS.
    I have loaded the installation log
    when I pxe host its not getting the dhcp address
    this is a home environment
    im running small lenovo desktop connected to wifi and small 3com gigabit switch.
    your help is much appreciated

    Version: 1.5.9 Installer/Updater

      What version of Linux would you like to run the installation for?
    
              1) Redhat Based Linux (Redhat, CentOS, Mageia)
              2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
              3) Arch Linux
    
      Choice: [2] 
    
    
    
      Starting Debian based Installation
    
    
      FOG Server installation modes:
          * Normal Server: (Choice N) 
              This is the typical installation type and
              will install all FOG components for you on this
              machine.  Pick this option if you are unsure what to pick.
    
          * Storage Node: (Choice S)
              This install mode will only install the software required
              to make this server act as a node in a storage group
    
      More information:  
         http://www.fogproject.org/wiki/index.php?title=InstallationModes
    
      What type of installation would you like to do? [N/s (Normal/Storage)] n
    
      We found the following interfaces on your system:
          * wlp2s0 - 192.168./24
          * enp0s31f6 - 
    
      Would you like to change the default network interface from wlp2s0?
      If you are not sure, select No. [y/N] n
    
      Would you like to setup a router address for the DHCP server? [Y/n] y
      What is the IP address to be used for the router on
          the DHCP server? [192.168.0.1]192.168.
    
      Would you like DHCP to handle DNS? [Y/n] y
      What DNS address should DHCP allow? [127.0.0.53] 192.168.
      Would you like to use the FOG server for DHCP service? [y/N] n
    
      This version of FOG has internationalization support, would  
      you like to install the additional language packs? [y/N] n
    
      Using encrypted connections is state of the art on the web and we
      encourage you to enable this for your FOG server. But using HTTPS
      has some implications within FOG, PXE and fog-client and you want
      to read https://wiki.fogproject.org/HTTPS before you decide!
      Would you like to enable secure HTTPS on your FOG server? [y/N] y
    
      Which hostname would you like to use? Currently is: jimmy-ThinkCentre-M710q
      Note: This hostname will be in the certificate we generate for your
      FOG webserver. The hostname will only be used for this but won't be
      set as a local hostname on your server!
      Would you like to change it? If you are not sure, select No. [y/N] n
    
       ######################################################################
       #     FOG now has everything it needs for this setup, but please     #
       #   understand that this script will overwrite any setting you may   #
       #   have setup for services like DHCP, apache, pxe, tftp, and NFS.   #
       ######################################################################
       # It is not recommended that you install this on a production system #
       #        as this script modifies many of your system settings.       #
       ######################################################################
       #             This script should be run by the root user.            #
       #      It will prepend the running with sudo if root is not set      #
       ######################################################################
       #            Please see our wiki for more information at:            #
       ######################################################################
       #             https://wiki.fogproject.org/wiki/index.php             #
       ######################################################################
    
     * Here are the settings FOG will use:
     * Base Linux: Debian
     * Detected Linux Distribution: Ubuntu
     * Interface: wlp2s0
     * Server IP Address: 192.168.
     * Server Subnet Mask: 255.255.255.0
     * Server Hostname: ThinkCentre-M710q
     * Installation Type: Normal Server
     * Internationalization: 0
     * Image Storage Location: /images
     * Using FOG DHCP: No
     * DHCP will NOT be setup but you must setup your
     | current DHCP server to use FOG for PXE services.
    
     * On a Linux DHCP server you must set: next-server and filename
    
     * On a Windows DHCP server you must set options 066 and 067
    
     * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.)
     * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
    
    
     * Are you sure you wish to continue (Y/N) y
    
     * Installation Started
    
     * Testing internet connection.................................Done
     * Adjusting repository (can take a long time for cleanup).....OK
     * Preparing Package Manager...................................OK
     * Packages to be installed:
    
    	apache2 bc build-essential cpp curl g++ gawk gcc genisoimage git gzip htmldoc isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd php-gettext tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g 
    
    
     * Skipping package:   apache2.................................(Already Installed)
     * Skipping package:   bc......................................(Already Installed)
     * Skipping package:   build-essential.........................(Already Installed)
     * Skipping package:   cpp.....................................(Already Installed)
     * Skipping package:   curl....................................(Already Installed)
     * Skipping package:   g++.....................................(Already Installed)
     * Skipping package:   gawk....................................(Already Installed)
     * Skipping package:   gcc.....................................(Already Installed)
     * Skipping package:   genisoimage.............................(Already Installed)
     * Skipping package:   git.....................................(Already Installed)
     * Skipping package:   gzip....................................(Already Installed)
     * Skipping package:   htmldoc.................................(Already Installed)
     * Skipping package:   isolinux................................(Already Installed)
     * Skipping package:   lftp....................................(Already Installed)
     * Skipping package:   libapache2-mod-php7.2...................(Already Installed)
     * Skipping package:   libc6...................................(Already Installed)
     * Skipping package:   libcurl4................................(Already Installed)
     * Skipping package:   liblzma-dev.............................(Already Installed)
     * Skipping package:   m4......................................(Already Installed)
     * Skipping package:   mariadb-client..........................(Already Installed)
     * Skipping package:   mariadb-server..........................(Already Installed)
     * Skipping package:   net-tools...............................(Already Installed)
     * Skipping package:   nfs-kernel-server.......................(Already Installed)
     * Skipping package:   openssh-server..........................(Already Installed)
     * Skipping package:   php7.2..................................(Already Installed)
     * Skipping package:   php7.2-bcmath...........................(Already Installed)
     * Skipping package:   php7.2-cli..............................(Already Installed)
     * Skipping package:   php7.2-curl.............................(Already Installed)
     * Skipping package:   php7.2-fpm..............................(Already Installed)
     * Skipping package:   php7.2-gd...............................(Already Installed)
     * Skipping package:   php7.2-json.............................(Already Installed)
     * Skipping package:   php7.2-ldap.............................(Already Installed)
     * Skipping package:   php7.2-mbstring.........................(Already Installed)
     * Skipping package:   php7.2-mysql............................(Already Installed)
     * Skipping package:   php7.2-mysql............................(Already Installed)
     * Skipping package:   php-gettext.............................(Already Installed)
     * Skipping package:   tar.....................................(Already Installed)
     * Skipping package:   tftpd-hpa...............................(Already Installed)
     * Skipping package:   tftp-hpa................................(Already Installed)
     * Skipping package:   unzip...................................(Already Installed)
     * Skipping package:   vsftpd..................................(Already Installed)
     * Skipping package:   wget....................................(Already Installed)
     * Skipping package:   xinetd..................................(Already Installed)
     * Skipping package:   zlib1g..................................(Already Installed)
     * Updating packages as needed.................................OK
    
     * Confirming package installation
    
     * Checking package: apache2...................................OK
     * Checking package: bc........................................OK
     * Checking package: build-essential...........................OK
     * Checking package: cpp.......................................OK
     * Checking package: curl......................................OK
     * Checking package: g++.......................................OK
     * Checking package: gawk......................................OK
     * Checking package: gcc.......................................OK
     * Checking package: genisoimage...............................OK
     * Checking package: git.......................................OK
     * Checking package: gzip......................................OK
     * Checking package: htmldoc...................................OK
     * Checking package: isolinux..................................OK
     * Checking package: lftp......................................OK
     * Checking package: libapache2-mod-php7.2.....................OK
     * Checking package: libc6.....................................OK
     * Checking package: libcurl4..................................OK
     * Checking package: liblzma-dev...............................OK
     * Checking package: m4........................................OK
     * Checking package: mariadb-client............................OK
     * Checking package: mariadb-server............................OK
     * Checking package: net-tools.................................OK
     * Checking package: nfs-kernel-server.........................OK
     * Checking package: openssh-server............................OK
     * Checking package: php7.2....................................OK
     * Checking package: php7.2-bcmath.............................OK
     * Checking package: php7.2-cli................................OK
     * Checking package: php7.2-curl...............................OK
     * Checking package: php7.2-fpm................................OK
     * Checking package: php7.2-gd.................................OK
     * Checking package: php7.2-json...............................OK
     * Checking package: php7.2-ldap...............................OK
     * Checking package: php7.2-mbstring...........................OK
     * Checking package: php7.2-mysql..............................OK
     * Checking package: php-gettext...............................OK
     * Checking package: tar.......................................OK
     * Checking package: tftpd-hpa.................................OK
     * Checking package: tftp-hpa..................................OK
     * Checking package: unzip.....................................OK
     * Checking package: vsftpd....................................OK
     * Checking package: wget......................................OK
     * Checking package: xinetd....................................OK
     * Checking package: zlib1g....................................OK
    
     * Configuring services
    
     * Setting up fogproject user..................................Skipped
     * Locking fogproject as a system account......................OK
     * Setting up fogproject password..............................OK
     * Stopping FOGMulticastManager.service Service................OK
     * Stopping FOGImageReplicator.service Service.................OK
     * Stopping FOGSnapinReplicator.service Service................OK
     * Stopping FOGScheduler.service Service.......................OK
     * Stopping FOGPingHosts.service Service.......................OK
     * Stopping FOGSnapinHash.service Service......................OK
     * Stopping FOGImageSize.service Service.......................OK
     * Setting up and starting MySQL...............................OK
     * Setting up MySQL user and database..........................OK
     * Backing up user reports.....................................Done
     * Stopping web service........................................OK
     * Setting up Apache and PHP files.............................OK
     * Testing and removing symbolic links if found................OK
     * Backing up old data.........................................OK
     * Copying new files to web folder.............................OK
     * Creating config file........................................OK
     * Creating redirection index file.............................OK
     * Downloading kernel, init and fog-client binaries............Done
     * Copying binaries to destination paths.......................OK
     * Enabling apache and fpm services on boot....................OK
     * Creating SSL CA.............................................OK
     * Creating SSL Private Key....................................OK
     * Creating SSL Certificate....................................OK
     * Creating auth pub key and cert..............................OK
     * Resetting SSL Permissions...................................OK
     * Setting up Apache virtual host (SSL)........................OK
     * Starting and checking status of web services................OK
     * Changing permissions on apache log files....................OK
     * Backing up database.........................................Done
    
     * You still need to install/update your database schema.
     * This can be done by opening a web browser and going to:
    
      
    
     * Press [Enter] key when database is updated/installed.
    
     * Update fogstorage database password.........................OK
     * Granting access to fogstorage database user.................OK
     * Setting up storage..........................................OK
     * Setting up and starting DHCP Server.........................Skipped
     * Compiling iPXE binaries trusting your SSL certificate.......
    
    OK
     * Setting up and starting TFTP and PXE Servers................OK
     * Setting up and starting VSFTP Server........................OK
     * Setting up FOG Snapins......................................OK
     * Setting up UDPCast..........................................OK
     * Configuring UDPCast.........................................OK
     * Building UDPCast............................................OK
     * Installing UDPCast..........................................OK
     * Installing FOG System Scripts...............................OK
    
    
     * Configuring FOG System Services
    
    
     * Setting permissions on FOGMulticastManager.service script...OK
     * Enabling FOGMulticastManager.service Service................OK
     * Setting permissions on FOGImageReplicator.service script....OK
     * Enabling FOGImageReplicator.service Service.................OK
     * Setting permissions on FOGSnapinReplicator.service script...OK
     * Enabling FOGSnapinReplicator.service Service................OK
     * Setting permissions on FOGScheduler.service script..........OK
     * Enabling FOGScheduler.service Service.......................OK
     * Setting permissions on FOGPingHosts.service script..........OK
     * Enabling FOGPingHosts.service Service.......................OK
     * Setting permissions on FOGSnapinHash.service script.........OK
     * Enabling FOGSnapinHash.service Service......................OK
     * Setting permissions on FOGImageSize.service script..........OK
     * Enabling FOGImageSize.service Service.......................OK
     * Setting up FOG Services.....................................OK
     * Starting FOGMulticastManager.service Service................OK
     * Starting FOGImageReplicator.service Service.................OK
     * Starting FOGSnapinReplicator.service Service................OK
     * Starting FOGScheduler.service Service.......................OK
     * Starting FOGPingHosts.service Service.......................OK
     * Starting FOGSnapinHash.service Service......................OK
     * Starting FOGImageSize.service Service.......................OK
     * Setting up exports file.....................................OK
     * Setting up and starting RPCBind.............................OK
     * Setting up and starting NFS Server..........................OK
     * Linking FOG Logs to Linux Logs..............................OK
     * Linking FOG Service config /etc.............................OK
     * Ensuring node username and passwords match..................Done
    
     * Setup complete
    
       You can now login to the FOG Management Portal using
       the information listed below.  The login information
       is only if this is the first install.
    
       This can be done by opening a web browser and going to:
    
    
    
     * Changed configurations:
    
  • Moderator

    @cicero Yes I agree


  • Moderator

    @cicero said in Not getting dhcp link:

    my home router is the dhcp provider

    Ok so you said this too

    when I pxe host its not getting the dhcp address

    The dhcp address is being supplied by your home router. So FOG should not have an impact on that. Because you can turn the FOG server off and your network still should supply dhcp address.

    Now I will read into this a bit more in case your are saying that you are not getting a pxe boot because of a PXE-XXX error for bios or NBP boot filed for uefi system. If this is the case they did you update the dhcp server to include the dhcp options 66 and 67. This tell the pxe booting computer how to find the FOG server. I can tell you that most soho internet routers don’t support setting these values. But we have ways to work around that.

    So precisely what is your dhcp server? (mfg and model)


  • @george1421 Hi
    my home router is the dhcp provider
    Ubuntu desktop is connected wireless to the home wifi network
    as I mention its a home environment use to learn the fog deployment services to create Win10 images and deploy

  • Moderator

    @cicero So on a sunny day, what device gives out IP addresses on your home network if FOG was not in the picture?

302
Online

8.6k
Users

15.3k
Topics

143.4k
Posts