FAHControl at Raspberry pi

If you're new to FAH and need help getting started or you have very basic questions, start here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Ibringapples
Posts: 42
Joined: Fri Apr 10, 2020 3:53 am

FAHControl at Raspberry pi

Post by Ibringapples »

Hello,

I'd like to install the FAHClient in a Raspberry pi to watch and monitorize a few machines that I have running.

Is there a way to install it?

Thank you very much :)
davidcoton
Posts: 1102
Joined: Wed Nov 05, 2008 3:19 pm
Location: Cambridge, UK

Re: FAHControl at Raspberry pi

Post by davidcoton »

Nice idea. I think you only need FAHControl, which is written in Python. So it should be possible to port the Linux (x64) package to Raspbian (ARM) -- unless there is some component that prevents it.
I'm not familiar with the innards, though. I think the source is now available on Github.
Image
Joe_H
Site Admin
Posts: 7856
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: FAHControl at Raspberry pi

Post by Joe_H »

There is also a document on GitHub that discusses the API, so you could create your own interface to run on another system to manage/monitor the F@h client remotely. One person I am aware of did that for iOS, look for FahMM.

https://github.com/FoldingAtHome/fah-co ... Client-API
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Ibringapples
Posts: 42
Joined: Fri Apr 10, 2020 3:53 am

Re: FAHControl at Raspberry pi

Post by Ibringapples »

Hello!!

Worked for me after install:

Code: Select all

sudo apt-get install -y python-stdeb python-gtk2 python-all debhelper
Useless info: Looks cool :D

Thanks a lot.
davidcoton
Posts: 1102
Joined: Wed Nov 05, 2008 3:19 pm
Location: Cambridge, UK

Re: FAHControl at Raspberry pi

Post by davidcoton »

Not useless at all: very good info when the next person (here or on the Pi forum) demands a Pi folding client.
Much better than the normal "Pis aren't powerful enough for Folding", which I've had to say too often.
Thanks for trying it!
Image
rbtfrog
Posts: 4
Joined: Tue Apr 21, 2020 9:13 am

Re: FAHControl at Raspberry pi

Post by rbtfrog »

Hello! I tried this, but it tells me that it is "E: Unable to locate package python-gtk2".
I'm running "Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1022-raspi aarch64)"
I think that with version 20.04 Ubuntu has deprecated python2 and uses python3 (currently 3.8) as the default, and so python-gtk2 (which depended on python2.7) has been obsoleted.
Other than downgrading my Ubuntu version, is there a known solution?
Ibringapples wrote:Hello!!

Worked for me after install:

Code: Select all

sudo apt-get install -y python-stdeb python-gtk2 python-all debhelper
Useless info: Looks cool :D

Thanks a lot.
MeeLee
Posts: 1375
Joined: Tue Feb 19, 2019 10:16 pm

Re: FAHControl at Raspberry pi

Post by MeeLee »

For Ubuntu-like operating systems, the last compatible OS for FAHControl is 18.04 (supported until 2023).
Get the Arm64 18.04.4 image for Raspberry pi here: https://wiki.ubuntu.com/ARM/RaspberryPi
Post Reply