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

How-to: Modify your snapinclient.dll file to check in more quickly on a reboot

Scheduled Pinned Locked Moved
Tutorials
4
14
7.6k
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.
  • V
    variable205
    last edited by May 7, 2012, 3:03 PM

    Really quick (possibly stupid) question, with the amount of computers that would periodically check the FOG server for snap-in pushes every 20 seconds, would that bog down the overall network bandwidth?

    1 Reply Last reply Reply Quote 0
    • S
      ssx4life
      last edited by May 7, 2012, 4:16 PM

      It would increase network traffic, but when testing this with wireshark on my network I didn’t notice too much of an increase in overall traffic.

      The pro’s of having this solution is reduced image and deployment time. The con’s being a slight increase in overall network traffic (but marginal on a 450 - 500 networked system here at work.

      Let me know what you find in your overall network traffic, I’m curious. 😃

      thanks.

      1 Reply Last reply Reply Quote 0
      • V
        variable205
        last edited by May 8, 2012, 3:50 PM

        Another question: I don’t have any compilers I can use to recompile the .dll file. Would the file you provided, work when I stick it into the FOG folder? Or would I need to recompile it? Thanks!

        1 Reply Last reply Reply Quote 0
        • S
          ssx4life
          last edited by May 15, 2012, 12:41 PM

          [quote=“variable205, post: 3357, member: 359”]Another question: I don’t have any compilers I can use to recompile the .dll file. Would the file you provided, work when I stick it into the FOG folder? Or would I need to recompile it? Thanks![/quote]

          Sorry for not getting back to you sooner.

          The .dll I provided goes in the client folder (C:\program files (x86)\fog) or just program files on an 32bit os.

          You don’t have to re-compile it, it’s already been modified for a 20 second check in time 😃

          1 Reply Last reply Reply Quote 0
          • V
            variable205
            last edited by May 16, 2012, 2:26 PM

            Excellent! Ty ssx, I’ll go ahead and start regulating my current bandwidth before I implement the .dll file. We got our network worked on and now we got a whole heck a lot of more bandwidth. We’ll see how it goes!

            1 Reply Last reply Reply Quote 0
            • S
              ssx4life
              last edited by May 16, 2012, 2:45 PM

              You may want to start small and monitor your network traffic while implementing this. I didn’t notice any large scale increase in overall network traffic by YMMV.

              Remember you can switch back at any time by swapping the .dll back and restarting the fog service.

              Enjoy.

              1 Reply Last reply Reply Quote 0
              • V
                variable205
                last edited by May 21, 2012, 6:11 PM

                I think I came to the conclusion that I’ll just stick the modified .dll file into my “guinea pig” computer only, when I want to test out some new snap-ins I’ve made. If I can conclude that the snap-in works, I wouldn’t have to worry about having the recipient computer waiting 5 minutes. Therefore, I feel as though there isn’t a need to put it on all of the computers on the network.

                Thanks for the file though! it’ll definitely help me in the long run!

                1 Reply Last reply Reply Quote 0
                • B
                  Blackout Developer
                  last edited by May 21, 2012, 11:53 PM

                  I have lowered the initial snapin client wait from ~5.5minutes - 8.3minutes to 30seconds - 60seconds for the 0.33 release.

                  I cannot see any issue in lowering the initial wait time. The client simply performs 1 HTTP request.
                  Your browser does at least 20 - 30 of these every site / page.

                  1 Reply Last reply Reply Quote 0
                  • V
                    variable205
                    last edited by May 22, 2012, 3:40 PM

                    [quote=“Blackout, post: 3607, member: 1”]I have lowered the initial snapin client wait from ~5.5minutes - 8.3minutes to 30seconds - 60seconds for the 0.33 release.

                    I cannot see any issue in lowering the initial wait time. The client simply performs 1 HTTP request.
                    Your browser does at least 20 - 30 of these every site / page.[/quote]
                    I see! Duly noted. I was just reporting back from my guinea pig computer and it turns out the .dll file didn’t lower down the snapinclientmanager “query.” It still remains at 5 minutes; I must be special 😞

                    1 Reply Last reply Reply Quote 0
                    • B
                      Blackout Developer
                      last edited by May 29, 2012, 12:37 AM

                      The client (including the snapin dll) has not been recompiled yet. This will be done when 0.33 is released.

                      1 Reply Last reply Reply Quote 0
                      • V
                        variable205
                        last edited by May 29, 2012, 9:13 PM

                        [quote=“Blackout, post: 3723, member: 1”]The client (including the snapin dll) has not been recompiled yet. This will be done when 0.33 is released.[/quote]
                        Excellent 🙂

                        1 Reply Last reply Reply Quote 0
                        • X
                          x23piracy
                          last edited by May 11, 2013, 2:48 PM

                          Hi,

                          iam gonna try to recompile the msi myself, if i have success i will upload the new msi for the time till 0.33 rises.

                          Greetz X23

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

                          1 Reply Last reply Reply Quote 0
                          • X
                            x23piracy
                            last edited by May 20, 2013, 10:00 PM

                            Hi,

                            [quote=“Blackout, post: 3723, member: 1”]The client (including the snapin dll) has not been recompiled yet. This will be done when 0.33 is released.[/quote]

                            [quote=“variable205, post: 3753, member: 359”]Excellent :)[/quote]

                            Here we go…

                            [url]http://fogproject.org/forum/threads/silent-install-of-the-fog-service-client-given-hostname-or-ip.4323/[/url]

                            i have recompiled the msi pakage for two ways,
                            faster snapinclient.dll & faster snapinclient.dll and no fog tray autostart entry.

                            See attachments.

                            Greetz X23

                            [url=“/_imported_xf_attachments/0/323_FOG Service Installer_fastsnapinclient.zip?:”]FOG Service Installer_fastsnapinclient.zip[/url][url=“/_imported_xf_attachments/0/324_FOG Service Installer_fastsnapinclient_noautostart.zip?:”]FOG Service Installer_fastsnapinclient_noautostart.zip[/url]

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

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            182

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project