Skip to content

Instantly share code, notes, and snippets.

@oguya
Created September 30, 2015 12:21
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save oguya/5924b94c1be6ae9e070d to your computer and use it in GitHub Desktop.
Save oguya/5924b94c1be6ae9e070d to your computer and use it in GitHub Desktop.
FAHClient config. file—/etc/fahclient/config.xml
<config>
<!-- See sample config: /usr/share/doc/fahclient/sample-config.xml -->
<!-- Client Control
Don't fold anonymously, provide user info. -->
<fold-anon v='false'/>
<!-- Folding Slot Configuration -->
<gpu v='true'/> <!-- If true, attempt to autoconfigure GPUs -->
<!-- Slot Control
Options: light, medium or full
Watch out for high load -->
<power v='full'/>
<!-- User Information
Send all those points to team NairobiLUG 229502
http://fah-web2.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=229502 -->
<user v='James_Oguya'/>
<passkey v='ZZZZZZZZZZZZZZZZZZZZZZ'/>
<team v='229502'/>
<!-- Folding Slots -->
<!-- Use all the CPUs
Watch out for high load -->
<slot id='0' type='CPU'/>
<slot id='1' type='GPU'/>
<!-- Grant Remote Web Access
access web UI at 192.168.1.63:7396 -->
<allow>127.0.0.1 192.168.1.63</allow>
<web-allow>127.0.0.1 192.168.1.63</web-allow>
</config>
<!-- vim: set sw=2 ts=2: -->
@jwilliamshirley
Copy link

Thank you thank you for the GPU config help.

@askrabal
Copy link

  <allow>127.0.0.1 192.168.1.63</allow>
  <web-allow>127.0.0.1 192.168.1.63</web-allow>

Should be

  <allow v='127.0.0.1 192.168.1.63' />
  <web-allow v='127.0.0.1 192.168.1.63' />

@davidhcefx
Copy link

davidhcefx commented Apr 4, 2021

<!-- Folding Slot Configuration -->
<cpus v='1'>     <!-- How many CPUs a slot should use. <= 0 will use all the CPUs detected in the system. -->

<!-- Slot Control -->
<idle v='true'>  <!-- Only run slot when idle. -->

For more options, see this thread: https://foldingforum.org/viewtopic.php?f=61&t=32531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment