• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. degaro
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    degaro

    @degaro

    0
    Reputation
    177
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    degaro Unfollow Follow

    Latest posts made by degaro

    • RE: Pfsense 2.4.0 & FOG 1.4.4 no file found

      Woohoo got it working.
      The error was in

      Would you like to use the FOG server for DHCP service? [y/N] Y
      

      It needs to be No, else there would be double DHCP servers running on the network. The Pfsense and the FOG
      Which at the end of installation would lead to

      * Setting up and starting DHCP Server.........................Failed!
      

      For future reference, there should be an warning inside the install if that occurs.
      “Multiple DHCP servers detected on network, reinstall and choose No on that question or disable other DHCP server”
      Or something like that.
      Anyways, thanks for help
      0_1508680812232_win10 working.PNG

      posted in FOG Problems
      D
      degaro
    • RE: Pfsense 2.4.0 & FOG 1.4.4 no file found
      root@ubuntu:~/fog_1.4.4/bin# sudo ./installfog.sh
      Installing LSB_Release as needed
       * Attempting to get release information.......................Done
      systemd
      
      
         +------------------------------------------+
         |     ..#######:.    ..,#,..     .::##::.  |
         |.:######          .:;####:......;#;..     |
         |...##...        ...##;,;##::::.##...      |
         |   ,#          ...##.....##:::##     ..:: |
         |   ##    .::###,,##.   . ##.::#.:######::.|
         |...##:::###::....#. ..  .#...#. #...#:::. |
         |..:####:..    ..##......##::##  ..  #     |
         |    #  .      ...##:,;##;:::#: ... ##..   |
         |   .#  .       .:;####;::::.##:::;#:..    |
         |    #                     ..:;###..       |
         |                                          |
         +------------------------------------------+
         |      Free Computer Imaging Solution      |
         +------------------------------------------+
         |  Credits: http://fogproject.org/Credits  |
         |       http://fogproject.org/Credits      |
         |       Released under GPL Version 3       |
         +------------------------------------------+
      
      
         Version: 1.4.4 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] 2
      
      
      
        Starting Debian based Installation
      
      
       *** Detected a potential need to reinstall apache and php files.
       *** This will remove the /etc/php* and /etc/apache2* directories
       ***  and remove/purge the apache and php files from this system.
       *** If you're okay with this please type Y, anything else will
       ***  continue the installation, but may mean you will need to
       ***  remove the files later and make proper changes as
       ***  necessary. (Y/N):
      Y
       * Removing apache and php files...............................Done
       * Stopping web services.......................................Done
       * Removing the apache and php packages........................Done
       * Resetting our variables to specify php version 7.1..........Done
        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
      
        What is the IP address to be used by this FOG Server? [172.16.0.12]
      
        Would you like to change the default network interface from enp0s3?
        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? [172.16.0.1]
      
        Would you like DHCP to handle DNS? [Y/n] Y
        What DNS address should DHCP allow? [172.16.0.1]
      
        Would you like to use the FOG server for DHCP service? [y/N] Y
      
        This version of FOG has internationalization support, would
        you like to install the additional language packs? [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      #
         ######################################################################
         #           ** Notice ** FOG is difficult to setup securely          #
         #        SELinux and IPTables are usually asked to be disabled       #
         #           There have been strides in adding capabilities           #
         #          The recommendations would now be more appropriate         #
         #    to set SELinux to permissive and to disable firewall for now.   #
         #  You can find some methods to enable SELinux and maintain firewall #
         #   settings and ports. If you feel comfortable doing so please do   #
         ######################################################################
         #            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
       * Server IP Address: 172.16.0.12
       * Server Subnet Mask: 255.0.0.0
       * Interface: enp0s3
       * Installation Type: Normal Server
       * Internationalization: 0
       * Image Storage Location: /images
       * Using FOG DHCP: Yes
       * DHCP router Address: 172.16.0.1
      
      
       * Are you sure you wish to continue (Y/N) Y
      
       * Installation Started
      
       * Installing required packages, if this fails
       | make sure you have an active internet connection.
      
       * Adding needed repository....................................OK
       * Preparing Package Manager...................................OK
       * Packages to be installed:
      
              apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc isc-dhcp-s   erver lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net   -tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-c   url php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt p   hp7.1-mysql php7.1-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip    vsftpd wget xinetd zlib1g
      
      
       * Installing package: apache2.................................OK
       * 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:   gzip....................................(Already Installed)
       * Skipping package:   htmldoc.................................(Already Installed)
       * Skipping package:   isc-dhcp-server.........................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Installing package: libapache2-mod-php7.1...................OK
       * Skipping package:   libc6...................................(Already Installed)
       * Skipping package:   libcurl3................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   mysql-client............................(Already Installed)
       * Skipping package:   mysql-server............................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-kernel-server.......................(Already Installed)
       * Skipping package:   openssh-server..........................(Already Installed)
       * Installing package: php7.1..................................OK
       * Installing package: php7.1-bcmath...........................OK
       * Skipping package:   php7.1-cli..............................(Already Installed)
       * Installing package: php7.1-curl.............................OK
       * Installing package: php7.1-fpm..............................OK
       * Installing package: php7.1-gd...............................OK
       * Skipping package:   php7.1-json.............................(Already Installed)
       * Installing package: php7.1-ldap.............................OK
       * Installing package: php7.1-mbstring.........................OK
       * Installing package: php7.1-mcrypt...........................OK
       * Installing package: php7.1-mysql............................OK
       * Skipping package:   php7.1-mysql............................(Already Installed)
       * Installing package: php-gettext.............................OK
       * Skipping package:   sysv-rc-conf............................(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: gzip......................................OK
       * Checking package: htmldoc...................................OK
       * Checking package: isc-dhcp-server...........................OK
       * Checking package: lftp......................................OK
       * Checking package: libapache2-mod-php7.1.....................OK
       * Checking package: libc6.....................................OK
       * Checking package: libcurl3..................................OK
       * Checking package: m4........................................OK
       * Checking package: mysql-client..............................OK
       * Checking package: mysql-server..............................OK
       * Checking package: net-tools.................................OK
       * Checking package: nfs-kernel-server.........................OK
       * Checking package: openssh-server............................OK
       * Checking package: php7.1....................................OK
       * Checking package: php7.1-bcmath.............................OK
       * Checking package: php7.1-cli................................OK
       * Checking package: php7.1-curl...............................OK
       * Checking package: php7.1-fpm................................OK
       * Checking package: php7.1-gd.................................OK
       * Checking package: php7.1-json...............................OK
       * Checking package: php7.1-ldap...............................OK
       * Checking package: php7.1-mbstring...........................OK
       * Checking package: php7.1-mcrypt.............................OK
       * Checking package: php7.1-mysql..............................OK
       * Checking package: php-gettext...............................OK
       * Checking package: sysv-rc-conf..............................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 fog user.........................................Already setup
       * Setting up fog 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
       * Backing up user reports.....................................Done
       * Stopping web service........................................OK
       * Is the MySQL password blank? (Y/n) Y
       * 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 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
       * Unzipping the binaries......................................Done
       * Copying binaries where needed...............................Done
       * 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 SSL FOG Server...................................OK
       * Starting and checking status of web services................OK
       * Changing permissions on apache log files....................OK
       * Backing up database.........................................OK
      
       * You still need to install/update your database schema.
       * This can be done by opening a web browser and going to:
      
         http://172.16.0.12/fog/management
      
       * Press [Enter] key when database is updated/installed.
      
       * Setting up storage..........................................OK
       * Setting up and starting DHCP Server.........................Failed!
      root@ubuntu:~/fog_1.4.4/bin#
      
      posted in FOG Problems
      D
      degaro
    • RE: Pfsense 2.4.0 & FOG 1.4.4 no file found

      Thanks for reply’s

      sudo ufw status
      Status: inactive
      
       ls -al /tftpboot/undionly.kpxe
      ls: cannot access '/tftpboot/undionly.kpxe': No such file or directory
      

      0_1508676576282_notfound.PNG

      Yes it’s Ubuntu server 16.04.3
      Reason why i use class A mask but class B range is because, just in case the ISP router should access the Pfsense internal network, it doesnt mess with class A range.
      Whole system goes like this :
      ISP Router > My computer > Bridged connection for eth1 inside VirtualBox (Pfsense wan) and Eth2 as intranet (For pfsense lan)
      The Fog and windows device that im trying to clone are all attached to that intranet, so they get their dhcp address from Pfsense and not from the ISP router which also has some IPTV box running on class A route.

      But anyways it seems there are missing files from tftpboot folder and actually the folder itself.

      posted in FOG Problems
      D
      degaro
    • Pfsense 2.4.0 & FOG 1.4.4 no file found

      firstly, Hello!
      Im very new to fog and imaging computers at all, but hey gotta start from somewhere.
      All of this is on VirtualBox environment
      So i have pfsense router running with dhcp on it.
      Network boot is enabled
      and the correct IP to the FOG machine is set.
      Default bios file name is set aswell as told in the guide :
      https://wiki.fogproject.org/wiki/index.php?title=Other_DHCP_Configurations

      0_1508671217468_dhcp.PNG

      The TFTP server is running aswell
      0_1508671293328_tftp.PNG

      And these are my FOG TFTP server settings
      0_1508671357600_fogtftp.PNG

      Yet the network booting device, still gives error.
      0_1508671414469_netboot.PNG

      posted in FOG Problems
      D
      degaro