RPC Connection.

Message boards : Questions and problems : RPC Connection.
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25668 - Posted: 25 Jun 2009, 10:33:19 UTC

I dont know why but I have two macs. both are running similar versions (laptop is PPC based and my Main computer is an Intel Base) I have the password for my PPC based mac laptop but i cant figure out how to setup remote host control.
ID: 25668 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 25669 - Posted: 25 Jun 2009, 10:37:26 UTC - in response to Message 25668.  
Last modified: 25 Jun 2009, 10:43:40 UTC

You'll have to create a remote_hosts.cfg file in the BOINC data directory with the names (or IP addresses) of all hosts that should be allowed to control this one, one per line.

Gruß,
Gundolf

[edit] See also How to control a remote host? at the BOINC FAQ Service or Controlling BOINC remotely at the BOINC wiki.[/edit]
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 25669 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25670 - Posted: 25 Jun 2009, 10:40:27 UTC - in response to Message 25669.  

already did and nothing happened.
ID: 25670 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 25671 - Posted: 25 Jun 2009, 10:44:43 UTC - in response to Message 25670.  

See my edit above.
ID: 25671 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25672 - Posted: 25 Jun 2009, 10:49:25 UTC - in response to Message 25671.  
Last modified: 25 Jun 2009, 10:50:14 UTC

tried both and still not working

EDIT
Apparently i am missing some piece of information that is escaping me.
ID: 25672 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25673 - Posted: 25 Jun 2009, 10:55:41 UTC - in response to Message 25672.  

could you provide an example of what the remote_hosts.cfg file should look like? maybe i am doing it wrong
ID: 25673 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 25674 - Posted: 25 Jun 2009, 10:56:57 UTC - in response to Message 25668.  
Last modified: 25 Jun 2009, 11:01:44 UTC

I dont know why but I have two macs.

If you don't know why, then how should we know...
They just appeared one day in your computer room? :-)

As for the remote connection, you already got the link to the FAQ.
Did you also make sure that Boinc and Boinc Manager are allowed to connect through your firewalls on port 31416?

Example of remote_hosts.cfg? All it needs is the IP address of the remote computer. So... if you're using a computer with IP address 192.168.1.1 to remotely control another BOINC, you add in the remote_hosts.cfg on the remote computer 192.168.1.1

You will need to restart BOINC on the remote computer after you added/edited this file. It's probably also wise to exit and restart the BOINC on the computer doing the remote controlling.
ID: 25674 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25675 - Posted: 25 Jun 2009, 10:58:16 UTC - in response to Message 25674.  

let me open the ports and see what happens
ID: 25675 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25676 - Posted: 25 Jun 2009, 11:00:18 UTC - in response to Message 25675.  

both computers on on ethernet. since they are on the same network not sure if the router firewall even comes into play here. so far though nothing.
ID: 25676 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 25677 - Posted: 25 Jun 2009, 11:00:56 UTC

I edited my previous post. Do take a look there.
ID: 25677 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25678 - Posted: 25 Jun 2009, 11:04:02 UTC - in response to Message 25677.  

i will restart the manager on my imac. lets see what happens.

I get connecting but still nothing.
ID: 25678 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 25679 - Posted: 25 Jun 2009, 11:05:50 UTC - in response to Message 25678.  

If you installed BOINC as a daemon (service install on Windows), exiting and restarting the Manager won't fix it. You will have to exit and restart the daemon (service).
ID: 25679 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25680 - Posted: 25 Jun 2009, 11:08:18 UTC - in response to Message 25679.  

im on mac.
ID: 25680 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 25681 - Posted: 25 Jun 2009, 11:11:43 UTC - in response to Message 25680.  

Yes, and? Even on a Mac you can install BOINC as a daemon. I just used the terminology to make sure you understood what I meant.

By the way, which BOINC versions are we talking about?
ID: 25681 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25682 - Posted: 25 Jun 2009, 11:13:47 UTC - in response to Message 25681.  

6.6.36 on the imac and 6.6.36 on the ibook g4
ID: 25682 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25684 - Posted: 25 Jun 2009, 11:15:53 UTC - in response to Message 25683.  
Last modified: 25 Jun 2009, 11:16:26 UTC

firewall was given open access to 31416 on the tcp side.

as far as im aware my ibook g4 is pretty open on the remote control side of things
ID: 25684 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25685 - Posted: 25 Jun 2009, 11:27:24 UTC - in response to Message 25681.  

