I've been here before so this is basically a copy/paste job.
Don't restart FAHClient from the command line, it doesn't like it, instead reboot the whole computer. This ensures the FAHClient runs under the correct user account with the appropriate permissions (it's not root).
Get the IP address of your linux machine
enter "ip a" into a terminal
this is the readout from my machine, you're looking for adapter "eth0", entry "inet". For me the value returned is 192.168.0.210
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:00:f9:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.210/24 brd 192.168.0.255 scope global dynamic eth0
valid_lft 6444sec preferred_lft 6444sec
inet6 fe80::215:5dff:fe00:f900/64 scope link
valid_lft forever preferred_lft forever
Edit your config.xml file
I have found linux installs to be a bit disjointed and can have two copies of the config.xml file, it's pot luck as to which one the install will use.
They are located at:-
1). /etc/fahclient/config.xml
2). /var/lib/fahclient/config.xml
this is a dump of my config.xml file, obviously the passkey and user values are fake but show the correct format for the values.
Code: Select all
<config>
<!-- Configuration -->
<config-rotate-max v='0'/>
<!-- HTTP Server -->
<allow v='127.0.0.1 192.168.0.0/24'/>
<!-- Logging -->
<log-rotate-max v='0'/>
<verbosity v='3'/>
<!-- Network -->
<proxy v=':8080'/>
<!-- Remote Command Server -->
<command-allow-no-pass v='127.0.0.1 192.168.0.0/24'/>
<!-- Slot Control -->
<pause-on-battery v='false'/>
<pause-on-start v='true'/>
<power v='full'/>
<!-- User Information -->
<passkey v='1234567890abcdef'/>
<user v='donorname'/>
<!-- Web Server -->
<web-enable v='false'/>
<!-- Folding Slots -->
<slot id='0' type='GPU'/>
<slot id='1' type='GPU'/>
</config>
take your ipaddress 192.168.0.210
cut the last part so it reads 192.168.0
append the following ".0/24" to it so it reads 192.168.0.0/24, this is your subnet
open your config.xml file in an editor(vi/vim/ee/nano)
you're looking to add remote control to the client, you want the following entries
<!-- HTTP Server -->
<allow v='127.0.0.1'/>
<!-- Remote Command Server -->
<command-allow-no-pass v='127.0.0.1'/>
edit the values so they look something like this
<!-- HTTP Server -->
<allow v='127.0.0.1 192.168.0.0/24'/>
<!-- Remote Command Server -->
<command-allow-no-pass v='127.0.0.1 192.168.0.0/24'/>
reboot
Install the client onto your Windows machine
On your windows machine do an expert install of the FAHClient.
Do the following:- select Custom install (Advanced), select Start manually (Expert), untick Start Folding@Home.
There is no standalone advanced control package for Windows so we have to install the full client and disable anything which might automatically start it.
Add clients
Start the advanced control panel, Start -> Folding@home -> FAHControl
Add a client to the clients list, click the ADD button at the bottom left, a window pops up.
Name = the name you're using to refer to that particular client.
Address = for Windows you can just use the name of the machine, for linux you have to use the IP address you noted earlier (further setup is required to use a name on linux).
hopefully that should get you to a place where you can connect to your linux folding machine and then we can investigate any other issues your might have.