Author Topic: How to setup BT talking to a Raspberry Pi  (Read 4280 times)

0 Members and 1 Guest are viewing this topic.

Offline MarkJ

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
How to setup BT talking to a Raspberry Pi
« on: February 24, 2013, 06:12:22 am »
Setting up BoincTasks talking to a Raspberry Pi

BoincTasks is designed to monitor a number of machines. Unfortunately its a Windows app and so getting it talking to the Raspberry Pi's is not the simplest of things to do. I assume that you've managed to get BOINC running on the Pi and BoincTasks (BT) is also running on your Windows PC. I also assume they are on the same router.

1. On the Pi you'll need to put the IP address and host name of the BT machine into /etc/hosts

2. On the Pi you'll need to put a password into /var/lib/boinc-client/gui_rpc_auth.cfg

3. On the Pi you'll need to put the host name of the BT machine into /var/lib/boinc-client/remote_hosts.cfg

4. Restart the Pi to pick up the above changes

5. In BT (on your PC) you need to add the Pi. Click on the Computers tab and then on the Menu Bar Computers -> Add Computer. You need to use the IP address (not the host name) of the Pi and the password from point 2.
 

Points to note:
If you installed the boinc-manager on the Pi it will no longer be able to connect to the boinc-client. This is because it doesn't know the password. You can execute it manually and supply the password from a command prompt if you still want to use it, but you now have BT working so why would you need it?

The Pi is invisible to the windows PC's on the network. The router will usually be able to see all of them but the windows machines only show other windows machines. The Pi's don't seem to have visibility of anything else on the network.

Due to the 2nd point the Pi needs to have the IP address and host name of the BT machine in the hosts file. This is not good practice as IP addresses can and do frequently change.

Offline MarkJ

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: How to setup BT talking to a Raspberry Pi
« Reply #1 on: February 28, 2013, 10:10:42 am »
It seems (after a bit of experimenting) that you can skip step 2 and leave gui_rpc_auth.cfg blank. That way you don't need a password.

Offline KenSharp

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: How to setup BT talking to a Raspberry Pi
« Reply #2 on: December 03, 2013, 08:15:35 pm »
Unfortunately its a Windows app and so getting it talking to the Raspberry Pi's is not the simplest of things to do.

That's utter crap. The RPC is OS-agnostic. Setting up a Pi for remote access is identical on all platforms.

Anyone wanting to buy a Pi should know the first thing about computers, or what's the point?

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3501
  • eFMer
    • View Profile
    • Trails
Re: How to setup BT talking to a Raspberry Pi
« Reply #3 on: December 03, 2013, 09:39:23 pm »
That's utter crap. The RPC is OS-agnostic. Setting up a Pi for remote access is identical on all platforms.
Always stay friendly to your fellow forum users.
What is utterly simple for some may be complicated for others.

And indeed it's mostly the same, but the locations differ, the file format is slightly different.  CR/LR wise.

Sometimes a bit of help is very helpful, for Windows users Linux is sometimes going back in time :o