hey ageless. is there a way to force a connection? my web browser can see the other computer, but for some oddball reason the boinc manager cant. I am starting to think it may be a problem with my router. What do you think?
ID: 25685 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 25686 - Posted: 25 Jun 2009, 11:29:24 UTC - in response to Message 25681.  
Last modified: 25 Jun 2009, 11:32:23 UTC

Run BOINC as a daemon on Mac

Anyway... steps to follow, please read first, before diving head long in and instead of saying "I already done all that"... just do it again.

1. Find the IP address of the computer doing the controlling. Write that down. You can read here how to do that.

2. With this information go to the Mac that needs to be controlled remotely.
Stop its BOINC from running: BOINC Manager->Advanced view->Advanced->Shut down connected client->OK->Cancel, followed by BOINC Manager->File->Exit.

3. Navigate to the BOINC Data directory which on OSX is by default (if you didn't change it) in /Library/Applications Support/BOINC/
If you're using Windows on this machine, the default directory is at C:\Documents and Settings\All Users\Application Data\BOINC\

4. Edit gui_rpc_auth.cfg with a text editor and take out the 32 character line that's there. Add a password of choice and save this file. Make sure not to end the password with a line-end (no pressing Enter/Return). Also make sure that the file extension is .cfg, not .cfg.txt and else rename the file to use the correct extension.

5. Edit or make a remote_hosts.cfg file in the directory and add to it the IP address of the remote computer, you just wrote it down somewhere, remember?
Save the file and make sure that the file extension is .cfg, not .cfg.txt and else rename the file to use the correct extension.

6. Find out the IP address of this remote computer. See step 1 for the how to.

7. Start BOINC Manager. If you have BOINC installed as a daemon, starting BOINC Manager will start the daemon.

8. On the computer doing the remote controlling open BOINC Manager->Advanced view->Advanced->Select computer.
In the Host Name path fill in the IP address of the remote computer.
In the Password path fill in the password you added to the gui_rpc_auth.cfg file on the remote computer. The password is case sensitive.

If this doesn't work immediately, it is possible you have to wait for the network broadcast, which can take up to 45 minutes. Else just reboot both machines.
ID: 25686 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25687 - Posted: 25 Jun 2009, 11:31:46 UTC - in response to Message 25686.  

Run BOINC as a daemon on Mac

Anyway... steps to follow, please read first, before diving head long in and instead of saying "I already done all that"... just do it again.

1. Find the IP address of the computer doing the controlling. Write that down. You can read here how to do that.

2. With this information go to the Mac that needs to be controlled remotely.
Stop its BOINC from running: BOINC Manager->Advanced view->Advanced->Shut down connected client->OK->Cancel, followed by BOINC Manager->File->Exit.

3. Navigate to the BOINC Data directory which on OSX is by default (if you didn't change it) in /Library/Applications Support/BOINC/
If you're using Windows on this machine, the default directory is at C:\Documents and Settings\All Users\Application Data\BOINC\

4. Edit gui_rpc_auth.cfg with a text editor and take out the 32 character line that's there. Add a password of choice and save this file. Make sure not to end the password with a line-end (no pressing Enter/Return). Also make sure that the file extension is .cfg, not .cfg.txt and else rename the file to use the correct extension.

5. Edit or make a remote_hosts.cfg file in the directory and add to it the IP address of the remote computer, you just write it down somewhere, remember?
Save the file and make sure that the file extension is .cfg, not .cfg.txt and else rename the file to use the correct extension.

6. Find out the IP address of this remote computer. See step 1 for the how to.

7. Start BOINC Manager. If you have BOINC installed as a daemon, starting BOINC Manager will start the daemon.

8. On the computer doing the remote controlling open BOINC Manager->Advanced view->Advanced->Select computer.
In the Host Name path fill in the IP address of the remote computer.
In the Password path fill in the password you added to the gui_rpc_auth.cfg file on the remote computer. The password is case sensitive.

If this doesn't work immediately, it is possible you have to wait for the network broadcast, which can take up to 45 minutes. Else just reboot both machines.



just an fyi all my computers have manually assigned ip's but i will try that
ID: 25687 · Report as offensive
XboxAdmin

Send message
Joined: 25 Jun 09
Posts: 17
United States
Message 25688 - Posted: 25 Jun 2009, 11:42:14 UTC - in response to Message 25687.  

Looks like its time for a reboot
ID: 25688 · Report as offensive
1 · 2 · Next

Message boards : Questions and problems : RPC Connection.

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.