forked from PKAstro/Gemini-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConnectingtoG2.html
512 lines (471 loc) · 23.8 KB
/
ConnectingtoG2.html
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://www.w3.org/2005/10/profile">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Gemini-2</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="ajxmenu.css" type="text/css">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="en-us" http-equiv="Content-Language" />
<link href="gemini-2.css" rel="stylesheet" title = "light" type="text/css">
<link href="gemini-2-dark.css" rel="stylesheet" title = "dark" type="text/css">
<script src="style_switcher.js"></script>
<link href="theme-selector.css" rel="stylesheet" type="text/css">
<script src="w3data.js"></script>
</head>
<body onload="set_style_from_cookie()">
<div w3-include-html="header.html" ></div>
<div class="AJXMenueDFaTFD" w3-include-html="navigation.html"></div><script>w3IncludeHTML();</script>
<table style="width: 900px" align="center">
<tr>
<td class="h2"><br />
Connecting to Web interface of Gemini 2
</td>
</tr>
<tr>
<td class="style6"><br />
This guide will help you connect using the Ethernet connection to your Gemini 2.
<span class="style2"><strong>NOTE: "PORT E" AT THE TOP IS NOT AN
ETHERNET PORT. DO NOT CONNECT AN ETHERNET CABLE INTO IT. Also make
sure you do not plug the Ethenet cable into Port F. </strong></span></td>
</tr>
<tr>
<td class="style6">
Advantages of using Ethernet over other connections interfaces.
<ol>
<li>Makes the web interface of the Gemini-2 accessible. This can
only be accessed through the Ethernet port, using a web browser.
Almost all web browsers including ones in cell phones and tablets
are supported. </li>
<ul>
<li>Use with wireless router to provide wireless control via
Smart Phones/Tablets</li>
<li>Selection all of the targets in all the catalogs.</li>
<li>Upload individual files to the SDcard, such as updates
to the main Processor, or updates to the hand controller.
Can also upload catalogs to the hand controller or main unit.</li>
<li>See the status of all ports, battery, and power
connections.</li>
<li>See how the servo
motors are preforming.</li>
<li>Totally control the Gemini-2 with the Web
interface if you want. </li>
<li>It provides for slewing to targets, </li>
<li>Building a model, </li>
<li>Moving the telescope,
</li>
<li>Setting almost all setting. </li>
<li>Watching what the ports, and power levels are doing. </li>
<li>Longer wire lengths than USB or serial without special made cables.
</li>
<li>Faster than USB or serial.</li>
<li>Can be made wireless. </li>
<li>Can use File Transfer Protocol (FTP) into the micro-SDcard
contents, to save models, PEC and other setting to a computer and restore them.
</li>
<li>Ethernet cable can be less expensive.
</li>
<li>Much more reliable.
</li>
<li>Less cables to the Gemini-2.
</li>
<li>Access the Gemini-2 from any computer on your network. </li>
<li>Able to Update Firmware via an FTP connection, or the NEW Gemini
Firmware Updater Program.</li>
</ul>
</ol>
<p> </p>
<ol start="2">
<li>Can control the mount using the Gemini.net ASCOM driver.<ul>
<li>Mount Control</li>
<li>Guiding through the same connection - called pulse guiding</li>
</ul>
</li>
<li>Provides some ground loop isolation</li>
<li>Not restricted to short distant, as USB is.</li>
<li>If a wireless adapter such as a Netgear WNCE2001 or D-Link
DAP-1350 AP is used then wireless Wifi connection to the mount.</li>
</ol>
</td>
</tr>
<tr class="style6">
<td class="style3"><br />
Connecting to a Network:
</td>
</tr>
<tr>
<td class="style6">
Gemini 2 firmware can be updated using a built-in web interface. In order to use the web
interface, you will need to make a network connection between Gemini and your computer.
Note: the Ethernet Port on the Gemini-2 is a dual speed port
(10/100mbits). This means it is either 10Mbits per second or 100 Mbits per
second which is determined by the device you are connecting too.
Because of this, connecting to a computer or device that has the
same speed limitations can be problematic. Most devices that only
have this speed range cannot detect what wiring an Ethernet cable
has. So if you are trying to connect the Gemini-2 to a
computer/laptop, that only has a 10/100 Mbits connection, the
connection is more than likely to fail. To prevent this, It takes
either an auto detecting Ethernet port or a 3 speed port such as a
10/100/1000 Mhz port to detect what kind of cable is being used. Most
modern routers are now what is called Gibit Routers (10/100/1000)
speed or auto detecting and can detect the cable type. Many of the Newer Win10 laptops
are also. The Gemini-2 cannot determine
the cable type. But this only has to be done on
one end of the cable by one GBit Device, I.E. a Gibit Computer, Router or
Switch. If your Computer, Router, or Switch is not a Gibit
model or auto detecting, you might have to use what is called a
<a href="https://en.wikipedia.org/wiki/Ethernet_crossover_cable" target="_blank">
cross-over</a> cable, to allow the Gemini-2 and computer to see each
other.<br />
<br />
Now we will discuss networking methods for devices to get each
others ID or IP address.<br />
<ol><li>
Using a router. This is called <a href="#Network_with_DHCP:">
Network with DHCP</a>. I find this the easiest method.
The router can assign the Gemini-2 an IP address, as long as the
base subnet address of the router is in the
http://192.168.x.xxx range. If it is not, then you will have to
manually change the Gemini-2 IP address to match the routers
base Default Gateway address. Examples would be change
the gemini-2 Default Gateway address to http://192.168.0.1,
which it normally defaults to. Some routers such as
Netgear brands use http://192.168.1.1 for there Default Gateway
so you would put the Default Gateway to 192.168.1.1. With
these setting then the router can assign an empty DHCP IP
address to the Gemini-2. <span class="auto-style1"><em>On any local network, no two devices
can have the same IP address. All devices on a network must have
it's own unique IP address.</em></span> Also note that although the Hand controller can show the
IP address, the address shown is that of the main Gemini 2 unit. The hand controller does not have
it's own Ethernet connection or IP address. Please note:
Some browsers try to connect using a secure connection,
https:// This will not work with the Gemini-2. It
has to start with http://<br /><br /></li>
<li><a href="#The_Direct_Method">The Direct method</a>. This
method uses a Ethernet cable directly between you computer and
the Gemini-2. If your computer has a 10/100 Mbit
Port, then you will have to use a Crossover cable. If your
computer has a 10/100/1000Mhz port then you can use either a
crossover or a standard patch cable. A 10/100/1000Mhz Switch or hub might also be
inserted into this method, and then standard patch cables can be
used. Note: A hub does not provide any method of changing IP addresses.
I would like to recommend a
<a href="http://plugable.com/products/usb2-e1000" target="_blank">
USB to Gigabit Ethernet adapter</a> instead of a cross-over cable if
your computer does not have a 10/100/1000 bit Ethernet port, and you
do not want to use an external hub.
This will give your computer two hardware Ethernet ports, assuming
your computer already has one.<br /><br />
</li>
<li>Here is a <a href="ethernet_connections.html">drawing of
these methods</a>, the top 2 illustrations are the direct method and the
bottom is the Router method. Now if the router or switch is
10/100/1000 (Gigabit) then either type of cable can be used.<br /><br /></li>
<li>To test where a connections is working use a web browser and
enter the web interface by using
<a href="http://gemini/" target="_blank">http://gemini/</a> or
<a href="http://192.168.0.111/" target="_blank">http://192.168.0.111</a> or http://your gemini2's IP address,
into the address bar of the web browser. A login box will should
show up
as shown <a href="web/index.html" target="_self">here</a>.
Please note: Some browsers try to connect using a secure
connection, https:// This will not work with the
Gemini-2. It has to start with http://<br /> Here is a video showing the
process of accessing the
<a href="javascript:localURL('videos/MP4/get_into_web_interface.mp4')" target="_self">web
interface</a>.</li></ol>
</td>
</tr>
</table>
<hr class="Red" noshade="noshade" style="width: 800px; height: 4px" />
<table style="width: 900px" align="center">
<tr>
<td class="style6">
<a name="Network_with_DHCP:">Network with DHCP:</a>
</td>
</tr>
<tr>
<td class="style6">
Supports (typical configuration for most home networks with a router): If you are connecting
Gemini to an existing network through a switch, hub, router or wireless adapter, and
there is a DHCP server on the network, use this procedure. Gemini will be assigned an
IP address by the DHCP server. It is important that your computer also be set to either
use DHCP to get an IP address, or use a static IP address on the same subnet.
</td>
</tr>
<tr>
<td class="style6">
<ol>
<li>Connect the Gemini 2 unit to the existing network through a hub, switch, router or wireless
adapter.
</li>
<li>Power Gemini on. It is important that you do this only after you’ve connected
the network cable so that it can communicate with the DHCP server.
</li>
<li>Make sure your computer is set to receive an IP address from DHCP. Each
operating system does this in a different way, so refer to your OS documentation.
</li>
<li>Gemini uses <a href="Enabling_netbios.html" target="_self">NetBIOS name resolution</a>
so that you don’t need to type the IP address into your browser.
Enter <a href="http://gemini/">http://gemini</a> in your browser to access the
web server. The username is “admin” and the default password is blank.
If you can connect to the Gemini-2 using an IP address in your
computer's Web Browser, but not using <a href="http://gemini/">
http://gemini</a> then you can almost bet that the NetBios
resolution is turned off for your computer. See below for how to
turn it on.</li>
<li>You may optionally configure your DHCP server to assign a specific
address to Gemini so that you can always access it using the same IP address.
See the documentation for your DHCP server for details how to do this.
Note: your DCHP server is often built into your internet router.
</li>
</ol>
</td>
</tr>
</table>
<hr class="Red" noshade="noshade" style="width: 800px; height: 4px" />
<table style="width: 900px" align="center">
<tr>
<td class="style6">
<a name="The_Direct_Method">The Direct Method</a>:<br />
This is most easily done using a cross-over Ethernet cable directly
between Gemini’s Ethernet connector and your computer’s network
connector. If your computer has a 10/100/1000Mhz port then you can
use either a crossover or a standard patch cable. Alternatively, you
can use a Gibit Ethernet hub/switch (not a router) and
standard cables between Gemini and the hub/switch and between your computer
and the hub.<br />
<br />
IP Address: In order to successfully communicate with your computer
over the network, the Gemini 2 unit must have an IP address on the same subnet as the computer.
There are several ways to do this depending on how you connect Gemini to a network.
The following sections describe these methods.
<br />
<br />
If
you use a direct Ethernet cable to directly connect your computer to Gemini, you’ll
need to assign both the computer’s Ethernet port and Gemini-2 to IP addresses on the same
subnet by hand. This assumes that your computer is not running a DHCP server on the network port.
By default, if Gemini doesn’t get an IP address assigned by DHCP, it will use its stored
value (<a href="http://192.168.0.111/" target="_blank">192.168.0.111</a>) by default).
I know of no computer that can assign attached devices a DHCP
address unless you have set it up for
<a href="http://windows.microsoft.com/en-us/windows/using-internet-connection-sharing#1TC=windows-7" target="_blank">
Internet Connection sharing</a>. So the Static address is usually a must.
</td>
</tr>
<tr>
<td class="style6"><br />
<ol>
<li>
Use a direct cable to connect Gemini 2’s Ethernet port to an
Ethernet port on your computer. What type of cable depends
on your computers port specifications, see above.</li>
<li>
Use the appropriate tools on your computer to assign a static
IP address to the computer’s Ethernet port.
Use either my
<a href="crossovernetwork.html" target="_self">instructions
for Windows 10, 8.1 or XP</a> or these
<a href="http://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/" target="_blank" title="Tells how to set up a static IP in XP, Vista and Win 7">
(How-To Geek has a web page telling how to assign a static
address in a computer for XP through Win10.)</a>
The address should be in the form 192.168.0.xxx where xxx
is any number between 2 and 254 except 111. Also make sure
no other device is using the same address. No two
Ethernet devices can use the same address on a network. Set the subnet mask to 255.255.255.0.
Set the default gateway to 192.168.0.1 <br />On Windows, you can do this from the control panel. Look for an option to change
network connections. Refer to your OS documentation for specific instructions.
Now if you have a router such as a Netgear, then that
routers default gateway is more than likely going to be
192.168.1.1 If your routers gateway looks like this,
then you probably want to use setting to match that.
Change your computers hardware port to an address that is the form 192.168.1.xxx where xxx
is any number between 2 and 254 except 111. Set the subnet mask to 255.255.255.0.
Set the default gateway to 192.168.1.1 Now set
the Gemini-2 to 192.168.1.111 using the hand controller.</li>
<li>
You will need to know your computers default gateway.
You can obtain it by running a command prompt (click on cmd
and select run as administrator). See
<a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig" target="_blank">
IPCONFIG Example</a>. At the cursor type: ipconfig
/all <br />This will show you the default gateways, mac address,
and IP addresses of all of your Ethernet ports, if they have
been assigned.<br />
</li>
<li>
Power on Gemini and attempt to access the web server at
<a href="http://gemini/" target="_blank">http://Gemini</a> or
<a href="http://192.168.0.111/" target="_blank">http://192.168.0.111</a>.
or as above if your network is not using the same gateway
address. If this doesn’t
work, use the hand controller menu to ensure that Gemini’s IP address is
<a href="http://192.168.0.111/" target="_blank">http://192.168.0.111</a> by
selecting the menu->mount->network options. If it is not set to that address,
then you can either change your computer’s IP address to match Gemini’s IP address or
you can change Gemini’s IP address to match your computers.
Please note: Some browsers try to connect using a secure
connection, https:// This will not work with the
Gemini-2. It has to start with http://</li>
<li>
Gemini uses NetBIOS name resolution so that you don’t need to type the IP address into your
browser. If you haven’t already done so, enter
<a href="http://gemini/" target="_blank">http://gemini</a> in your browser to
access the web server. The username is “admin” and the default password is blank.
Here us an example of the login screen (with the user name already added):
</li>
<li>
If the steps in step 4 above do not work, you may need to
enable NetBios over TCIP. The sets are listed at the
bottom of this page.</li>
</ol>
</td>
</tr>
<tr>
<td class="style7"><br />
<img src="gemini-images/firmware_update/login.jpg" />
<br />Fig 1
</td>
</tr>
<tr>
<td class="style6"><br />
</td>
</tr>
</table>
<hr class="Red" noshade="noshade" style="width: 800px; height: 4px" />
<table style="width: 900px" align="center">
<tr class="style6">
<td class="style3">
Network without DHCP Support:
</td>
</tr>
</table>
<table style="width: 900px" align="center">
<tr>
<td class="style6">
You may also have an existing network that does not use a DHCP server to assign IP addresses.
Such a network may be using IP auto configuration or static IP addresses in all of your machines.
<ol>
<li>Connect the Gemini 2 unit to the existing network through a hub, switch,
router or wireless adapter.</li>
<li>Power Gemini on.</li>
<li>Power your computer on, if it is not on already. Look to see what IP address is assigned
to the Ethernet port on your computer. Each OS has a different way to do this, so refer
to your OS documentation. On most versions of Windows, you can type “ipconfig” in a
command prompt to see the IP address.</li>
<li>Use the hand controller menu->mount->network buttons to access Gemini’s
IP address. Uncheck the DP checkbox. Click on the IP address field
and change it to an IP address on the same subnet as you computer.
For example, if your computer’s IP address is 169.254.36.12, you
should set Gemini’s address to 169.254.36.xxx where xxx is a number
between 1 and 254 other than 12. You should also ensure that you
do not set Gemini’s IP address to be the same as any other node on
the network.
</li>
<li>Gemini uses NetBIOS name resolution so that you don’t need to type the
IP address into your browser. Enter
<a href="http://gemini/">http://gemini</a> in your browser
to access the web server. The username is “admin” and the default
password is blank. Note: Firmware versions after Feb 10, 2011 behave
as described above. Versions between Feb 6th and Feb
10th don’t support NetBIOS name resolution, so you must
type the Gemini’s IP address in your browser rather than
using the hostname “Gemini.” Versions previous to Feb 6th
do not support DHCP and must be configured as if you are
using a cross-over cable or network without DHCP server
as described above. Versions between Jan 23rd and Feb
6th use 192.168.0.111 as the IP address, and version
prior to Jan 23, 2011 use 192.168.0.100.
</li>
</ol>
</td>
<td class="style7">
From Main Hand Controller Menu use "Menu"==>"Mount"==>"Network"
or "Menu"==>"System"=="network" to see this menu.<br />
<img alt="" height="611" src="hc/En-Images/En-Networkmainmenu.jpg" width="450" /></td>
</tr>
</table>
<hr class="Red" noshade="noshade" style="width: 800px; height: 4px" />
<table style="width: 900px" align="center">
<tr class="style6"><td class="style3"><br />
Configuring the ASCOM Gemini.net Driver to use an Ethernet connection:
</td>
</tr>
<tr><td class="style6">
Of course to use the ASCOM Gemini.net driver, you must have ASCOM Platform installed and also the Gemini.net ASCOM driver.
See <a href="http://www.ascom-standards.org/index.htm" target="_blank">http://www.ascom-standards.org/index.htm</a>
to download the latest ASCOM Platform, and then you can get the latest
driver from this site. See the Menu selection at the top of the page
Under Gemini-2 and download the Gemini.net ASCOM driver. Once you have the Gemini.net driver installed, goto this page to
<a href="configuringEthernetASCOMdriver.html" target="_self">Configuring the
ASCOM Driver Ethernet port</a>.
</td>
</tr>
</table>
<hr class="Red" noshade="noshade" style="width: 800px; height: 4px" />
<table style="width: 900px" align="center">
<tr class="style6"><td class="style3"><br />
Enabling NetBios over TCIP for Local Network:
</td>
</tr>
</table>
<table style="width: 900px" align="center">
<tr><td class="style6">
Netbios is what will allow you to use the
<a href="http://gemini/" target="_blank">http://gemini</a> if using
a web page to access the Web interface, or <a href="ftp://admin@gemini/">
ftp://admin@gemini</a> if
using Windows File manager to access the directories/files of the micro
SDcard, instead of <a href="http://192.168.0.111/">http://192.168.0.111</a>
(or what ever the Gemini-2 ip address is), or again
<a href="ftp://[email protected]/">ftp://[email protected]</a> for
accessing the SD card contents.<br />
<br />
Some Windows systems do not have NetBios enabled. <br />
Note: Normally the default setting on Windows assumes the following: "Use NetBios
setting from the DHCP server."
However, if a static IP address is used or the DHCP server does not
provide NetBios setting, then enable NetBios over TCIP"<br />
See <a href="Enabling_netbios.html" target="_self">this page </a>for instructions on how to do this for Windows 7, XP and
95/98/ME.
</td></tr>
</table>
<table style="width: 900px" align="center">
<tr><td class="style6">
There is also one other thing to take into account when connecting the
Gemini-2 itself, or any WiFi enabled device. If you are using a bridge
to connect the Gemini-2 using WiFi then you need to be aware that some routers let you block WiFi connected devices by there MAC
address.
</td></tr>
</table>
<table style="width: 900px" align="center">
<tr><td></td></tr>
<tr><td>
<a href="http://www.microsoft.com/en-us/download/details.aspx?id=21" target="_blank">
Microsoft Net Framework 4.5</a> is required for the Gemini.net driver
and ASCOM Platform (6.5 is the latest as of this writing) to function. Note that Microsoft Net 3.5 Framework is
installed by default in Windows 7, but it might not be turned on.
You will have to download the Net Framework 4.5 from Microsoft.
See
<a href="http://www.microsoft.com/en-us/download/details.aspx?id=30653" target="_blank">
Microsoft .Net Framework 4.5</a> </td></tr>
</table>
<!--
<table align="center" style="max-width: 900px; min-width: 200px;">
<tr>
<td class="style6-border-white">
May I suggest you invest in a cheap but effective Cat5/Cat6 cable tester. Cost me less than $5.00 including shipping. <br />
RJ45-RJ11-Cat5e-Cat6-Network-Lan-Cable-Tester
from Ebay for about $5.00 or search Ebay for
RJ45-RJ11-Cat5e-Network-Lan-Cable-Tester or web for NHSL-468<br />
<br />Here is an example of it. Works great, and easy to use.<br />
<img alt="" height="833" src="gemini-images/cables/cable-tester1.jpg" width="900" /></td>
</tr>
</table>
-->
<link rel="stylesheet" href="ajxmenu_bottom.css" type="text/css">
<div w3-include-html="footer.html" ></div>
</body>
</html>