Attaching to an Boinc Account using "weak account Key"
I've read the following and am having a little bit of a problem. I'm attempting to connect to a friends account using the "weak account key" and I'm doing something wrong. I created an xml as instructed below and placed it into the primegrid folder but I'm still attached to my account and crunching for myself. On the "Project page" of the Boinc manager it says I'm attached under my own account. Thanks for the help.
This is what I put into the xml file.
<account>
<master_url>account_www.primegrid.com.</master_url>
<authenticator>Weak Key here</authenticator>
</account>
A little walk through to help out a novice, please. :o
Your 'weak account key' lets you link a computer to your account without giving it the ability to log in to your account or to change it in any way. This mechanism works only with projects that have upgraded their server software 7 Dec 2007 or later.
Your weak account key for this project is:
"Your key here"
To use your weak account key on a given host, find or create the 'account file' for this project. This file has a name of the form account_PROJECT_URL.xml. The account file for PrimeGrid is account_www.primegrid.com.xml.
Create this file if needed. Set its contents to:
<account>
<master_url>PROJECT_URL</master_url>
<authenticator>WEAK_ACCOUNT_KEY</authenticator>
</account>
Your weak account key is a function of your password. If you change your password, your weak account key changes, and your previous weak account key becomes invalid.
Re: Attaching to an Boinc Account using "weak account Key"
1. The master url is "http://www.primegrid.com"
2. This file doesn't go in the project folder. It goes in the BOINC data folder. On Win7 it is C/ProgramData/BOINC
Hope that helps...
Re: Attaching to an Boinc Account using "weak account Key"
Actually, an easier way to do it would be to attach using the commandline tool.
Make sure you're detached from the project first, then do the following from a cmd prompt:
cd to the BOINC installation folder (Most likely C:\Program Files\Boinc)
boinccmd --project_attach http://www.primegrid.com {weak account key}
Re: Attaching to an Boinc Account using "weak account Key"
Quote:
Originally Posted by
Mumps
Actually, an easier way to do it would be to attach using the commandline tool.
Make sure you're detached from the project first, then do the following from a cmd prompt:
cd to the BOINC installation folder (Most likely C:\Program Files\Boinc)
boinccmd --project_attach
http://www.primegrid.com {weak account key}
Can I run the commandline and the boinc manager at the same time as long as I'm not connected to PG?
Run Reg Boinc for GPU projects and the Command line for cpu?
Re: Attaching to an Boinc Account using "weak account Key"
Quote:
Originally Posted by
Maxwell
1. The master url is "http://www.primegrid.com"
2. This file doesn't go in the project folder. It goes in the BOINC data folder. On Win7 it is C/ProgramData/BOINC
Hope that helps...
Well, sometimes you have to really read and pay attention to directions.
I got it to work. It was real easy actually. I forgot to add "http://" in front of the www.primegrid.com. I also detached from Bam till the Challenge is over. I need to get to the other boxes now to make the switch.
Thanks Max!!
Re: Attaching to an Boinc Account using "weak account Key"
Hmmm....I'm going to have to try this tonight to make sure I can attach properly to his account before the challenge! Wish me luck. ;)
Re: Attaching to an Boinc Account using "weak account Key"
Ahhhhhh, I will be asking some questions come 10:59 (my time) tomorrow. :confused:
Re: Attaching to an Boinc Account using "weak account Key"
I'm not kidding about how easy this was once I placed it into the Boinc directory and fixed the web address. It attaches itself. Here is what I put into the xml file.
Remember to shut down Boinc and detach from PG.
<account>
<master_url>http://www.primegrid.com./</master_url>
<authenticator>49582_b572b43f267fb3c286acfbd3aff8c 973</authenticator>
<project_preferences>
<resource_share>100</resource_share>
</account>
Save it as "account_www.primegrid.com" I Put it into the C:\Program Data\Boinc (I have Vista) Restart Boinc and done.
Re: Attaching to an Boinc Account using "weak account Key"
Damn it Jim!! Im a carpenter, not a programmer!!
Re: Attaching to an Boinc Account using "weak account Key"
Quote:
Originally Posted by
joker
Damn it Jim!! Im a carpenter, not a programmer!!
hahahaha...I was almost going to say..."dang it all to heck, Mike; I'm a doctor, not a programmer!"
...It just didn't quite have the same ring to it. :p;)