Difference between revisions of "Web Orbiter"

From LinuxMCE
Jump to: navigation, search
(Web Orbiter)
(Undo revision 28677 by AHagerty93 (talk) spam)
 
(74 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<table width="100%"> <tr><td bgcolor="#FFCFCF">This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE.  However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.</td></tr> </table>== Setup ==
+
{{versioninfo|810Status=Depreciated - Use [[Web_Orbiter_2.0]] |810UpdatedDate=|810UpdatedBy=--[[User:Langstonius|Langstonius]] 20:37, 15 September 2010 (CEST)}}
 +
{| align="right"
 +
  | __TOC__
 +
  |}
 +
[[Category: Orbiters]]
 +
[[Category: Tutorials]]
  
Procedure to setup the Web Orbiter is simple but the order of steps is important:
+
A Web Orbiter is any device (such as a laptop, PC, etc.) that accesses the Orbiter user interface (UI) through a Web browser.
<ol>
+
<li>First of all we should add a new Generic Web Device as a Child Device for your Core. Press "Show devices tree" and then "CORE". The Core detailed page should appear. On this page press a link 'Create Child Device' and press the button 'Pick device template' in the Add child device window. The new pop-up window contained device templates will be opened. Choose a category 'Peripherals', find and select Generic Web Device in the right list box and press the button 'Add device'. Generic Web Device will be added to the Core. Also new Generic Proxy Orbiter will be created automatically on this stage. We can watch the Orbiter generation process on the Orbiters page: Wizard --&gt; Devices --&gt; Orbiters.</li>
+
<li>We should wait till generation procedure finishes (we should see a message on some active Orbiter or on the Orbiter page).</li>
+
<li>Don't forget Quick reload router. It's important because otherwise the Orbiter won't work properly</li>
+
<li>We can access to the Web Orbiter just typing URL ''<nowiki>http://core_ip/pluto-admin/weborbiter.php</nowiki>''  in the browser address bar. We should input existing user name and password and choose Generic Web Device from the dropdown list. As result we should have something similar:
+
  
<div align='center'>
+
There is now a new version of WebOrbiter (WebOrbiter 2.0) please click [[Web_Orbiter_2.0|here]] for setup instructions. 
http://static.flickr.com/53/135379014_3e2f15c65d_m.jpg<br>
+
 
([http://www.flickr.com/photos/stepanov/135379014/ click to enlarge])
+
== Setup ==
</div>
+
The procedure to setup a Web Orbiter is simple but the order of steps is important.
</li>
+
#First of all, add a new Generic Web Device as a Child Device for your Core:
</ol>
+
##Goto the LinuxMCE Admin website-->Show devices tree-->CORE. The CORE's detail page should appear.
If you try to connect to the Web Orbiter and see this message :  
+
##Click 'Create Child Device'.
<code>"Connect to proxy orbiter failed, please try again"</code>
+
##In the Description, enter the name of the specific web orbiter.
this means that the procedure of Orbiter generation doesn't finish yet or you forgot to quick restart of router.
+
##In the Add child device window, click the button 'Pick device template'. The new pop-up window containing device templates will be opened.
 +
##In the 'Device Category' dropdown list, choose 'Peripherals'.
 +
##In the 'Device Template' dropdown list, find and select "Generic Web Device" (or just type the template id: 1748 and press go).
 +
##Click the button 'Pick Device Template'. The Add Child Device Window will close, and the Generic Web Device will be added to the Core, as the updated Device Tree will show.
 +
##A new Generic Proxy Orbiter will also be created automatically. Watch the Orbiter generation process on the Orbiters page: Wizard-->Devices-->Orbiters.
 +
#Wait till the Orbiter generation procedure finishes. A message on an active Orbiter or on the Orbiter page will indicate when it has completed.
 +
#Do a "[[Quick reload router]]". Otherwise, the Orbiter won't work properly.
 +
 
 +
==Access to the Web Orbiter==
 +
 
 +
===From within your home===
 +
You can access the Web Orbiter from any web browser (Mozilla Firefox, IE, Safari):
 +
 
 +
'''If you are currently using the 810 alpha releases the correct URL is:'''
 +
''<nowiki>http://&lt;core_ip&gt;/lmce-admin/weborbiter.php</nowiki>''
 +
 
 +
'''The current release 710 uses the information below.'''
 +
 
 +
*In the browser address bar, type the URL ''<nowiki>http://&lt;core_ip&gt;/pluto-admin/weborbiter.php</nowiki>''.
 +
:* From within the "internal" LinuxMCE LAN, for example:
 +
::::''http://192.168.80.1/pluto-admin/weborbiter.php'' (0710)
 +
::::''http://192.168.80.1/lmce-admin/weborbiter.php'' (0810)
 +
:::::(This assumes the IP address range set by default at installation.)
 +
:*You can also use the network name of the Core in place of the IP address. For example, if the Core was named "dcerouter" during the default installation, you could use:
 +
::::''<nowiki>http://dcerouter/pluto-admin/weborbiter.php</nowiki>''
 +
:*From the "external" home LAN, the core_ip would be the LAN IP address of the core. If, for example, the core is at 192.168.0.50 on the home LAN, use:
 +
:::: ''<nowiki>http://192.168.0.50/pluto-admin/weborbiter.php</nowiki>''
 +
 
 +
:::::(Note: To use this method, [[Outside Access]] must be enabled.)
 +
 
 +
===From the Internet===
 +
You could use the IP address:port for your home LAN, with port forwarding to the Core's LAN IP address (enabled by your home LAN router).
 +
*''This is an advanced topic and may not be secure in the current version.''
 +
 
 +
By default, LinuxMCE is not accessible outside your home. This makes the system secure, but it prevents you from accessing the web site via the Internet while away from home.  You can [[Outside_Access|turn on Internet access]], allowing access to the admin website anywhere. For your own security, however, we recommend you first read about [[Security & Privacy Issues]].
 +
 
 +
===Login page===
 +
*A simple login page should be displayed. Input an existing user name and password, then click "Login".
 +
*From the dropdown list of devices, choose Generic Web Device.
 +
*A page that looks similar to this should appear: [[Image:Web Orbiter.jpg|center]]
 +
 
 +
==Troubleshooting==
 +
===Connect failed===
 +
If you try to connect to the Web Orbiter and see this message:
 +
<code>"Connect to proxy orbiter failed, please try again"</code>,
 +
this means that Orbiter generation hasn't finished yet, or that you forgot to do a [[Quick_reload_router|quick restart of the router]].
 +
 
 +
=== Size ===
 +
I was able to change the size of the rendered image in the Wizard-->Orbiters page. Find the Web Orbiter device in the list and resize it. After another orbiter regen, it was the right size for me. (''Source http://forum.linuxmce.org/index.php?topic=3833.0'')
 +
 
 +
=== Problems with rapid refresh rate ===
 +
 
 +
Problem:
 +
When using the Web Orbiter over the Internet (instead of from within my home LAN), it refreshed every 5 seconds, making it difficult to use. The images were repeatedly downloaded each time.
 +
 
 +
Solution:
 +
*Go to [[LinuxMCE Admin Website]]-->Device tree-->CORE-->Generic Web Device-->Device Data
 +
*Set the Refresh Interval to a higher value (I used 60 seconds for mine).
 +
 
 +
=== Changing default room ===
 +
Changing the default room in the Wizard-->Devices-->Orbiters page has no effect.
 +
 
 +
Solution:
 +
*Go to [[LinuxMCE Admin Website]]-->Device tree-->CORE-->Generic Web Device
 +
*Check the box for the room to control
 +
 
 +
===Screen Deadlock===
 +
If the screen of your orbiter becomes "frozen" or stuck and orbiter regens and router reloads do not resolve the issue, run this from the core:
 +
sudo killall -9 Proxy_Orbiter
 +
(Source: http://forum.linuxmce.org/index.php?topic=6844.0)
 +
= See also =
 +
Another example of a web orbiter is the [[IOrbiter]]
 +
 
 +
WebOrbiter has also been rebuilt from the ground up as [[Web_Orbiter_2.0]]

Latest revision as of 14:48, 27 September 2011

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Depreciated - Use Web_Orbiter_2.0 --Langstonius 20:37, 15 September 2010 (CEST)
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

A Web Orbiter is any device (such as a laptop, PC, etc.) that accesses the Orbiter user interface (UI) through a Web browser.

There is now a new version of WebOrbiter (WebOrbiter 2.0) please click here for setup instructions.

Setup

The procedure to setup a Web Orbiter is simple but the order of steps is important.

  1. First of all, add a new Generic Web Device as a Child Device for your Core:
    1. Goto the LinuxMCE Admin website-->Show devices tree-->CORE. The CORE's detail page should appear.
    2. Click 'Create Child Device'.
    3. In the Description, enter the name of the specific web orbiter.
    4. In the Add child device window, click the button 'Pick device template'. The new pop-up window containing device templates will be opened.
    5. In the 'Device Category' dropdown list, choose 'Peripherals'.
    6. In the 'Device Template' dropdown list, find and select "Generic Web Device" (or just type the template id: 1748 and press go).
    7. Click the button 'Pick Device Template'. The Add Child Device Window will close, and the Generic Web Device will be added to the Core, as the updated Device Tree will show.
    8. A new Generic Proxy Orbiter will also be created automatically. Watch the Orbiter generation process on the Orbiters page: Wizard-->Devices-->Orbiters.
  2. Wait till the Orbiter generation procedure finishes. A message on an active Orbiter or on the Orbiter page will indicate when it has completed.
  3. Do a "Quick reload router". Otherwise, the Orbiter won't work properly.

Access to the Web Orbiter

From within your home

You can access the Web Orbiter from any web browser (Mozilla Firefox, IE, Safari):

If you are currently using the 810 alpha releases the correct URL is: http://<core_ip>/lmce-admin/weborbiter.php

The current release 710 uses the information below.

  • In the browser address bar, type the URL http://<core_ip>/pluto-admin/weborbiter.php.
  • From within the "internal" LinuxMCE LAN, for example:
http://192.168.80.1/pluto-admin/weborbiter.php (0710)
http://192.168.80.1/lmce-admin/weborbiter.php (0810)
(This assumes the IP address range set by default at installation.)
  • You can also use the network name of the Core in place of the IP address. For example, if the Core was named "dcerouter" during the default installation, you could use:
http://dcerouter/pluto-admin/weborbiter.php
  • From the "external" home LAN, the core_ip would be the LAN IP address of the core. If, for example, the core is at 192.168.0.50 on the home LAN, use:
http://192.168.0.50/pluto-admin/weborbiter.php
(Note: To use this method, Outside Access must be enabled.)

From the Internet

You could use the IP address:port for your home LAN, with port forwarding to the Core's LAN IP address (enabled by your home LAN router).

  • This is an advanced topic and may not be secure in the current version.

By default, LinuxMCE is not accessible outside your home. This makes the system secure, but it prevents you from accessing the web site via the Internet while away from home. You can turn on Internet access, allowing access to the admin website anywhere. For your own security, however, we recommend you first read about Security & Privacy Issues.

Login page

  • A simple login page should be displayed. Input an existing user name and password, then click "Login".
  • From the dropdown list of devices, choose Generic Web Device.
  • A page that looks similar to this should appear:
    Web Orbiter.jpg

Troubleshooting

Connect failed

If you try to connect to the Web Orbiter and see this message: "Connect to proxy orbiter failed, please try again", this means that Orbiter generation hasn't finished yet, or that you forgot to do a quick restart of the router.

Size

I was able to change the size of the rendered image in the Wizard-->Orbiters page. Find the Web Orbiter device in the list and resize it. After another orbiter regen, it was the right size for me. (Source http://forum.linuxmce.org/index.php?topic=3833.0)

Problems with rapid refresh rate

Problem: When using the Web Orbiter over the Internet (instead of from within my home LAN), it refreshed every 5 seconds, making it difficult to use. The images were repeatedly downloaded each time.

Solution:

  • Go to LinuxMCE Admin Website-->Device tree-->CORE-->Generic Web Device-->Device Data
  • Set the Refresh Interval to a higher value (I used 60 seconds for mine).

Changing default room

Changing the default room in the Wizard-->Devices-->Orbiters page has no effect.

Solution:

Screen Deadlock

If the screen of your orbiter becomes "frozen" or stuck and orbiter regens and router reloads do not resolve the issue, run this from the core:

sudo killall -9 Proxy_Orbiter

(Source: http://forum.linuxmce.org/index.php?topic=6844.0)

See also

Another example of a web orbiter is the IOrbiter

WebOrbiter has also been rebuilt from the ground up as Web_Orbiter_2.0