• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. chad-bisd
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 1
    • Topics 12
    • Posts 1,148
    • Best 4
    • Controversial 0
    • Groups 1

    Posts made by chad-bisd

    • RE: Error Installing Fog - FOG Multicast Management Server Failed

      [B]When you run the installer, are you running it with SUDO or equivalent?[/B]

      If you are and still having the issue, continue…

      Ok. Checking through the 0.32 source code for a RedHat based install, it appears that it should be copying files to the init.d path and then trying to start those services using
      [CODE]
      service ${initdMCfullname} restart >/dev/null 2>&1;
      service ${initdMCfullname} status >/dev/null 2>&1;
      [/CODE]

      where initdMCfullname=“FOGMulticastManager”;

      the result of the “status” check is failing. Make sure in your init.d path (/etc/init.d possibly), you have a file called FOGMulticastManager, and its permissions are rwxr-xr-x root root.

      If you do, try running
      [CODE]
      sudo service FOGMulticastManager restart
      [/CODE]

      and check the output.

      If you need to, run
      [CODE]
      sudo service FOGMulticastManager status
      [/CODE] and check the output.

      posted in FOG Problems
      C
      chad-bisd
    • RE: [MOD] Sort group members by hostname - 0.32, Ubuntu 10.04 LTS

      I don’t mind at all. I haven’t been keen on trying to mod 0.33 code because I don’t yet understand the class changes and what code might be abandoned or moved into methods as opposed to being in include files.

      posted in Tutorials
      C
      chad-bisd
    • RE: Error Installing Fog - FOG Multicast Management Server Failed

      You can open another terminal using ALT+F2, and do a [CODE]tail -f /var/log/syslog[/CODE] as you do the install.

      Toggle between the screens using ALT+F1 for the installer and ALT+F2 for the log.

      This might help us find what is happening.

      The syslog may be in a different location for CentOS. I’m kind of spoiled to Ubuntu.

      posted in FOG Problems
      C
      chad-bisd
    • [MOD] Sort group members by hostname - 0.32, Ubuntu 10.04 LTS

      I got really annoyed with the membership page for groups. The list was in seemingly random order and it make finding a particular member a bit of a pain. Plus I like things sorted.

      I basically copied a an existing function and modified it to do what I wanted, then made the calling page use the new function. This way I didn’t step on anything FOG was doing elsewhere. I’m pretty sure now that I could have just modified the original function, but I haven’t had the time to verify.

      First, you’ll want to make a copy of the original file before modifying it.
      [CODE]
      sudo cp /var/www/fog/commons/functions.include.php /var/www/fog/commons/functions.include.BACKUP.php
      [/CODE]

      Then open up the /var/www/fog/commons/functions.include.php and go to line 1425. This should be the end of the function getImageMembersByGroupID.

      Make a few blank lines below the end of the function and paste in the following.

      [CODE]
      function getImageMembersByGroupIDSorted( $conn, $groupID )
      {
      $arM = array();
      if ( $conn != null && $groupID != null )
      {
      $sql = “SELECT
      groupMembers.gmHostID
      FROM
      groups inner join groupMembers
      on (groups.groupID = groupMembers.gmGroupID)
      inner join hosts
      on (hosts.hostID = gmHostID)
      WHERE groups.groupID = $groupID
      ORDER BY hosts.hostName”;

                  $res = mysql_query( $sql, $conn ) or criticalError( mysql_error(), _("FOG :: Database error!") );
                  $arHosts = array();
                  while( $ar = mysql_fetch_array( $res ) )
                  {
                          $arHosts[] = $ar["gmHostID"];
                  }
                  
                  for( $i = 0; $i < count( $arHosts ); $i++ )
                  {
                          $tmpMember = getImageMemberFromHostID( $conn, $arHosts[$i] );
                          if( $tmpMember != null )
                                  $arM[] = $tmpMember;
                  }
          }
          return $arM;
      

      }
      [/CODE]

      Save the file.

      Now to edit the file that uses this function.

      Make a backup of the file, just in case.
      [CODE] sudo cp /var/www/fog/management/includes/groups.edit.include.php /var/www/fog/management/includes/groups.edit.include.BACKUP.php[/CODE]

      Now open the file for editing.
      [CODE]
      sudo nano -w /var/www/fog/management/includes/groups.edit.include.php
      [/CODE]

      On or near line 641, you’ll be inside the if ( $_GET[“tab”] == “member” ) block. Change the function call to your new function name.

      Original line:
      [CODE]$members = getImageMembersByGroupID( $conn, $ar[“groupID”] );[/CODE]
      Modified line:
      [CODE]$members = getImageMembersByGroupIDSorted( $conn, $ar[“groupID”] );[/CODE]

      Save the file. Now membership listing should display sorted by hostname.

      posted in Tutorials
      C
      chad-bisd
    • RE: Error Installing Fog - FOG Multicast Management Server Failed

      Did you make sure to update your sources/OS before installing FOG? On ubuntu, that’s apt-get update following by an apt-get upgrade.

      This makes sure you have the latest info on the packages. This can solve many a tricky install problem.

      posted in FOG Problems
      C
      chad-bisd
    • RE: Fog clients send inventory to wrong fog server

      did you try sudo before editting the files?

      [CODE]
      sudo nano -w /var/www/fog/…whatever
      [/CODE]

      posted in FOG Problems
      C
      chad-bisd
    • RE: FOG server on multiple IPs on multiple VLANs

      Tell your network guys to turn on IGMP snooping so that the network equipment only sends multicast traffic to interfaces that request it. They may have to setup multicast groups or multicast profiles depending on the make/model/revision of networking equipment you have.

      You only need to have multiple interfaces on the FOG server if you actually create untagged VLAN ports on the switch for each group. Untagged ports basically act as a separate switch. Like if you had your FOG server and 4 workstations plugged into ports 1-5 and they were all untagged VLAN 20. They could only talk to each other and nothing else on the switch. If you tag those ports to the other VLANS, then any device that understands tagging (802.1Q I think) can decide for itself if the traffic belongs to it.

      To be able to help you, I think we need more concrete details.

      Your subnetting/VLAN info to start. I’ll assume you are using private addressing (10.x.x.x, 172.16.x.x, or 192,168.x.x) right?

      posted in Linux Problems
      C
      chad-bisd
    • RE: ISO Tutorial: How to set fog to overwrite images

      There is a post/wiki article somewhere around here that shows how to customize fog to prompt you for which drives to include in a task.

      posted in Tutorials
      C
      chad-bisd
    • RE: Backup Feature for user profiles/Data

      Can you update your posts above to use the CODE tags around the code, and if possible include approximate line numbers of where to begin?

      Awesome job.

      posted in Tutorials
      C
      chad-bisd
    • RE: TFTP issues, but fixable...?

      This is not really a FOG issue, it’s an Ubuntu 12.04 issue in how they start the daemons before the interface has an IP bound to it.

      posted in Windows Problems
      C
      chad-bisd
    • RE: Hostname change

      In the FOG web management, you can update the value under Other Information -> Fog Settings -> FOG_CHANGE_HOSTNAME_EARLY to 0 and the imaging script will not try to update the username by editing a registry key before windows loads.

      If you do not install the FOG service, you’re hosts will not rename after they load windows. You can also disable the hostnamechanger option in the FOG Service install, per host record, and for your FOG server completely.

      posted in General
      C
      chad-bisd
    • RE: Web interface slow navigating and gray screen - fog 0.32

      Does your FOG server have internet access? The FOG web management login page tries to do an AJAX query to show the latest version and how many FOG servers are reporting in.

      posted in FOG Problems
      C
      chad-bisd
    • RE: More control with Partitions

      There is a thread/wiki article about some custom mods a guy made for his company. See if you can find that.

      posted in General
      C
      chad-bisd
    • RE: Volume not Found error

      check the permissions on the new location. If you renamed the old /images so you could make a new /images folder on the other partition, you may have left the default permissions, which are too restrictive for imaging.

      posted in FOG Problems
      C
      chad-bisd
    • RE: Requests for Wiki Access <--- ASK HERE

      [quote=“the_real_jumbo, post: 15624, member: 14383”]I’m evaluating a few different imaging/cloning/burn in testing solutions for my employer. Can I get access to the wiki?[/quote]

      You only need a login if you want to edit the wiki. You can read the wiki without any special permissions.

      posted in General
      C
      chad-bisd
    • RE: FOG 0.32 and Windows 8 Image Upload Problems

      Updated link…

      [url]http://dinomite.net/blog/2007/setting-up-ubuntu-for-building-kernel-modules/[/url]

      There are some notes about steps that I did not need to perform since this guide is from 2007. But kernel compiling hasn’t changed that much theoretically, just the actual syntax of the commands.

      posted in FOG Problems
      C
      chad-bisd
    • RE: How do you deal with Licensing?

      I don’t think there is much of a difference other than having more products licensed. If you have KMS host keys avialable in your VLSC, you can use them to activate a KMS server for that product. And you can use the same KMS server to KMS activate multiple products.

      posted in Windows Problems
      C
      chad-bisd
    • RE: FOG 0.32 and Windows 8 Image Upload Problems

      I have a thread somewhere about an Acer Iconia Tab and compiling a custom kernel with new drivers. It may shed some light on this.

      posted in FOG Problems
      C
      chad-bisd
    • RE: FOG 0.32 and Windows 8 Image Upload Problems

      Do you have a workstation setup for kernel compiling yet? It can be a VM in VirtualBox or VMWare?

      Once you have that, you can start the kernel config steps and see if the Atheros LAN drivers are already included in the config options. If so, it may be as easy as finding the source files and replacing them with newer ones. If not, you will have to edit the config options to add support for your new drivers and tell it how to compile the drivers during kernel compile time.

      It sounds daunting, but it’s not really that bad. I setup a VirtualBox running Ubuntu 11 desktop version, followed a quick guide on the internet to get the compile tools and source files for kernel version I wanted, then copied the original kernel config from the FOG download. I had to overwrite my old “Asix USB to Ethernet” drivers, which was under usb/networking/ somewhere. It overwrote the existing asix.c, asix.h and another file, and added an extra file. When I went into the config and told it to compile in those drivers, the new kernel worked. I got lucky in that I didn’t have to specify new config or compile options.

      posted in FOG Problems
      C
      chad-bisd
    • RE: Forum to Email ?

      You can set your options to auto subscribe to any thread to which you post. That is how I keep up with the threads I care about.

      posted in General
      C
      chad-bisd
    • 1 / 1