Cannot get machines connected

Started by meijin, June 07, 2012, 03:27:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

meijin

A little help please. I just cannot get things to work.

I have installed BT on my main work machine (Budo_Asus) that has the IP address 192.168.1.139. It works fine in seeing the Boinc Manager data from itself.

I have another machine running Boinc Manager (Seti project only) at IP address 192.168.1.140 (Acer13). I cannot get it to connect no matter what.

In the c:\program files\boinc directory of Acer13, I made a file called remote_hosts.cfg. It contains one line that is the IP address of Budo_Asus (192.168.1.139).

In the same c:\program files\boinc directory of Acer13, I made a file called gui_rpc_auth.cfg that has one line with the password I am using.

Since nothing will connect, I downloaded the client/server test software. I have the server running on Budo_Asus and the client on Acer13. When I begin the test on Acer13, I see a message that, "No connection could be made because the target machine actively refused it".

I thought it might be the Windows Firewall I am running on Budo_Asus. So, I made sure that both BT and the test server were in the accepted list of programs. No luck, same error on Acer13. So I stopped the firewall entirely and still the same error on Acer13.

Now I figure it is my Linksys router. This is where I get really confused. I know that BT uses port 31416 and that the test client/server uses port 31418. I am not sure how to "open" these ports. The only thing I have ever done is open a port like 8080 and direct it to an IP on my network. So, I have both 31416 and 31418 pointing to IP 192.168.1.139 or Budo_Asus. This does not work.

So here I sit stuck. Can anyone help? I know it should not be this difficult and I know it is surely something that I am missing and don't know how to do. I just don't know what that is. I have 4 machines running Seti@home and it would be nice to have BT running on my main machine.

Thank you very much for your time!

meijin

I should add that the two cfg files are in the programdata\boinc directory. Not the "program files".


fred

First of all install the latest Beta version: http://www.efmer.eu/boinc/boinc_tasks/download_beta.html

First to the basics: Open command (command line).
Make sure you open it as administrator, with the right mouse key.

Type: ping 192.168.1.139
For all your remote machines.

Now go to C:\Program Files\eFMer\BoincTasks\examples\log and open the file log.xml with notepad, make sure you open notepad as administrator.
Change this line like shown:       <connecting>         1   </connecting>
Make it 1.
Next copy the file to C:\Program Files\eFMer\BoincTasks\log

Now you have some additional logging in place.
In show->log check "enable debug mode"
Restart BoincTasks.

See if you get connection messages in the log.
Next check the remote machines. Check the BOINC Client logs (BOINC Manager) and see if there is any message, like refused.

Another thing you can try is install TThrottle on one of the machines and go to BoincTasks settings and check "Connect to TThrottle".
In TThrottle. preferences, check "Enable BoincTasks" leave the port and password fields empty. (TThrottle passwords)

Lets see what you've got.

The firewall should be OK as BoincTasks and TThrottle are signed applications and are considered safe by most firewalls.











fred

Quote from: meijin on June 07, 2012, 05:20:26 PM
I should add that the two cfg files are in the programdata\boinc directory. Not the "program files".
Should be here: C:\ProgramData\BOINC
Make sure you use the password from the remote machine in: gui_rpc_auth.cfg

But even if you did something wrong here it should show up in the BOINC client logs.

meijin

Installed 1.33 as requested.

From Budo_Asus (my main machine), I can successfully ping 192.168.1.40

The log file already had the <connecting> 1 </connecting> in it.

I copied the file "log" to c:\program files\efmer\boinctasks\

Enabled debug mode and restarted.

Here is the log file:


07 June 2012 - 12:30:49 Logging ---- Start debug mode
07 June 2012 - 12:30:49 Logging ---- forced debug mode
07 June 2012 - 12:30:49 Logging ---- fileonly
07 June 2012 - 12:30:49
07 June 2012 - 12:30:49 BoincTasks version: 1.33
07 June 2012 - 12:30:49 Language ---- User: 1033 (ENU), System: 1033 (ENU), Selected: 0 () Used: 1033 (ENU)
07 June 2012 - 12:30:50 Maximum number of computers: Unlimited
07 June 2012 - 12:30:50 Computers ---- Acer15 , 192.168.1.107
07 June 2012 - 12:30:50 Computers ---- Acer13 , 192.168.1.140
07 June 2012 - 12:30:50 Computers ---- localhost get local password: (C:\ProgramData\BOINC\\gui_rpc_auth.cfg) 34d3a563e75dddd6aefa8472e8eb3bd8
07 June 2012 - 12:30:50 Computers ---- Budo-Asus , localhost
07 June 2012 - 12:30:52 Start BOINC client ---- The BOINC client was already running
07 June 2012 - 12:30:52 Connect ---- Connected to: Host: localhost, Budo-Asus, Port: 31416, BOINC Version: 7.0.25
07 June 2012 - 12:31:11 Connect, init ---- Host: 192.168.1.140, Acer13,Port: 31416, init, timeout error
07 June 2012 - 12:31:11 Connect, init ---- Host: 192.168.1.107, Acer15,Port: 31416, init, timeout error
07 June 2012 - 12:31:19 Memory ----
   PageFaultCount      : 0x000034BE   13K
   PeakWorkingSetSize   : 0x02BBE000   45867K
   WorkingSetSize      : 0x02378000   37191K
   QuotaPeakPagedPool   : 0x0005A2C0   369K
   QuotaPagedPool      : 0x000526A8   337K
   QuotaPeakNonPagedPool   : 0x0000AAB8   43K
   QuotaNonPagedPool   : 0x00007798   30K
   Pagefile         : 0x01273000   19345K
   PeakPagefile      : 0x01A92000   27860K

I am running Tthrotle on both machines. Enabled Boinc Tasks on both. When I do a "find" I can now see Acer13 (192.168.1.140) with the Yes for Tthrotle, but no connection in BT.

I see no refused types of messages in the Boinc Client logs on Acer13. Just the typical upload/download/reporting types of messages.

Thanks for your help!

Corsair

#5

  • shut-down BT & BOINC in all computers
  • in the windows explorer bar type: %programdata%\BOINC
  • if it is not present the next file in your computer make a new one with the notepad and rename it as remote_hosts.cfg
  • edit this last file and insert the IP of the Budo_Asus: IP only or network name of the server but  better the IP e.g.: 192.168.1.139
  • save and close the file
  • copy this file in ALL & every computers running BOINC in folder of each computer typing: %programdata%\BOINC and
  • pasting the file
  • copy in a paper or whatever the password stored in same directory with file name: gui_rpc_auth.cfg and the computer that it belongs.
  • restart BOINC in all computers.
  • restart BT in server computer and in the computer tab add one by one with the IP and the password.
now there should not be any connection problem.

supposed that when installed and the splash windows of the firewall appears you strike in allow of yes for BT and BOINC,
otherwise you should have to activate BOINC and BT in windows firewall.
Roses don't bloom on the sailor's grave

Corsair.