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: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2170 times and has 4 replies Next Thread
baqwas
Cruncher
Joined: Jul 3, 2020
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
RPi0 (Raspbian Buster Lite) and RPi4 (Ubuntu 20.04) Headless Support

Hello,

I've completed all but the last step for Debian/Ubuntu installations on two Raspberry Pi boards (Zero and 4). The BOINC Manager doesn't seem to like headless operation (SSH console session):

boincmgr -d /var/lib/boinc-client


Is there any workaround or do I have to enable a GUI desktop to complete the last step for signing up to The Grid? I do have other platforms that I can tinker with but I wanted an authoritative answer from the expert(s) before spinning further cycles. Thanks.

Kind regards.
[Jul 3, 2020 3:13:49 PM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RPi0 (Raspbian Buster Lite) and RPi4 (Ubuntu 20.04) Headless Support

On my 3B+ Pis running raspbian used something like this, from memory

# systemctl enable boinc-client
# systemctl start boinc-client
# boinccmd --lookup_account http://www.worldcommunitygrid.org YOURMEMBERNAME YOURPASSWORD
Where YOURMEMBERNAME is your email address
then using the account key from the lookup
# boinccmd --project_attach http://www.worldcommunitygrid.org YOURACCOUNTKEY

Your can also see your account key in your prodile on this web-site under
"The following information is useful for attaching devices to World Community Grid:"

Hope I got this right...
Edit seem to remember one system gave an authentication error from the lookup - so used the account key from this site, which obviously was the same as the lookup that succeeded on the other pi (have two...). Strange...
Additionally, edit one of the Profiles work.school, home or default and assign to your Pi, You can install boinctui to manage from the command line. If you have a windows machine, you can use its BOINC Manger to remotely control any BOINC installlation on Linux, but you must configure the Linux BOINC installation to allow remote access .
----------------------------------------
----------------------------------------
[Edit 3 times, last edit by TonyEllis at Jul 6, 2020 3:53:38 PM]
[Jul 6, 2020 2:40:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
hchc
Veteran Cruncher
USA
Joined: Aug 15, 2006
Post Count: 865
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RPi0 (Raspbian Buster Lite) and RPi4 (Ubuntu 20.04) Headless Support

I use BOINC Manager on my main desktop/laptop boxes to manage remote, headless clients that only have boinc-client installed (no boinc-manager package). I just make sure to edit remote_hosts.cfg on the headless boxes to include the hostname(s) of my main systems. I leave gui_rpc_auth.cfg blank (no password) since it's a pain in the butt to type in a long password manually every time. Wish BOINC Manager 8.0 allows for automatic password or key saving for managing multiple remote hosts. Or heck, kind of copy what the Folding@home client does for listing remote hosts on the left pane and polling all of them.

Anyways, to the original post, when I set up a new headless box and first install BOINC, the easy way is to just use BOINC Manager, connect to the headless box, then "Add project" that way. I don't ever bother with boinccmd over SSH, although you can certainly attach a project that way as well.
----------------------------------------
  • i5-7500 (Kaby Lake, 4C/4T) @ 3.4 GHz
  • i5-4590 (Haswell, 4C/4T) @ 3.3 GHz
  • i5-3570 (Broadwell, 4C/4T) @ 3.4 GHz

[Jul 8, 2020 1:37:27 AM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 286
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RPi0 (Raspbian Buster Lite) and RPi4 (Ubuntu 20.04) Headless Support

True "just use BOINC Manager" is probably the easiest assuming you have a Windows system available or boinc-manager installed on a Linux or Mac. Using a linux workstation here so run BoincView under wine to control boinc on every system. Been doing so since about 2007. Very easy to see what is happening on every system and all on the one display. By the way, never had a problem using copy and paste with gui_rpc_auth.cfg.
----------------------------------------
[Jul 8, 2020 3:20:17 AM]   Link   Report threatening or abusive post: please login first  Go to top 
KerSamson
Master Cruncher
Switzerland
Joined: Jan 29, 2007
Post Count: 1684
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: RPi0 (Raspbian Buster Lite) and RPi4 (Ubuntu 20.04) Headless Support

I explained how to setup RPi and to operate them headless using BoincTasks in this post:
https://www.worldcommunitygrid.org/forums/wcg/viewpostinthread?post=629376
BoincTasks is a little bit more comfortable than the BoincManager GUI.
Yves
----------------------------------------
----------------------------------------
[Edit 1 times, last edit by KerSamson at Jul 8, 2020 9:37:53 AM]
[Jul 8, 2020 9:36:21 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread