Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Attaching to an Boinc Account using "weak account Key"

  1. #1
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    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.


    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.



  2. #2
    Platinum Member
    Maxwell's Avatar
    Join Date
    October 25th, 2010
    Location
    Everett, WA
    Posts
    3,300

    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...

  3. #3
    Platinum Member
    Mumps's Avatar
    Join Date
    October 28th, 2010
    Location
    Milwaukee, WI
    Posts
    3,994

    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}

  4. #4
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    Re: Attaching to an Boinc Account using "weak account Key"

    Quote Originally Posted by Mumps View Post
    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?



  5. #5
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    Re: Attaching to an Boinc Account using "weak account Key"

    Quote Originally Posted by Maxwell View Post
    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!!



  6. #6
    Past Administrator
    DrPop's Avatar
    Join Date
    October 13th, 2010
    Location
    SoCal, USA
    Posts
    7,635

    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.

  7. #7
    Gold Member
    joker's Avatar
    Join Date
    October 25th, 2010
    Location
    HELL
    Posts
    1,600

    Re: Attaching to an Boinc Account using "weak account Key"

    Ahhhhhh, I will be asking some questions come 10:59 (my time) tomorrow.

  8. #8
    Past Admin
    Mike029's Avatar
    Join Date
    October 24th, 2010
    Location
    Bronx, New York
    Posts
    3,377

    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.



  9. #9
    Gold Member
    joker's Avatar
    Join Date
    October 25th, 2010
    Location
    HELL
    Posts
    1,600

    Re: Attaching to an Boinc Account using "weak account Key"

    Damn it Jim!! Im a carpenter, not a programmer!!

  10. #10
    Past Administrator
    DrPop's Avatar
    Join Date
    October 13th, 2010
    Location
    SoCal, USA
    Posts
    7,635

    Re: Attaching to an Boinc Account using "weak account Key"

    Quote Originally Posted by joker View Post
    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.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •