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: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 27916 times and has 1 reply Next Thread
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
BOINC: Workaround for "Cannot attach to project" / Add World Communit Grid to a Client

Sometimes for varying reasons such as resisting security suites (Norton e.g. remembering a wrongly entered password) or a Alpha client that has buggy code [not recommended to use in production], it is found impossible to add / attach WCG to the BOINC client as a project. There's responses like wrong password or insisting to get the email address when the only way to properly get WCG added to the projects of a client is entering the member name and password [case sensitive].

Two quick fixes / workarounds to get starting to contribute is rather simple:

I: If you have another working device or an old data directory backup, fetch a copy of the account_www.worldcommunitygrid.org.xml file and place it in the BOINC data directory, *not* the BOINC program directory. Restart BOINC and the client will show WCG as attached. Note that the file has various device profile settings in it of the device you copied this from.

II: Using the boinccmd tool:

1. Get the <account key> from My Grid > My Profile near the bottom. The right account of course as some members have created several.

2. Open a Command or Terminal window and navigate to the place where the software is installed [not the data directory]. Typical locations are:

- For Windows XP and Vista/W7 32 bit OS do: CD "C:\Program Files\BOINC"
- Windows 64 bit with 32 bit client do: CD "C:\Program Files (x86)\BOINC"
- Linux Ubuntu 10.04 and up: cd /etc/boinc-client

3. Do a dir command to verify that boinccmd or boinccmd.exe is listed.

4. Enter the below command and replace the <account key> sample with the 32 character hex you found under step 1 above, without the <> signs!


boinccmd --project_attach www.worldcommunitygrid.org 0ee801cda57e5c375e678076e123ffff

(Careful with spaces and underscore in the command!)

This completes the association of the client with our grid, which you can immediately confirm by opening the BOINC Manager GUI and opening the "Projects" tab in the "Advanced" aka grid view. The client mostly is already on course of fetching work as defined per your default device profile. If not, select the WCG project line and hit the Update button on left.

That's all.

Related topics:
What is my Account Key for WCG
boinccmd tool wiki
Cannot attach to project

Return to the Start Here FAQ index

----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Former Member at Mar 13, 2012 11:23:23 AM]
[Sep 6, 2010 12:28:57 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
BOINC: [Weak] Account key use to add WCG via command line to client.

In extension to the previous topic, for various reasons it is sometimes not possible to attach to a project in the conventional way via the BOINC Manager GUI interface. Sometimes also, you'd like to allow a cruncher friend to contribute to your account without revealing the password. Some do not want to give any information and register directly, rather volunteer their spare CPU time via another members account [quasi anonymous]. All of this can be achieved by using the *boinccmd* tool that comes with a standard BOINC installation.

What is needed:

1) The [Weak] Account key which is found on the member's My Grid > My Profile page e.g. 123456_bcafffd30edcfae3f764668b4bab4082

2) The WCG url address http://www.worldcommunitygrid.org

3) The location of the BOINC software installation, for instance C:\Program Files\BOINC

4. A running boinc.exe core client (check Task Manager for Windows or do Top for Linux to check the daemon is loaded).

When having collected 1-3, open a command window / terminal / tty, navigate to where BOINC is installed and type the following:

boinccmd --project_attach http://www.worldcommunitygrid.org [weak]accountkeycode

(where the [weak]accountkeycode is replaced with the one provided, reference item 1, best copy / pasted, to not introduce typing errors)

Having proper BOINC operating rights, the execution will be swift on carriage-return. Of course, if the client is already attached to WCG, you first need to detach/remove WCG via the BOINC Manager > project tab, select WCG and hit the appropriate button on left [please before first abort any WCG tasks still on the client, or finish them first). Those who have their client connected to an account manager may find the detach/remove button grayed out. Then use the boinccmd tool to detach from WCG:

boinccmd --project http://www.worldcommunitygrid.org detach

This may produce a -161 error. Then temporarily detach from the account manager first (BAM, GridRepublic etcetera).

Of course, handing out the [weak]account key allows the person(s) to attach devices any time, i.e. there has to be a trust relationship. For self, you can also use the [normal] account key, also printed on the My Profile page. *Don't* hand that one out!

NB: The '[Weak] Account Key' to allow others to 'temporarily' attach a host/device to another member's account, will change when the hosting member's account password is revised or when (s)he operates the 'change' function. In effect, the 'guest' devices will loose connection rights. The receiving member best tells the temporary device owners prior to doing so [if the owners are known], as any uncompleted tasks on those devices become unreportable.

Related Topics:
Help items on account keys
boinccmd tool wiki


Return to the Start Here FAQ index

----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Former Member at Oct 17, 2013 10:03:02 AM]
[Nov 11, 2011 12:19:01 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread