• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Latest FOG 0.33b

    Scheduled Pinned Locked Moved
    General
    77
    1.6k
    6.0m
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JunkhackerJ
      Junkhacker Developer
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        [quote=“ArchFan, post: 23627, member: 19266”] … the 2 required files[/quote]

        2?

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          I don’t know any more

          I’ve since changed it to one required file.

          /var/www/{fog,html/fog}/commons/config.php

          The other config.php just tells the FOG<SERVICENAME> files to point to the main config.php file.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • B
            BigMan99211
            last edited by

            This is all i’m seeing in /var/www/fog/commons/config.php

            [CODE]<?php
            /*

            • FOG is a computer imaging solution.
            • Copyright © 2007 Chuck Syperski & Jian Zhang
            • This program is free software: you can redistribute it and/or modify
            • it under the terms of the GNU General Public License as published by
            • the Free Software Foundation, either version 3 of the License, or
            • any later version.
            • This program is distributed in the hope that it will be useful,
            • but WITHOUT ANY WARRANTY; without even the implied warranty of
            • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
            • GNU General Public License for more details.
            • You should have received a copy of the GNU General Public License
            • along with this program. If not, see http://www.gnu.org/licenses/.

            */

            /*

            • DATABASE VARIABLES

            */

            define(‘DATABASE_TYPE’, ‘mysql’); // mysql or oracle
            define(‘DATABASE_HOST’, ‘localhost’);
            define(‘DATABASE_NAME’, ‘fog’);
            define(‘DATABASE_USERNAME’, ‘root’);
            define(‘DATABASE_PASSWORD’, ‘’);

            /*

            • SYSTEM SERVICE VARIABLES

            */

            define( “UDPSENDERPATH”, “/usr/local/sbin/udp-sender” );
            define( “MULTICASTLOGPATH”, “/opt/fog/log/multicast.log” );
            define( “MULTICASTDEVICEOUTPUT”, “/dev/tty2” );
            define( “MULTICASTSLEEPTIME”, 10 );
            define( “MULTICASTINTERFACE”, “eth0” );
            define( “UDPSENDER_MAXWAIT”, null );
            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( “SCHEDULERSLEEPTIME”, 60 );

            /*

            • SYSTEM CONFIG VARIABLES

            */

            require_once(‘system.php’);

            /*

            • IMPORTANT NOTICE!

            • In order to make updating from version to version of fog easier, we have moved
            • most off these settings into the fog database. The only settings which are
            • active are the settings above. All settings below this message are transfered
            • to the fog database during schema update/installation. To modify these
            • settings please use the fog management portal.

            */

            define(‘TFTP_HOST’, “10.20.0.225”);
            define(‘TFTP_FTP_USERNAME’, “fog”);
            define(‘TFTP_FTP_PASSWORD’, “cc9a0b7a329e856c1b8013dd254a2f8e”);
            define(‘TFTP_PXE_CONFIG_DIR’, ‘/tftpboot/pxelinux.cfg/’);
            define(‘TFTP_PXE_KERNEL_DIR’, ‘/tftpboot/fog/kernel/’);
            define(‘PXE_KERNEL’, ‘bzImage’);
            define(‘PXE_KERNEL_RAMDISK’,127000);
            define(‘USE_SLOPPY_NAME_LOOKUPS’,true);
            define(‘MEMTEST_KERNEL’, ‘memtest’);
            define(‘PXE_IMAGE’, ‘init.gz’);
            define(‘PXE_IMAGE_DNSADDRESS’, “”);
            define(‘STORAGE_HOST’, “10.20.0.225”);
            define(‘STORAGE_FTP_USERNAME’, “fog”);
            define(‘STORAGE_FTP_PASSWORD’, “cc9a0b7a329e856c1b8013dd254a2f8e”);
            define(‘STORAGE_DATADIR’, ‘/images/’);
            define(‘STORAGE_DATADIR_UPLOAD’, ‘/images/dev/’);
            define(‘STORAGE_BANDWIDTHPATH’, ‘/fog/status/bandwidth.php’);
            define(‘UPLOADRESIZEPCT’,5);
            define(‘WEB_HOST’, “10.20.0.225”);
            define(‘WOL_HOST’, “10.20.0.225”);
            define(‘WOL_PATH’, ‘/fog/wol/wol.php’);
            define(‘WOL_INTERFACE’, “eth0”);
            define(‘SNAPINDIR’, “/opt/fog/snapins/”);
            define(‘QUEUESIZE’, ‘10’);
            define(‘CHECKIN_TIMEOUT’,600);
            define(‘USER_MINPASSLENGTH’,4);
            define(‘USER_VALIDPASSCHARS’, ‘1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-’);
            define(‘NFS_ETH_MONITOR’, “eth0”);
            define(‘UDPCAST_INTERFACE’, “eth0”);
            define(‘UDPCAST_STARTINGPORT’, 63100 ); // Must be an even number! recommended between 49152 to 65535
            define(‘FOG_MULTICAST_MAX_SESSIONS’,64);
            define(‘FOG_JPGRAPH_VERSION’, ‘2.3’);
            define(‘FOG_REPORT_DIR’, ‘./reports/’);
            define(‘FOG_UPLOADIGNOREPAGEHIBER’,true);
            ?>[/CODE]

            "Failure is not an option. It come pre-installed on Windows…" - Anonymous

            "Life is hard; It's harder if you're stupid" - John Wayne

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              What are you talking about?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                [quote=“Tom Elliott, post: 23628, member: 7271”]Change your FOG Configuration files
                FOG Configuration (?) Icon
                FOG Settings
                Change the areas that have fog/memtest/memtest, fog/images/init.gz, fog/kernel/bzImage to say only memtest, init.gz, bzImage respectively.[/quote]

                Have you followed the above information I already stated?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • B
                  BigMan99211
                  last edited by

                  I guess I don’t understand your directions…

                  "Failure is not an option. It come pre-installed on Windows…" - Anonymous

                  "Life is hard; It's harder if you're stupid" - John Wayne

                  1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    in your fog configuration page, there are settings for the locations for the locations of
                    FOG_TFTP_PXE_KERNEL, which is currently fog/kernel/bzImage it needs to just be bzImage
                    FOG_MEMTEST_KERNEL, which needs to just be memtest
                    and FOG_PXE_BOOT_IMAGE, which needs to just be init.gz

                    no editing of php files, all from the web interface

                    1 Reply Last reply Reply Quote 0
                    • B
                      BigMan99211
                      last edited by

                      OK! Got it! Makes more sense now… 😄

                      "Failure is not an option. It come pre-installed on Windows…" - Anonymous

                      "Life is hard; It's harder if you're stupid" - John Wayne

                      1 Reply Last reply Reply Quote 0
                      • J
                        jbsclm Developer
                        last edited by

                        Confused
                        trying 1263, but getting int 18 boot fail as per the attached.[ATTACH=full]565[/ATTACH]

                        Oddly the ip address is missing from the http line.
                        I thought this would come from
                        /tftpboot/pxelinux.cfg/default
                        but that has the IP address in, and if I modify it the changes don’t appear, implying it is coming from somwhere else.
                        my fog ip is 192.168.3.11.
                        Any thoughts

                        [url=“/_imported_xf_attachments/0/565_boottest Clone.png?:”]boottest Clone.png[/url]

                        1 Reply Last reply Reply Quote 0
                        • J
                          jbsclm Developer
                          last edited by

                          If I revert pxelinux.0 back to pxelinux.0.old it works.

                          I wonder what the difference is?

                          1 Reply Last reply Reply Quote 0
                          • JunkhackerJ
                            Junkhacker Developer
                            last edited by

                            according to Tom’s release notes on r1263, the i believe new pxelinux.0 is a custom compiled ipxe kernel instead of an pxelinux kernel. i suspect there is a flaw in the embedded ipxe config file.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jbsclm Developer
                              last edited by

                              One for Tom to look at methinks.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jbsclm Developer
                                last edited by

                                also task deploy of xp single partition seems broken, says checking disc, a couple of lines later it reboots, without ever having run partclone.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  ArchFan
                                  last edited by

                                  [quote=“Tom Elliott, post: 23631, member: 7271”]I don’t know any more

                                  I’ve since changed it to one required file.

                                  /var/www/{fog,html/fog}/commons/config.php

                                  The other config.php just tells the FOG<SERVICENAME> files to point to the main config.php file.[/quote]

                                  Thanks Tom, didn’t realize it had changed - I was referring to the 2 mentioned [URL=‘http://www.fogproject.org/wiki/index.php/Template:Updating_config_files_for_non-empty_MySQL_root_password’]here[/URL]. I’ll try the fix for the other issue. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    I know what the problem is. No it’s not an error in the configuration of the undionly.kpxe file. It’s a problem that the ${next-server} variable can’t be found if the dhcp server is not the local fog server. Will switch out on the next release, back to the “old” pxelinux.0 file.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      [quote=“ArchFan, post: 23647, member: 19266”]Thanks Tom, didn’t realize it had changed - I was referring to the 2 mentioned [URL=‘http://www.fogproject.org/wiki/index.php/Template:Updating_config_files_for_non-empty_MySQL_root_password’]here[/URL]. I’ll try the fix for the other issue. Thanks[/quote]

                                      I understood what files you meant. I was just saying I removed the need to edit two config.php files a while ago. Just trying to help out.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott
                                        last edited by

                                        r1264 released.

                                        Replaces the undionly.kpxe (pxelinux.0) back to the pxelinux.0.old methods that we all know works. Next will be tracking down the xp issue.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          r1265 released.

                                          Should re-fix windows xp resizable deploy issue.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                          1 Reply Last reply Reply Quote 0
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            r1266 released.

                                            This is a major change.

                                            First I’ll let you know of the minor things.

                                            Trying, once again, with undionly.kpxe file per Junkhacker’s suggestions. Basically it chains to a default.ipxe file that contains the chain to the boot.php file. This way ipxe boot’s faster and without issue, just as we’re used to. No double chain from pxe->ipxe, it’s ipxe->ipxe. The default.ipxe file is generated when you reinstall and uses the fog server’s ipaddress/fog/service/ipxe/boot.php. If you have a special setup, remember this will need to be changed. pxelinux.0.old is still available if you are having issues.

                                            Changelog.txt has been updated with information.

                                            Alright, now the big shocking news.

                                            Those of you using VM’s to test Windows XP using their configuration, be prepared, it’s most likely borked now.

                                            Buildroot is updated to 2014.02 which released stable TODAY!

                                            init.gz is fully 64 bit (hence the forewarning above). With this the kernel is also 64 bit now.

                                            This is needed to read the efi variables properly. Even if I haven’t got a fix for this, I have to be prepared. While many of you may not like this, I will be working to maintain 32 bit versions on the fly. Right now I don’t have them as I completely reworked everything from scratch. If you download kernels through the “unpublished” part of fog 0.33b, they are still 32 bit, so they will NOT work with this brand new init.gz.

                                            Windows 8 UEFI and all originally non-uefi imaging now works. Windows 8 comes with the caveat of only mps/mpa imaging is working. DD should work as well as that’s a bit for bit clone of the hdd. The one I haven’t tested is Single Disk Resizable, though the code base is there, I haven’t tested it. The rest of the caveat to Windows 8 is that, while the upload and deploy now work, the deploy will not leave your system bootable. That’s why I had to make the switch to 64 bit os, so I can test and try fixing this part. The way to fix it for now is after imaging, boot the Windows 8 DVD and choose recover. Follow these instructrions: [url]http://superuser.com/questions/460762/how-can-i-repair-the-windows-8-efi-bootloader[/url]

                                            If your systems, and most of them are, are capable of 64 bit OS, then you should be good. Netbooks and maybe a few laptop models (old, almost antique) may not, but that’s why, if you request a 32 bit init.gz and kernel, I will provide them at request. I haven’t built them yet and I removed my old stuff as I had to work from scratch more or less to get this working.

                                            Hopefully all works well for you,

                                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 51
                                            • 52
                                            • 53
                                            • 54
                                            • 55
                                            • 77
                                            • 78
                                            • 53 / 78
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project