Linux Guides

FAH setup guide for Ubuntu – For a video demonstration please CLICK HERE, For a picture guide please CLICK HERE, For a bullet text guide please CLICK HERE
Remote access from LAN – For a video demonstration please CLICK HERE, For a picture guide please CLICK HERE, For a text bullet guide please CLICK HERE

FAH Ubuntu setup guide

  • For a video guide please CLICK HERE, For a picture setup guide please CLICK HERE
  • Step 1. Go to http://folding.stanford.edu/ the Stanford Folding@home website
  • Step 2. Click the download button on the top of the page
  • Step 3. You will need to download each of the 3 .deb files presented to you. Please follow steps 4-6 for each .deb file
  • Step 4. Open with the Ubuntu Software Center
  • Step 5. Click “install” on the software center
  • Step 6. Enter your credentials to continue
  • Step 7. The next few sections only apply to those that have an NVIDIA GPU. If you do not have an NVIDIA graphics card you can skip down to STEP 18. If you have an ATI card it is not currently supported on Linux and you can only use it in a Windows PC. Go to https://developer.nvidia.com/cuda-zone and click the downloads section at the top
  • Step 8. Click the Linux section and scroll down to the Ubuntu 14.04 and click the .DEB download link
  • Step 9. Save the file, do not open with the software center
  • Step 10. Make sure that the .deb file is in your downloads folder in order to use the sudo commands exactly as we have them on this tutorial
  • Step 11. The following steps will be the sudo commands needed in terminal. If you need additional help should this not work please review quantstart.com as this is where we found the following steps.
  • Step 12. Open terminal and enter this sudo command:

    sudo apt-get install build-essential

  • Step 13. Once that is done enter this sudo command:

    cd ~/Downloads
    wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_6.5-14_amd64.deb

  • Step 14. Once that is done enter this sudo command:

    sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb

  • Step 15. Once that is done enter this sudo command:

    sudo apt-get update

  • Step 16. Once that is done enter this sudo command:

    sudo apt-get install cuda

  • Step 17. Once the install is complete please restart your PC
  • Step 18. Once your PC comes back on go to terminal and simply type:

    FAHClient

  • Step 19. Then this terminal window will actually be running the FAHClient. Do not close this window as you will cease to fold if you do
  • Step 20. Search in your Ubuntu programs for “FAHControl” and open it
  • Step 21. A prompt should come up with the control client asking you to configure your identity. Click “Configure Identity”
  • Step 22. Now you need to setup your donor name, team, and passkey. You will need to obtain a Counterwallet address before doing this. Please CLICK HERE to follow this tutorial for getting a Counterwallet if you haven’t already got one. There are multiple ways in which you can create a donor name. Pick which ever one of the following, each has its own unique qualities:
    • 22a. Username Folding – In this style, you will receive only FLDC and you can be on any team that you desire. So if you have had a long standing relation with another Folding community, you do not have to leave that community. Your donor name should be modeled as such:

      “AnyUsername_FLDC_CounterwalletAddress”

    • 22b. Merged Folding – (THIS OPTION IS NOT AVAILABLE, FEBRUARY 5th 2015 IS THE LAUNCH DATE) FoldingCoin Inc. is creating a platform in which other coins from other Dev teams will distribute their tokens in a similar way that FLDC is. PLEASE READ HERE for more information on this. You can now receive FLDC and your choice of any coin found ON THIS LIST. We are calling this “merged folding”. You will simply replace the “_FLDC_” with the alternative tokens symbol. Your donor name should be modeled as such:

      “AnyUsername_TOKEN_CounterwalletAddress”

    • 22c. All tokens – (THIS OPTION IS NOT AVAILABLE, FEBRUARY 5th 2015 IS THE LAUNCH DATE) With the above mentioned Merged Folding concept, should you want to receive any coin that is built on the platform, simply use “_ALL_” and you will receive any token that gets added to the list in the future. Your donor name should be modeled as such:

      “AnyUsername_ALL_CounterwalletAddress”

    • 22d. Basic Folding – This is the original folding format and is still supported today. This format strictly requires your Counterwallet address ONLY. The other limitation to this is you MUST be on team 226728. You cannot be on other teams and do this format. Your donor name should be modeled as such:

      “CounterwalletAddress”
  • Step 23. Now you need to obtain a passkey from the Folding@home website. You simply click the hotlink provided in the paragraph explaining the passkey. You MUST get a passkey in order to receive full FAH credits. Without a passkey, Stanford will only give you a fraction of the credits you have actually earned.

    Once you are at the passkey webpage, you must enter a donor name and email. The donor name you type here is exactly what you have chosen in Step 22. Then enter your email address and select the button “Get Passkey”. FYI: If you ever change your Donor Name, you must get a new passkey. You can use the same email though. You do not need a new passkey if you change teams.

  • Step 24. Go to your email and copy the passkey
  • Step 25. Enter the passkey in the provided field and click “Save”
  • Step 26. You are all done! Folding@home will run in the background depending on the different configuration settings that you apply. Please review our additional tutorials for more information on how to tweak your Folding rigs. You can look HERE for your FAHControl client configurations


    FAH Ubuntu setup picture guide

    For a video guide please CLICK HERE, For a bullet text setup guide please CLICK HERE


    Step 1. Go to http://folding.stanford.edu/ the Stanford Folding@home website


    Step 2. Click the download button on the top of the page

    step1



    Step 3. You will need to download each of the 3 .deb files presented to you. Please follow steps 4-6 for each .deb file

    step 2



    Step 4. Open with the Ubuntu Software Center

    step3



    Step 5. Click “install” on the software center

    step5



    Step 6. Enter your credentials to continue

    step 6



    Step 7. The next few sections only apply to those that have an NVIDIA GPU. If you do not have an NVIDIA graphics card you can skip down to STEP 18. If you have an ATI card it is not currently supported on Linux and you can only use it in a Windows PC. Go to https://developer.nvidia.com/cuda-zone and click the downloads section at the top

    step7



    Step 8. Click the Linux section and scroll down to the Ubuntu 14.04 and click the .DEB download link

    step 8



    Step 9. Save the file, do not open with the software center

    step 9



    Step 10. Make sure that the .deb file is in your downloads folder in order to use the sudo commands exactly as we have them on this tutorial



    Step 11. The following steps will be the sudo commands needed in terminal. If you need additional help should this not work please review quantstart.com as this is where we found the following steps.



    Step 12. Open terminal and enter this sudo command:

    sudo apt-get install build-essential

    step 12



    Step 13. Once that is done enter this sudo command:

    cd ~/Downloads
    wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_6.5-14_amd64.deb

    step 13



    Step 14. Once that is done enter this sudo command:

    sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb

    step 14



    Step 15. Once that is done enter this sudo command:

    sudo apt-get update

    step 15



    Step 16. Once that is done enter this sudo command:

    sudo apt-get install cuda

    This will install cuda on your terminal. This is a 1.8 GB file that needs to unpack. This will take sometime so please make sure you wait until it is finished before continuing.

    step 16



    Step 17. Once the install is complete please restart your PC. The terminal prompt should look something like this before restart:


    step 17



    Step 18. Once your PC comes back on go to terminal and simply type:

    FAHClient

    step 18



    Step 19. Then this terminal window will actually be running the FAHClient. Do not close this window as you will cease to fold if you do

    Step 19



    Step 20. Search in your Ubuntu programs for “FAHControl” and open it

    step 20



    Step 21. A prompt should come up with the control client asking you to configure your identity. Click “Configure Identity”

    step 21



    Step 22. Now you need to setup your donor name, team, and passkey. You will need to obtain a Counterwallet address before doing this. Please CLICK HERE to follow this tutorial for getting a Counterwallet if you haven’t already got one. There are multiple ways in which you can create a donor name. Pick which ever one of the following, each has its own unique qualities:



    22a. Username Folding – In this style, you will receive only FLDC and you can be on any team that you desire. So if you have had a long standing relation with another Folding community, you do not have to leave that community. Your donor name should be modeled as such:

    “AnyUsername_FLDC_CounterwalletAddress”

    donor a



    22b. Merged Folding – (THIS OPTION IS NOT AVAILABLE, FEBRUARY 5th 2015 IS THE LAUNCH DATE) FoldingCoin Inc. is creating a platform in which other coins from other Dev teams will distribute their tokens in a similar way that FLDC is. PLEASE READ HERE for more information on this. You can now receive FLDC and your choice of any coin found ON THIS LIST. We are calling this “merged folding”. You will simply replace the “_FLDC_” with the alternative tokens symbol. Your donor name should be modeled as such:

    “AnyUsername_TOKEN_CounterwalletAddress”

    donor merged



    22c. All tokens – (THIS OPTION IS NOT AVAILABLE, FEBRUARY 5th 2015 IS THE LAUNCH DATE) With the above mentioned Merged Folding concept, should you want to receive any coin that is built on the platform, simply use “_ALL_” and you will receive any token that gets added to the list in the future. Your donor name should be modeled as such:

    “AnyUsername_ALL_CounterwalletAddress”

    step 22c



    22d. Basic Folding – This is the original folding format and is still supported today. This format strictly requires your Counterwallet address ONLY. The other limitation to this is you MUST be on team 226728. You cannot be on other teams and do this format. Your donor name should be modeled as such:

    “CounterwalletAddress”

    original donor name



    Step 23. Now you need to obtain a passkey from the Folding@home website. You simply click the hotlink provided in the paragraph explaining the passkey. You MUST get a passkey in order to receive full FAH credits. Without a passkey, Stanford will only give you a fraction of the credits you have actually earned.




    Once you are at the passkey webpage, you must enter a donor name and email. The donor name you type here is exactly what you have chosen in Step 22. Then enter your email address and select the button “Get Passkey”. FYI: If you ever change your Donor Name, you must get a new passkey. You can use the same email though. You do not need a new passkey if you change teams.

    passkey



    Step 24. Go to your email and copy the passkey. Your email should look something like this

    email passkey



    Step 25. Enter the passkey in the provided field and click “Save”



    Step 26. You are all done! Folding@home will run in the background depending on the different configuration settings that you apply. Please review our additional tutorials for more information on how to tweak your Folding rigs. You can look HERE for your FAHControl client configurations.



    FAH remote access from LAN

    • Remote access from LAN – For a video demonstration please CLICK HERE, For a picture guide please CLICK HERE
    • Step 1. Go to your advanced configuration from the computer you wish to control by opening your FAHControl application
    • Step 2. Select the “Remote Access” tab and enter a password in the provided field then save and close
    • Step 3. Go to terminal and type: ip -4 addr to get the ip address of the computer to be accessed
    • Step 4. Exit out of your FAHClient terminal simply by closing the terminal window and then reopen it
    • Step 5. Go to the FAHControl on the computer that you wish to monitor the remote computer and click “Add” on the bottom of the left hand side
    • Step 6. A prompt will come up and you need to add the following imformation: Name: your choice Address: the ip obtained in step 3 Password: password from step 2, once completed click “save”
    • Step 7. Your done! Add as many clients as you would like using this method


      FAH remote access from LAN


      Remote access from LAN – For a video demonstration please CLICK HERE, For a text bullet guide please CLICK HERE


      Step 1. Go to your advanced configuration from the computer you wish to control by opening your FAHControl application



      Step 2. Select the “Remote Access” tab and enter a password in the provided field then save and close



      Step 3. Go to terminal and type: ip -4 addr to get the ip address of the computer to be accessed



      Step 4. Exit out of your FAHClient terminal simply by closing the terminal window and then reopen it



      Step 5. Go to the FAHControl on the computer that you wish to monitor the remote computer and click “Add” on the bottom of the left hand side



      Step 6. A prompt will come up and you need to add the following imformation: Name: your choice Address: the ip obtained in step 3 Password: password from step 2, once completed click “save”



      Step 7. Your done! Add as many clients as you would like using this method