• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. axel12
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 42
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by axel12

    • RE: FOG node-service

      Soo … something like this ? (attached)

      [url=“/_imported_xf_attachments/1/1738_example.jpg?:”]example.jpg[/url]

      posted in General
      A
      axel12
    • FOG node-service

      I noticed on the developer OpenProject there is a sub-project for node-service … I like writing javascript and somewhat familiar with node … so I was wondering what exactly is the grand plan for node-service?

      Is it something that runs together with node client and queries the FOG server via GET ? Or schedules its own snapins? or the FOG server calls on the client API to have the client execute snapins? I’m not quite sure how snapins fit into this.

      Here is a working example (Windows only, boys) … to install a standalone node and npm … .and to start its own node client. Once the app is loaded - its really up to your imagination what you would like it to do. I suppose together with powershell it can provide a whole heap of statistics - [url]http://nodejs.org/api/os.html[/url]

      Here is what I have:

      [url]https://github.com/capusta/node-service[/url]

      posted in General
      A
      axel12
    • RE: Fog 1.2.0 product key changer

      Volume Licensing???

      I have been using this one for a long while now - it will activate MAK Office and Windows with ZERO hassle !!! (we dont have KMS)

      (Just rename the file to .ps1 instead of .zip … apparently the forms don’t allow .ps1 files to be uploaded)

      Edit the script where you see EDIT ME HERE to input your corporate MAK keys … make sure to match them to the right product … you can also designate the proxy (although i never been able to do that … so I whitelist microsoft instead)

      Domo Arigatto
      (From Japan)

      [url=“/_imported_xf_attachments/1/1737_msActivation.ps1.zip?:”]msActivation.ps1.zip[/url]

      posted in Windows Problems
      A
      axel12
    • RE: Latest Development FOG

      [quote=“Tom Elliott, post: 40904, member: 7271”]SVN 2907 released.
      [/quote]

      Thank you Tom for All of your hard work 🙂

      posted in General
      A
      axel12
    • RE: Deploy Problem (Unable to locate image store)

      Can you send a screen of your /images (ls -lah /images)
      and also, how many storage groups do you have …

      posted in FOG Problems
      A
      axel12
    • RE: Fog client weirdness

      For the second problem - I know there are times when fog does not really clean up the tasks in the actual database. For that, I used phpmyadmin to go into the actual database structure of fog - and clear (literally delete entries) in the “multicastSessions” and “multicastSessionsAssoc” tables … sometimes a session gets stuck in there if (for example) you had a group of 30 computers queued up, but only 29 actually came online, and it is still waiting for that last one - but you delete the task … so its left ‘unfinished’ in the database … it causes some confusion with future tasks … so i just clear that manually from time to time.

      The first problem you notice with “er! host not found” can be caused by:

      1. Your mac address not associated with the host - sometimes it happens when a computer has a wifi mac you do not know about, is using a VPN / masking for some stupid reason, or has had its wifi card replaced. I’m sure that is not your problem though - you seem like you’ve taken care of it and registered ALL possible MAC addresses for your hosts (all laptops have 2 MACs at least, one for WIFI card, one for physical LAN port).
      2. A more interesting problem I ran into is multiple SSIDs -> yes, its weird. So basically, what happens is your laptop boots up (btw, this ONLY affects laptops) and FOG starts up as a service like normal. At my school, we recently switched SSID passwords - so I ended up adding 2 wifi network profiles - one for the old password, one with the new. The idea was “let the laptop connect to whatever wifi accepts the password … so it may connect directly to the new network, or can try to connect to the old network, then error out, then switch to the new network” … assigning multiple profiles to the wifi card works if you are going to switch the wifi password mid-school year. The problem for FOG - is when the client starts up - it looks for an active MAC address to send to the server. If your computer is unlucky - it will try to connect to the old network. It will fail - but during that time - FOG client is unable to find a proper mac address, and errors out - in the sense that it looks for a “null” mac address on the fog server. The solution I found is to put FOG service to start “Delayed Start” … to give the laptop plenty of time to figure out which fuckin’ wifi network works and connect to it properly before looking for a mac address.
        TL;DR: FOG needs a ‘proper’ mac address from windows - if you wifi card is too slow to connect to wifi, FOG client will not have a mac address to look for on the FOG server
      posted in FOG Problems
      A
      axel12
    • RE: Deploy Problem (Unable to locate image store)

      … then at which point does /images/dev/<mac> go away and move into /images? should be after the upload is finished … ?

      posted in FOG Problems
      A
      axel12
    • RE: Deploy Problem (Unable to locate image store)

      Permissions bro !!! The folders you have there “0023…” and “0026…” are in fact your images … the problem is that the system uploaded the images BUT did not rename the folder. Those two numbers are in fact the mac addresses of your two computers that you grabbed the images from. Can you make sure that your /images directory itself has the correct permissions ?

      Now a question for the fog developers: those two folders have +777 permissions … which means world readable/writable - why is that fog is unable to rename those folders? My folders on my fog server are also +777 permissions.

      posted in FOG Problems
      A
      axel12
    • RE: DHCP lease timeout issue

      Speaking of switches - I’ve noticed that the delay will also lengthen due to managed switches. We have Dell Powerconnect switches at my school … the floor switches are unamanged - (i.e. plug and go variety), some of the bigger switches are managed - which means they have a static IP address that you can change, as well as configure any sort of LAGs or VLANS. I’ve noticed that the more managed switches between the fog client and dhcp server - will dramatically increase the waiting time.

      posted in FOG Problems
      A
      axel12
    • RE: SnapinClient Unknown Module ID passed to server.

      Sorry to reply so late now … the problem with the later version of FOG - as I painfully discovered - is that they have difficult time to migrate the schema. The schema said it “migrated successfully” but not in actuality.

      I ended up using PHPmyadmin to manually export the hosts, change a few table names, export the mac addresses, match them up with host IDs, etc. etc. etc. … painful process, but once the correct fields were entered, the whole thing was smooth !

      posted in FOG Problems
      A
      axel12
    • RE: Donations??

      ./run.sh: 2: .: Can’t open /usr/share/fog/lib/funcs.sh

      posted in Feature Request
      A
      axel12
    • RE: Issue with Listing Hosts

      [CODE]tail /var/log/apache2/error.log
      tail /var/log/apache2/access.log
      [/CODE]

      posted in FOG Problems
      A
      axel12
    • RE: SnapinClient Unknown Module ID passed to server.

      Yes, - name: Spapins, short_name: snapinclient.

      I have updated to SVN 2325 and it has taken care of the problem. However it also broke the host search. When searching for hosts - always comes up with 0 results. Everything else seems stable.

      Group search, image search is working correctly.

      Apache LOG:

      172.24.5.22 - - [23/Sep/2014:13:24:41 +0900] “POST /fog/management/index.php?node=host&sub=search HTTP/1.1” 200 821 “[url]http://172.29.0.11/fog/management/index.php?node=host[/url]” “Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36”

      posted in FOG Problems
      A
      axel12
    • RE: SnapinClient Unknown Module ID passed to server.

      Anyone else having the same issue ?

      posted in FOG Problems
      A
      axel12
    • RE: Database Import

      I would recommend to install PHPmyadmin
      [url]http://www.phpmyadmin.net/home_page/index.php[/url]

      You can easily administer your fog database … insert things manually, remove or add columns … you know - all that “admin-y” stuff that lets you break the whole thing if you are not careful. but at least you do not need to know any SQL … and can monitor the back-end directly.

      posted in FOG Problems
      A
      axel12
    • RE: SnapinClient Unknown Module ID passed to server.

      LOL - I’m not a PHP guy, so I would not even begin to know where to troubleshoot.
      [COLOR=#000000][CODE]#!um[/CODE][/COLOR]

      [COLOR=#000000]in servicemodule-active.php:[/COLOR]

      [CODE] // Get the true module ID for comparing what the host has.
      $moduleID = current($FOGCore->getClass(‘ModuleManager’)->find(array(‘shortName’ => $_REQUEST[‘moduleid’])));
      // get the module id
      if (empty($_REQUEST[‘moduleid’]) || !$moduleID || !$moduleID->isValid())
      throw new Exception(‘#!um’);
      // Associate the moduleid param with the global name.
      $moduleName = array(
      ‘dircleanup’ => $FOGCore->getSetting(‘FOG_SERVICE_DIRECTORYCLEANER_ENABLED’),
      ‘usercleanup’ => $FOGCore->getSetting(‘FOG_SERVICE_USERCLEANUP_ENABLED’),
      ‘displaymanager’ => $FOGCore->getSetting(‘FOG_SERVICE_DISPLAYMANAGER_ENABLED’),
      ‘autologout’ => $FOGCore->getSetting(‘FOG_SERVICE_AUTOLOGOFF_ENABLED’),
      ‘greenfog’ => $FOGCore->getSetting(‘FOG_SERVICE_GREENFOG_ENABLED’),
      ‘hostnamechanger’ => $FOGCore->getSetting(‘FOG_SERVICE_HOSTNAMECHANGER_ENABLED’),
      ‘snapin’ => $FOGCore->getSetting(‘FOG_SERVICE_SNAPIN_ENABLED’),
      ‘clientupdater’ => $FOGCore->getSetting(‘FOG_SERVICE_CLIENTUPDATER_ENABLED’),
      ‘hostregister’ => $FOGCore->getSetting(‘FOG_SERVICE_HOSTREGISTER_ENABLED’),
      ‘printermanager’ => $FOGCore->getSetting(‘FOG_SERVICE_PRINTERMANAGER_ENABLED’),
      ‘taskreboot’ => $FOGCore->getSetting(‘FOG_SERVICE_TASKREBOOT_ENABLED’),
      ‘usertracker’ => $FOGCore->getSetting(‘FOG_SERVICE_USERTRACKER_ENABLED’),
      [/CODE]

      Maybe something is wrong with my $FOGCore?

      posted in FOG Problems
      A
      axel12
    • SnapinClient Unknown Module ID passed to server.
      • Was Running FOG 1.0
      • Updated to FOG 1.2
      • Everything is fine (hostname changing, AD adding, etc) …
      • Snapins NOT fine.

      The client was NOT updated on all computers - the client came before V1.0 but it has been doing its job. Now, ALL clients seem to be broken, including when installing from the server itself. So basically, all previous and current clients are experiencing the same problem:

      22/09/2014 09:29 FOG::GreenFog Starting green fog…
      22/09/2014 09:29 FOG::GreenFog Attempting to connect to fog server…
      22/09/2014 09:29 FOG::GreenFog Module is active…
      22/09/2014 09:29 FOG::GreenFog No actions were found.
      22/09/2014 09:29 FOG::GreenFog No tasks found after validation!
      22/09/2014 09:30 FOG::MODDebug Reading config settings…
      22/09/2014 09:30 FOG::MODDebug Reading of config settings passed.
      22/09/2014 09:30 FOG::MODDebug Starting Core processing…
      22/09/2014 09:30 FOG::MODDebug Operating System ID: 6
      22/09/2014 09:30 FOG::MODDebug Operating System Minor: 1
      22/09/2014 09:30 FOG::MODDebug MAC ID 0 [redacted]:20:55
      22/09/2014 09:30 FOG::MODDebug MAC POST String:[redacted]:20:55
      22/09/2014 09:30 FOG::MODDebug A user is currently logged in
      22/09/2014 09:30 FOG::MODDebug Username: [redacted]
      22/09/2014 09:30 FOG::MODDebug Hostname: [redacted]
      22/09/2014 09:30 FOG::MODDebug Attempting to open connect to: [url]http://172.29.0[/url].
      1/fog/service/debug.php
      22/09/2014 09:30 FOG::MODDebug Server responded with: Hello FOG Client
      22/09/2014 09:30 FOG::MODDebug Module has finished work and will now exit.
      22/09/2014 09:33 FOG::ClientUpdater Attempting to connect to fog server…
      22/09/2014 09:33 FOG::ClientUpdater Module is disabled globally on the FOG Ser
      er, exiting.
      [COLOR=#ff0000]22/09/2014 09:34 FOG::SnapinClient Attempting to connect to fog server…[/COLOR]
      [COLOR=#ff0000]22/09/2014 09:34 FOG::SnapinClient Unknown Module ID passed to server.[/COLOR]
      [COLOR=#ff0000]22/09/2014 09:39 FOG::SnapinClient Attempting to connect to fog server…[/COLOR]
      [COLOR=#ff0000]22/09/2014 09:39 FOG::SnapinClient Unknown Module ID passed to server.[/COLOR]
      [COLOR=#ff0000]22/09/2014 09:45 FOG::SnapinClient Attempting to connect to fog server…[/COLOR]
      [COLOR=#ff0000]22/09/2014 09:45 FOG::SnapinClient Unknown Module ID passed to server.[/COLOR]

      When updating to 1.2, seems like Snapin Client breaks down …

      Here is the apache log from the situation:

      172.29.5.7 - - [22/Sep/2014:10:21:18 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]:65:20:55&moduleid=usertracker HTTP/1.1” 200 255 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:21:18 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]65:20:55&moduleid=printermanager HTTP/1.1” 200 255 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:21:18 +0900] “GET /fog/service/displaymanager.php?mac=[redacted]:65:20:55 HTTP/1.1” 200 267 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:21:23 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]:65:20:55&moduleid=hostnamechanger HTTP/1.1” 200 255 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:21:23 +0900] “GET /fog/service/hostname.php?mac=[redacted]:65:20:55 HTTP/1.1” 200 381 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:21:36 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]65:20:55&moduleid=usercleanup HTTP/1.1” 200 254 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:22:03 +0900] “GET /fog/service/PrinterManager.php?mac=[redacted]:65:20:55 HTTP/1.1” 200 259 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:22:08 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]65:20:55&moduleid=greenfog HTTP/1.1” 200 255 “-” “-”
      172.29.5.7 - - [22/Sep/2014:10:22:17 +0900] “GET /fog/service/servicemodule-active.php?mac=[redacted]65:20:55&moduleid=dircleanup HTTP/1.1” 200 255 “-” “-”

      Anyone have any ideas? Am I missing something? Is there something I have to upgrade?

      posted in FOG Problems
      A
      axel12
    • Donations??

      I know the “donate” feature when imaging … and yes, it is nice … but I also have a rig or two and willing to throw coins … however …

      There is no clearly identifiable donation address for BTC / LTC / DODGE … something like what thepiratebay is doing at the bottom of their page - very passive, yet also clearly visible.

      … you know … for those people who would rather NOT user school resources to do hashing in order to contribute to this great project.

      posted in Feature Request
      A
      axel12
    • RE: Windows 7 and FOG Display Management Service

      yesss !!!
      +1 upvote for the team …

      [as a side note … perhaps someone can convince the developer to update the printer manager feature - where the the “add printer” mode the client doesnt bitch at you saying “bro, I can’t add this printer, it has already been added” … just error silence … ]

      … not really anything bad … just simply stops people from calling the IT department with “errors” … which are not really errors.

      posted in FOG Problems
      A
      axel12
    • RE: Problem with cloning computers.

      Are you running a Grub or Windows bootloader? (does your windows bootloader load linux, or does your linux boot loader loads windows).

      I would recommend experimenting with “linux / windows7” computer types in FOG … since a “dual boot” machine can be counted as EITHER linux OR windows.

      have you tried using both options?

      posted in FOG Problems
      A
      axel12
    • 1 / 1