Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 46
Posts: 46   Pages: 5   [ Previous Page | 1 2 3 4 5 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 13558 times and has 45 replies Next Thread
jab_au
Cruncher
Australia
Joined: Aug 23, 2005
Post Count: 5
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

This is how I did it. Assuming your using Boinc Stats to manage your Boinc systems https://www.boincstats.com/

Install Ubuntu 20.04 LTS 64bit https://ubuntu.com/download/raspberry-pi

Setup OS with internet access

Install Boinc (sudo apt install boinc-client) for headless

sudo boinccmd --join_acct_mgr https://bam.boincstats.com <username> <password>

Add armhf compatibility
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt-get install libc6:armhf libstdc++6:armhf
sudo reboot

Edit config file to support both types
sudo nano /var/lib/boinc/cc_config.xml

Add these lines to cc_config.xml
<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
</options>

Add the projects you want to your Pi to work on through boinc stats.
[Jun 6, 2020 8:57:04 AM]   Link   Report threatening or abusive post: please login first  Go to top 
poppinfresh99
Cruncher
Joined: Feb 29, 2020
Post Count: 49
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture


Setup OS with internet access

I never needed to do this. Do you mean setup WiFi? Over Ethernet, I could immediately do one of the following...
ssh -Y ubuntu@<ip address>
ssh -Y ubuntu@ubuntu.local
where password was initially ubuntu. How to find your IP address if you don't have access to your router is explained in tutorial in the link you gave.


Install Boinc (sudo apt install boinc-client) for headless

I also do headless, but I recommend the full install...
sudo apt install boinc
This allows you to run
boincmgr &
if you are using the "ssh -Y" with the -Y flag to enable trusted X11 forwarding (on macOS and Linux). If your OS is Windows and you are using PuTTY for SSH, install Xming and configure PuTTY to enable X11 forwarding...
https://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty


Add armhf compatibility
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt-get install libc6:armhf libstdc++6:armhf
sudo reboot

WCG doesn't require this, though Universe@home did, and I think some projects require extra libraries. The following command tells me that WCG is statically-linked rather than dynamically-linked...
file /var/lib/boinc/projects/www.worldcommunitygrid.org/wcgrid_opn1_autodock_7.17_arm-unknown-linux-gnueabihf


Add the projects you want to your Pi to work on through boinc stats.

Oh, that's neat. I guess you don't need to run the following if you add the projects after changing cc_config.xml...
sudo systemctl restart boinc-client
[Jun 6, 2020 2:37:39 PM]   Link   Report threatening or abusive post: please login first  Go to top 
mgpointner
Advanced Cruncher
Argentina
Joined: Nov 16, 2009
Post Count: 55
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I use boinctui to manage the boinc client in my headless instalations

sudo apt-get install boinctui
----------------------------------------

[Jun 7, 2020 5:26:41 AM]   Link   Report threatening or abusive post: please login first  Go to top 
hintsala
Advanced Cruncher
Joined: Aug 2, 2006
Post Count: 128
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I am trying to do the workout but my Pi wont let me change the cc_config.xml file. It says I don't have permission. What do I need to do?
----------------------------------------
[Dec 3, 2021 12:53:22 AM]   Link   Report threatening or abusive post: please login first  Go to top 
spRocket
Senior Cruncher
Joined: Mar 25, 2020
Post Count: 262
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

If you're using boinctui, there's a fork that I like:

https://github.com/mpentler/boinctui-extended
[Dec 3, 2021 2:54:22 PM]   Link   Report threatening or abusive post: please login first  Go to top 
spRocket
Senior Cruncher
Joined: Mar 25, 2020
Post Count: 262
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Can't recognize ARM architecture

I am trying to do the workout but my Pi wont let me change the cc_config.xml file. It says I don't have permission. What do I need to do?


You need to be root. You could use sudo nano /var/lib/boinc-client/cc_config.xml as an example (nano the easiest-to-use editor, and is installed by default along with a cut-down version of vim).

I'm running Ubuntu on my Raspberry Pis right now (aarch64), and have the following in my cc_config.xml, which came from a sticky thread somewhere (I don't remember if it was on this forum, or maybe Rosetta?):

<options>
<alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
<alt_platform>armv7l-unknown-linux-gnueabihf</alt_platform>
<alt_platform>aarch64-unknown-linux-gnu</alt_platform>
</options>

[Dec 3, 2021 3:01:21 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 46   Pages: 5   [ Previous Page | 1 2 3 4 5 ]
[ Jump to Last Post ]
Post new Thread