how to run boinc on chromeOS

in #gridcoin6 years ago

I have a bunch of Chromebases laying around. To put them to good use i decided to try and run boinc on them.

Prerequisites

First step was to start the chromebook in developer mode. The LGs i have, come with a dedicated button to do so.
To find out how to turn on developer mode on your device, go to the chrome wiki page and follow the link to your device in that table.

installing cruton

Next step is to installl crouton:

  1. Download crouton (https://goo.gl/fd3zc)
  2. open a shell (Ctrl+Alt+T and the type shell and enter)
  3. sh ~/Downloads/crouton -t cli-extra (this will install an ubuntu cli)
  4. type startclito enter the chroot.

running boinc

once you are in your chroot environment, you can install boinc.

sudo apt install boinc

The boinc-client service will not be started because it is not possible to start systemctl services from a chroot.
There are ways around it, and i might get to trying it out myself, but for now i go with running boinc from the cli with boinc & and the detach it with ctrl-z, and put it in the background simply by typing bg.


get crunching

now that boinc is running, you can boinccmd to connect to an acount manager. I am a big fan of gridcoin and i'm already mining on the pool so i will use that.

boinccmd --join_acct_mgr https://grcpool.com USERNAME PASSWORD

As i somtimes had some Problems of boinc not downloading tasks, i set the network mode to always

boinccmd --set_network_mode always

now you can assign a project grcpool.com to the device. To refresh the tasks etc. Just rejoin the account manager again:

boinccmd --join_acct_mgr https://grcpool.com USERNAME PASSWORD

after downloding your chrome device should start crunching ;-) you can check it with

boinccmd --get_tasks

graphical boinc-manager

after adding the IP of your Desktop machine to remote_hosts.cfg ...

sudo nano /var/lib/boinc-client/remote_hosts.cfg

enter IP and the ctrl-o enter ctrl-x and restarting boinc,

you can even attach remotely to the machine and manage it from there...

preventing power savings mode

now just run croutonpowerd -i to prevent chromeos to switch to power savings mode.

Currently i'm cruching for Universe@Home. Let's see how much gridcoin i can generate with this setup. I will post an update to this after the magnitude ramp up...

Sort:  

Thanks for sharing @holger-will, this is another interesting alternative to support Science and Gridcoin!

Congratulations @holger-will, this post is the ninth most rewarded post (based on pending payouts) in the last 12 hours written by a Dust account holder (accounts that hold between 0 and 0.01 Mega Vests). The total number of posts by Dust account holders during this period was 4640 and the total pending payments to posts in this category was $636.68. To see the full list of highest paid posts across all accounts categories, click here.

If you do not wish to receive these messages in future, please reply stop to this comment.

Congratulations @holger-will! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got a First Reply

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.033
BTC 63243.61
ETH 3078.23
USDT 1.00
SBD 3.89