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

    Donation feature working?

    Scheduled Pinned Locked Moved Unsolved
    General
    4
    5
    1.4k
    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.
    • F
      FritzBox360
      last edited by

      Hello,

      i am trying to donate to FOG via the donation-feature in FOG. The feature is enabled and i am on V1.2.0!

      If i start the donation-task my hosts are booting and loading the PXE Image! After that, i see for a few seconds a message like " thank you donating for fog" but after that my screen ist just black, but still activ so no standby. My computer is still running but i do not know if the mining-process is running.

      Is this normal? Is this feature still active or possible? Is there a Problem in my configuration? FOG can use as much cores as availible!

      FOG_MINING_ENABLE	yes	
      FOG_MINING_MAX_CORES	0
      FOG_MINING_FULL_RESTART_HOUR	6
      FOG_MINING_FULL_RUN_ON_WEEKEND	yes	
      FOG_MINING_PACKAGE_PATH	
      http://fogproject.org/fogpackage.zip
      Save Changes
      

      If you have any kind of idea - just post ist! Thank you!

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

        The donation feature is something the mines bitcoins or dark coins as a means to help generate some digital currency that can be used to help the project pay for things like our web host provider. To do so, we use the systems in your environment. To help increase productivity and performance the display is put into a blank stare as a means to to use less system resources and limit power consumption in your environment. The blank screen is purposely blank though pressing the enter key should at least give a means of stopping the process if need be.

        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

        Q 1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @Tom Elliott
          last edited by

          @Tom-Elliott I don’t know how possible or desirable it is, but it might be interesting to have stat page for donations so you can see how much your system has contributed.

          1 Reply Last reply Reply Quote 1
          • F
            FritzBox360
            last edited by

            Alright - thank you!

            So the black screen in normal 😉 - i understand!

            Just one question to the config. What about the "FOG_MINING_MAX_CORES " ? The miner can use the hole system and can use as much cores as are availible. So i configured the zero - it that right?

            Because my systems are nor running hot or using more power as normal in IDLE mode.

            Thank you

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @FritzBox360 said:

              What about the "FOG_MINING_MAX_CORES " ?

              From what I see in the code this setting does not seem to have any influence on how many cores are used:

              #!/bin/bash
              . /usr/share/fog/lib/funcs.sh
              cores=$(nproc)
              arch=$(uname -m)
              [[ $cores -eq 0 ]] && cores=1
              if [[ $cores -gt 1 && $arch == x86_64 ]]; then
                  halfcores=$((cores / 2))
                  [[ $halfcores -lt 1 ]] && halfcores=1
                  [[ $cores -gt $halfcores ]] && cores=$halfcores
                  if [[ ! -f /package/fogpackage/.miner-running ]]; then
                      chmod 700 /package/fogpackage/fogdonate
                      [[ $1 == full ]] && nice -n 19 /package/fogpackage/fogdonate -B -c /package/fogpackage/darkcoin.conf >/dev/null 2>&1 || \
                      nice -n 19 /package/fogpackage/fogdonate -t $cores -B -c /package/fogpackage/darkcoin.conf >/dev/null 2>&1
                      touch /package/fogpackage/.miner-running
                  fi
              fi
              

              @Tom-Elliott Probably you know more about this than I do!?!

              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 / 1
              • First post
                Last post

              159

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project