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: 25
Posts: 25   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3218 times and has 24 replies Next Thread
_dog
Cruncher
USA
Joined: Oct 6, 2011
Post Count: 5
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
BOINC client on an Ubuntu Server (x64) [RESOLVED]

So I've been browsing all the support docs I can find looking for the answer to this and since I haven't found it, I'm assuming that it's user error and I'm missing something basic.

I have an x64 Ubuntu 10.04 server that I'm trying to set up BOINC on so that I can crunch numbers more consistently than I did when I tried it out with my laptop. I successfully installed boinc-client with aptitude and the daemon is running, however I don't know how to configure it with my account. I am aware of the
--lookup_account URL email password

argument for boinccmd, but I don't know how to use it, I'm afraid. I have a WCG account, but worldcommunitygrid.org is not the right URL, so I am stuck simply on the way this is meant to be used.

In short, I just want my Ubu server to participate in this exactly as my Windows laptop did when I first tried it out, but I don't know how to link the machine to my account.

Thank you in advance.
----------------------------------------
[Edit 1 times, last edit by jfreshman at Jan 21, 2012 2:29:03 AM]
[Jan 19, 2012 4:05:48 AM]   Link   Report threatening or abusive post: please login first  Go to top 
sunfolk
Master Cruncher
Super Kiwi Socialistic Empire Of Jacinda
Joined: Oct 8, 2006
Post Count: 1769
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

If you type boinccmd at a terminal it will display a list of all the available commands.

I think the one you want is boinccmd --project_attach URL auth

Edit: If you type man boinccmd it will show the manual for all the boinc commands.

Good luck, I take it you dont have X window system on your server?
----------------------------------------


----------------------------------------
[Edit 1 times, last edit by sunfolk at Jan 19, 2012 4:52:49 AM]
[Jan 19, 2012 4:48:15 AM]   Link   Report threatening or abusive post: please login first  Go to top 
BobCat13
Senior Cruncher
Joined: Oct 29, 2005
Post Count: 295
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Go to My Grid, click on My Profile. Near the bottom is the info needed for attaching by command line (project URL and your Account key). The way to attach would be:

boinccmd --project_attach www.worldcommunitygrid.org your account key
[Jan 19, 2012 4:51:36 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Dark Angel
Veteran Cruncher
Australia
Joined: Nov 11, 2005
Post Count: 728
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Another way to do this, if the server install machine is to be run headless and administered via ssh (or putty if from a Windows machine):
-Log into the machine, locally, remotely, whatever.
-use sudo to open a text editor and modify one of the configuration files to allow remote access from a machine with BOINC manager installed. I use nano so that's what I'll describe.
sudo nano /etc/boinc-client/gui_rpc_auth.cfg

-use the cursor keys to move to the end of the file and add the local IP address of the machine you want to access it from or it's name if you use DHCP for your network
-press ctrl+o (control plus the letter 'o') and then Enter to save the file, then ctrl+x to exit the editor.
-restart to make sure the new config file is used
 sudo /etc/init.d/boinc-client restart


Now you will be able to use the BOINC manager on the other machine to manage the client on the headless machine, just click Advanced > Select Computer and then enter the name or IP of the machine you want to access.
----------------------------------------

Currently being moderated under false pretences
----------------------------------------
[Edit 1 times, last edit by Dark Angel at Jan 19, 2012 5:54:39 AM]
[Jan 19, 2012 5:53:44 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Another way to do this, if the server install machine is to be run headless and administered via ssh (or putty if from a Windows machine):
-Log into the machine, locally, remotely, whatever.
-use sudo to open a text editor and modify one of the configuration files to allow remote access from a machine with BOINC manager installed. I use nano so that's what I'll describe.
sudo nano /etc/boinc-client/gui_rpc_auth.cfg

-use the cursor keys to move to the end of the file and add the local IP address of the machine you want to access it from or it's name if you use DHCP for your network
-press ctrl+o (control plus the letter 'o') and then Enter to save the file, then ctrl+x to exit the editor.
-restart to make sure the new config file is used
 sudo /etc/init.d/boinc-client restart


Now you will be able to use the BOINC manager on the other machine to manage the client on the headless machine, just click Advanced > Select Computer and then enter the name or IP of the machine you want to access.

Maybe a quantum mechanical disturbance, but the client password is stored in the gui_rpc_auth.cfg file and the IP/Device names for remote access in the remote_hosts.cfg :D

For client password, recommend to have all clients with the same in their respective gui_rpc_auth.cfg files. Old clients used to remember the passwords of remote hosts, but since about 6.2-6.4 that's no longer the case. A slight annoyance when managing multiple clients from one BOINC Manager, but then Thé BOINCTasks multi-client managing tool was invented for that. :D

--//--
[Jan 19, 2012 8:00:54 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Dark Angel
Veteran Cruncher
Australia
Joined: Nov 11, 2005
Post Count: 728
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Yes, quite right. I got the files mixed up. My bad.
If you restrict the remote hosts to only the one machine you can remove the password entirely as the client won't accept management commands from a remote host that's not specifically listed. If you're slightly more paranoid (not necessarily a bad thing) just set a password you can remember easily. If you're REALLY paranoid you could block TCP port 31416 in your router as well to prevent anyone outside your local network even getting close. Honestly, I don't think someone's BOINC client is exactly a high value target.
----------------------------------------

Currently being moderated under false pretences
[Jan 19, 2012 9:40:30 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Frankly, don't know if the WCG servers need passage through 31416. Not needing password with just one remote host specified does violate me paranoid tendencies [on network security]. Got a simple password in there matching the one from which I run BOINCTasks. These 2 cfg files are on all me clients identical for easy maintenance... change/add something and replicate.

--//--
[Jan 19, 2012 10:10:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Dark Angel
Veteran Cruncher
Australia
Joined: Nov 11, 2005
Post Count: 728
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Up and downloading work is usually on port 80, though I'm not sure if CEP2 does something different. 31416 is for comms between the manager and client. I have it blocked in my router (me? paranoid? ;) ) and have no issue with getting or returning work.
The boinc client in the Ubuntu repositories comes with a blank gui_rpc_auth.cfg file for some reason while the client from the Berkley download (and the WCG download as well I'd expect) generate a random pass-novel (it's rather long) at install time.
----------------------------------------

Currently being moderated under false pretences
[Jan 19, 2012 10:49:02 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

To add then to the worries, try blocking 31416 outward.

--//--
[Jan 19, 2012 11:07:09 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Dark Angel
Veteran Cruncher
Australia
Joined: Nov 11, 2005
Post Count: 728
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC client on an Ubuntu Server

Blocked incoming and out-going, still connecting to server fine as far as I can tell.
----------------------------------------

Currently being moderated under false pretences
[Jan 19, 2012 11:45:25 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 25   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread