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

    Latest Development FOG

    Scheduled Pinned Locked Moved
    General
    57
    652
    1.2m
    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.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      I like this Idea, but I just spent the week explaining to my co-workers that FOG wasn’t the reason that our windows image wouldn’t activate because FOG doesn’t work with activation…

      You can see where this is going to be a problem if using the FOG server to activate, it adds another place to point the blame.

      I use the scripts that x23piracy posted, along with a

      set KMS server:
      [I]slmgr.vbs /kms kms.of.corporation.com[/I]

      and haven’t had issues up to this point (other than network issues, or authentication problems none of which has to deal with FOG.)

      I hope others use this tool, I for one don’t want that headache from my boss man -.-

      (Usually I add these scripts to the setupcomplete.cmd but lately the models of tangents we have been receiving require the network drivers to be manually installed after OS installation, so it is a bat script I use to activate after I have connectivity to the network 😉 )

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy
        last edited by

        Hi,

        the kms option is something for the fog settings 😉 Tom please add this.
        If KMS is used also to activate MS Office this will also do the job.
        Nice one Jaymes

        Regards X23

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • sudburrS
          sudburr
          last edited by

          Thank you, the trunk .bz2 is now good.

          [ Standing in between extinction in the cold and explosive radiating growth ]

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

            SVN 2065 released.

            Simply adds the ability to require a login to even get into the advanced menu. Should help out. It does have a DB update for this.

            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
            • I
              Ivanov Alexandru
              last edited by

              Hello , i have svn 2070 on my server instaled , i have compiled HostNameChange.sln with Microsoft Visual Studio C# 2008 Expres edition, and placed the HostnameChange.dll on a Win7 virtual machine for the some tests with win7 serial and ad join.

              In the fog log on win7 machine i got this :

              7/16/2014 11:39 AM FOG::HostnameChanger Attempting to connect to fog server…
              7/16/2014 11:39 AM FOG::HostnameChanger Module is active…
              7/16/2014 11:39 AM FOG::HostnameChanger Index was outside the bounds of the array.
              7/16/2014 11:39 AM FOG::HostnameChanger at FOG.HostNameChanger.changeHostName()

              What i`m doing wrong ?

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

                [quote=“Ivanov Alexandru, post: 33219, member: 18951”]Hello , i have svn 2070 on my server instaled , i have compiled HostNameChange.sln with Microsoft Visual Studio C# 2008 Expres edition, and placed the HostnameChange.dll on a Win7 virtual machine for the some tests with win7 serial and ad join.

                In the fog log on win7 machine i got this :

                7/16/2014 11:39 AM FOG::HostnameChanger Attempting to connect to fog server…
                7/16/2014 11:39 AM FOG::HostnameChanger Module is active…
                7/16/2014 11:39 AM FOG::HostnameChanger Index was outside the bounds of the array.
                7/16/2014 11:39 AM FOG::HostnameChanger at FOG.HostNameChanger.changeHostName()

                What i`m doing wrong ?[/quote]

                I don’t know what you’re doing wrong. Sorry I can’t be of more help.

                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
                • I
                  Ivanov Alexandru
                  last edited by

                  But if i have fog svn 2070 on the server side , and the client is from 1.1.2 , the windows 7 client should change name / ad on the domain the pc ?
                  I have tried with the client downloaded from my local server (without recompil) and the fog log says :

                  7/16/2014 12:17 PM FOG::HostnameChanger AD mode requested, confirming settings.
                  7/16/2014 12:17 PM FOG::HostnameChanger Could not find any recognizable digits.
                  7/16/2014 12:17 PM FOG::HostnameChanger at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
                  at System.Convert.ToByte(String value, Int32 fromBase)
                  at FOG.FOGCrypt.hexToByte(String hex)
                  at FOG.FOGCrypt.decryptHex(String hex)
                  at FOG.HostNameChanger.changeHostName()

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

                    Try 2072, I just added a check to only send the product key if it’s set. The problem with this is if you specify the product key, the hostname changer won’t be able to happen unless you have the newly compiled hostnamechanger.dll 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
                    • I
                      Ivanov Alexandru
                      last edited by

                      Ok I`ll try the svn 2072, with product key , and then without product key.
                      Thanks !.

                      1 Reply Last reply Reply Quote 0
                      • I
                        Ivanov Alexandru
                        last edited by

                        With the product key set i got:
                        7/16/2014 12:34 PM FOG::HostnameChanger Attempting to connect to fog server…
                        7/16/2014 12:34 PM FOG::HostnameChanger Module is active…
                        7/16/2014 12:34 PM FOG::HostnameChanger Failed: Incomplete server response; got: 7; wanted: 6.
                        7/16/2014 12:34 PM FOG::HostnameChanger Host name was not found in the database.

                        Without product key:

                        The pc restart , change hostname , but fail joining the domain with error with Unknown Error code 1332

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

                          Your domain join issue looks like it’s reporting:
                          [code]No mapping between account names and security IDs was done.[/code]

                          This is based on the Error code 1332 described and I found this information:
                          [url]http://msdn.microsoft.com/en-us/library/windows/desktop/ms681385(v=vs.85).aspx[/url]

                          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
                          • I
                            Ivanov Alexandru
                            last edited by

                            Tom , the domain function is ok now , it is succefully changed name , and joined succesfuly on the domain.(without the product key set )
                            For the product key ? on fog interface should be xxxxx-xxxxx-xxxxx-xxxxx-xxxxx or xxxxxxxxxxxxxxxxxxxxxxxxx ?

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

                              I haven’t added any checking for the input, but as it’s using the slmgr cscript function to activate I believe to work properly it needs to be xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

                              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
                              • x23piracyX
                                x23piracy
                                last edited by

                                Hi,

                                would be nice if the webif would check that 5 signs are entered and auto add the “-” to the input field, also if key is pasted it have to check if there are 5x5 pairs separated by “-” if a key is pasted without the “-” it should auto add them if at least 25 signs are pasted.

                                Regards X23

                                ║▌║█║▌│║▌║▌█

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

                                  SVN 2077 released: Please see below.

                                  I’ve now added the ability to add “individual” password login settings to menu items
                                  My current menu that is tested and working, although very minimal, is:
                                  [code]isset ${userID} && goto do_me || goto MENU
                                  :do_me
                                  kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.10.10.1 web=10.10.10.118/fog/ consoleblank=0 loglevel=4 type=down img=win7actsysprep ftp=10.10.10.118 imgType=n osid=7 storage=10.10.10.118:/images capone=1 imgFormat=0
                                  imgfetch init.xz && boot || goto MENU
                                  :MENU
                                  menu
                                  item --gap Please Select one of the images below
                                  item fog.local Boot from hard disk
                                  item d101_64 D101 Base Image (64 bit load)
                                  item return Return to main menu
                                  choose --default fog.local target && goto ${target}
                                  :fog.local
                                  sanboot --no-describe --drive 0x80 || goto MENU
                                  :d101_64
                                  chain -ar ${boot-url}/service/ipxe/advanced.php?login=1 || goto MENU
                                  :return
                                  chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU
                                  autoboot[/code]

                                  Notice the :d101_64 how it has the chain -ar ${boot-url}/service/ipxe/advanced.php?login=1 || goto MENU ?That’s all that’s needed to have a “login” for your menu item. Notice the top where it says :do_me? This is important to note that it’s ABOVE the menu generation part of the advanced menu setup.

                                  As I stated, this is very basic, but a method to :sort: the different functions could be:
                                  [code]isset ${userID} && iseq ${bootnum} 1 && goto do_me ||
                                  isset ${userID} && iseq ${bootnum} 2 && goto do_me2 ||
                                  goto MENU
                                  :do_me
                                  kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.10.10.1 web=10.10.10.118/fog/ consoleblank=0 loglevel=4 type=down img=win7actsysprep ftp=10.10.10.118 imgType=n osid=7 storage=10.10.10.118:/images capone=1 imgFormat=0
                                  imgfetch init.xz && boot || goto MENU
                                  :do_me2
                                  kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=10.10.10.1 web=10.10.10.118/fog/ consoleblank=0 loglevel=4 type=down img=blahblah ftp=10.10.10.118 imgType=n osid=7 storage=10.10.10.118:/images capone=1 imgFormat=0
                                  imgfetch init.xz && boot || goto MENU
                                  :MENU
                                  menu
                                  item --gap Please Select one of the images below
                                  item fog.local Boot from hard disk
                                  item d101_64 D101 Base Image (64 bit load)
                                  item return Return to main menu
                                  choose --default fog.local target && goto ${target}
                                  :fog.local
                                  sanboot --no-describe --drive 0x80 || goto MENU
                                  :d101_64
                                  set bootnum 1
                                  chain -ar ${boot-url}/service/ipxe/advanced.php?login=1 || goto MENU
                                  :d102_64
                                  set bootnum 2
                                  chain -ar ${boot-url}/service/ipxe/advanced.php?login=1 || goto MENU
                                  :return
                                  chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU
                                  autoboot[/code]

                                  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
                                  • sudburrS
                                    sudburr
                                    last edited by

                                    Short of installing, is there a file in the trunk that indicates the svn?

                                    [ Standing in between extinction in the cold and explosive radiating growth ]

                                    1 Reply Last reply Reply Quote 0
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      [quote=“sudburr, post: 33646, member: 4706”]Short of installing, is there a file in the trunk that indicates the svn?[/quote]

                                      The “cloud” on the FOG Web GUI page will display the SVN revision number.

                                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                      1 Reply Last reply Reply Quote 0
                                      • x23piracyX
                                        x23piracy
                                        last edited by

                                        Hi,

                                        i also thougth that first, then i started to believe that he talks about a file (filename or content) with current svn number.
                                        I searched for stuff like that and couldn’t find that if that was the scope.

                                        If yes you may could parse “Revision XXXX” from the source of:
                                        [url]https://svn.code.sf.net/p/freeghost/code/[/url]

                                        [IMG]http://i.imgur.com/0QOYnfU.png[/IMG]

                                        Search for "Revision[SPACE][4NUMBERS], cut last 4.

                                        Regards X23

                                        ║▌║█║▌│║▌║▌█

                                        1 Reply Last reply Reply Quote 0
                                        • sudburrS
                                          sudburr
                                          last edited by

                                          Grabbing a version number from [url]https://svn.code.sf.net/p/freeghost/code/trunk/[/url] doesn’t help me in identifying a downloaded trunk file.

                                          This afternoon I saw 2093 posted as [url]https://svn.code.sf.net/p/freeghost/code/trunk/[/url] , so I immediately downloaded [url]http://mastacontrola.com/fog_trunk.tar.bz2[/url] .

                                          When the download completed I revisited [url]https://svn.code.sf.net/p/freeghost/code/trunk/[/url] and it had changed to 2094. Which version did I just download?

                                          [ Standing in between extinction in the cold and explosive radiating growth ]

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

                                            As the previous gentleman have stated, it’d stored in the “cloud” on the logo part of the page. That being said, the version number’s only change when I make a commit. There’s still Chuck and Jian who can make commits. I do my best to keep up with them but can’t guarantee that it will always the be case. I was at the hospital with my wife so I’m sorry I wasn’t able to keep up when chuck made his commits.

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 32
                                            • 33
                                            • 5 / 33
                                            • First post
                                              Last post

                                            307

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project