This is part 3 of a short series. You might want to read part 1 first.
So far in my project for turning an old laptop into a BOINC box, I’ve been over what BOINC is and prepared the hardware. In this post I get the software running and do some actual number crunching. You need an internet connection for this, my old laptop has an ethernet port which is plugged in to a spare port on my router.
I discovered BOINCpe (site is in German) which is a Windows-based live CD for running BOINC. Just download it, edit a couple of configuration files, burn to CD or make aload it onto a flash drive and you’re all set.
BOINCpe turned out to not be the solution for me because it requires a minimum 256 mb of RAM and the laptop only has 128 (which was a lot when it was made). So because I already had some Ubuntu discs lying around I used one of those instead.
Use the “alternate” install CD (obtainable from here among other places). At the welcome screen, press F4 and choose “command line only”. Answer the questions that come up and away you go.
After installation, login as the user you created during instal. Now it’s time to install the BOINC client and manager. To do that, just type:
sudo apt-get install boinc-client boinc-manager
and then your password.
After a bit of Googling, I figured the easiest way to do what I wanted to do was to use a BOINC account manager. I chose Boincstats BAM because it was first on the list. So, sign up to the site and choose from the projects list. Boincstats will try to login to projects using the same email and password you used to sign up (I had to change my SETI@Home password). For projects you haven’t participated in before, Boincstats will create accounts using your Boincstats details. How many times can I say Boincstats in one sentence?
Anyway, having done that, you need to then tell BOINC to use the account manager. So on the Linux box, type:
boinccmd –join_acct_mgr http://boincstats.com/bam/ username password
where username and password are of course replaced with your username and password. I kept getting an error message at this point. You can probably fix it by editing the right configuration file, but I just navigated to /usr/bin and ran it from there.
We’re not quite done yet though. Now back on the Boincstats website, you need to login and go to the host list page. Select the machine you’re setting up (following these instructions, it will be the only one). Then check the boxes for the projects you want to run on that machine.
Then on the BOINC box, run the join_acct_mgr command again. When you get the command prompt again, run
boinccmd –get_state
This shows what the BOINC client is doing right now. You should get a whole lot of statistics that are really interesting to boring people like me.
And that’s about it. You can attach the graphical version of BOINC to the account manager with a couple of mouse clicks and some copy/paste. In future I might play around with configuring things for better performance, but this will do for now.
Links and resources:
- BOINC download page: <http://boinc.berkeley.edu/download.php>
- BOINCpe (in German, scroll down for the download link): <http://blog.schreiter.info/boincpe-livecd-for-boinc/>
- How to boot BOINCpe from a USB flash drive: <http://blog.schreiter.info/boincpe-livecd-for-boinc/how-to-boot-boincpe-bartpe-from-a-usb-flash-drive-or-usb-hdd/>
- Ubuntu Complete Download Options: <http://www.ubuntu.com/getubuntu/downloadmirrors>
- Boincstats BAM (Boinc Account Manager): <http://boincstats.com/bam/>
- Boinccmd Tool MAN page: <http://bossa.berkeley.edu/wiki/Boinccmd_tool>
- Ubuntu wiki page on BOINC: <https://wiki.ubuntu.com/BOINC>

