Let's see if we can get you up and running.
The "Failed to enable unit" is a red herring, ignore it.
I think you're right about FAHClient already running and throwing a "bind socket" error when you try to manually start it.
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 ipaddress of your ubuntu 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
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>
I think with your manual edit you've probably introduced syntax errors into your config file.
I would suggest deleting your config.xml file and rebooting your computer to create a virgin config.xml file
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
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
on your windows 10 machine running FAHControl use the ipaddress, not the hostname, in the connection address parameters
hopefully that should get you to a place where you can connect to your ubuntu folding machine and then we can investigate any other issues your might have.