/
LocoNetworking.shtml
102 lines (89 loc) · 3.95 KB
/
LocoNetworking.shtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 15.17), see www.w3.org">
<title>JMRI Hardware Support - Connecting Multiple Computers to a
LocoNet® Layout</title>
<meta name="author" content="Bob Jacobsen">
<meta name="keywords" content=
"Digitrax Chief DCS Command Station LocoNet Server LocoBuffer java model railroad JMRI install windows">
<!-- Style -->
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<link rel="stylesheet" type="text/css" href="/css/default.css"
media="screen">
<link rel="stylesheet" type="text/css" href="/css/print.css"
media="print">
<link rel="icon" href="/images/jmri.ico" type="image/png">
<link rel="home" title="Home" href="/">
<!-- /Style -->
</head>
<body>
<!--#include virtual="/Header" -->
<div id="mBody">
<!--#include virtual="Sidebar.shtml" -->
<div id="mainContent">
<h1>Hardware Support: Methods to Connect Multiple Computers
to a LocoNet® Layout</h1>
<p>JMRI currently supports two different ways to connect
multiple computers to your LocoNet®-equipped layout using
a single LocoBuffer. In both methods, the computers
communicate using standard TCP/IP protocols, but there are
differences in the details.</p>
<p>
One method allows multiple JMRI nodes to connect as
Clients to a single <a href=
"http://loconetovertcp.sourceforge.net/Interface/index.html">LocoNetOverTCP
LbServer</a>, which is external to JMRI.<br>
The other method uses the inbuilt <a href=
"LocoNetServer.shtml">LocoNet Client/Server capability</a> of
JMRI.
</p>
<p>The difference between these two methods is that
JMRI LocoNet Client/Server uses the native Java Remote Method
Invocation (RMI) protocol,
whereas the
LocoNetOverTCP uses a
separate non-Java server process, LbServer, that communicates
using plain ASCII String messages over TCP/IP sockets,
allowing non-Java nodes to also share the one LocoBuffer.</p>
<p>For most people who simply want to have several computers
share a single LocoBuffer connection, the <a href=
"LocoNetServer.shtml">JMRI LocoNet Client/Server option</a>
can be easier to configure. For
others wanting to provide remote access the layout over
Internet, the <a href="LbServer.shtml">LocoNetOverTCP
LbServer option</a> may be more suitable as configuring the firewall rules
to allow external access will be simpler.
Setting up networking equipment can be complicated, so if
one of them doesn't work for you initially, you might want to
just try the other one to see if it works on your home network.</p>
<ul>
<li><a href="LocoNetServer.shtml">How to set up LocoNet
Client/Server</a></li>
<li><a href="LbServer.shtml">How to set up LocoNetOverTCP
LbServer</a></li>
</ul>
<h2>Notes:</h2>
<ul>
<li>If the computers are all close to the LocoNet, e.g.
acting as local control panels, you don't really need any
networking to do this. You can instead connect each of the
computers to the LocoNet via their own LocoBuffer or
LocoBuffer-II (or MS-100, though this is not recommended)
and have them individually take part in the LocoNet
communications. This doesn't cause any additional
communications load. It does cost a little more for the
extra adapters, and doesn't permit you to put a computer
remote from the layout.</li>
</ul>
<p>LocoNet® is a registered trademark of <a href=
"http://www.digitrax.com">Digitrax, Inc.</a></p>
<hr class="hide">
<!--#include virtual="/Footer" -->
</div><!-- closes #mainContent-->
</div><!-- closes #mBody-->
</body>
</html>