LinuxMCE Forums

General => Users => Topic started by: Avner on July 01, 2012, 02:50:48 am

Title: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 01, 2012, 02:50:48 am
Hello,

I downloaded the app Dianemo iOS Orbiter (version 1.5) from the App store to my iPod Touch (version 4.2.1)
From what I read the Dianemo iOS Orbiter is based on the RoamingOrb app that works (partially) on my iPod.
I have a general lmce  (8.10) installation - not a Dianemo installation. Can the Dianemo iOS Orbiter app be used to control lmce in such case?
If yes:
1. How do I configure the following fields, in the Configuration tab:
    a) Installation number
    b) Device number
2. Where do I fill in the Port number (similar to the Port (3461) in the configuration of the RoamingOrb app)?

Thanks,
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Marie.O on July 01, 2012, 09:12:31 am
did you bother searching the wiki for ios orbiter?  http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 01, 2012, 06:52:53 pm
I looked at the wiki for ios orbiter.
The wiki is not specific if the Dianemo iOS Orbiter, can work on regular (non Dianemo) lmce installations.
The wiki instructs to “Check http://wiki.linuxmce.org/index.php/Web_Orbiter_2.0 for the Device Number”. I tried setting the device number to the possible template numbers (Generic Web Device: 1748, Generix Proxy Orbiter: 1749). It didn’t help. The connection still fails.
Also, where do I fill the Dianemo Systems 5 digit installation number from?

Thanks,
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: fibres on July 01, 2012, 09:30:57 pm
Hi Avner

Yes the Dianemo orboter can be used with LinuxMCE.

To get the installation number go into linuxmce webadmin.

Click configuration, devices I think it is and it will tell you the installation number on the left had side of page above the device tree.

If you find the weborbiter you created in the wiki instructions on how to create a web_orbiter_2.0 it should show you the device number.

If you still have problems post back. I am not at home so cant see exactly where info is.

Once you have put the settings in I usually find I have to close the dianemo orbiter on the ipod and reload for it to connect.

Regards
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 02, 2012, 01:38:37 am
Hi fibres,
Thanks for posting the comments.

I followed your instructions and extracted the installation number from the top left corner of the main lmce-admin page. I then restarted the iPod (did not find a way to close the app) but the connection still fails. I tried unsuccessfully to connect using locally and remotely.
The wiki page Dianemo iOS Orbiter in http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter mentions:
•  Installation No. - enter your Dianemo Systems 5 digit installation id or your LinuxMCE installation number in this field.
•  Device No. - enter the device number of the 'Generic Web Device' here ** Not a port number as in v1.0 **.

My questions:

Staying hopeful.
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Marie.O on July 02, 2012, 07:33:40 am
avner,

a Device Template number is not a Device number. The device number is number of the device that is being created on your system probably a 2 or 3 digit number.

Re installation ID: As has been said numerous times by Andrew, that number is only relevant in case you have a Dianemo system, as it will allow remote access to your system via a Dianemo server.
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 02, 2012, 05:18:01 pm
Posde,

Quote
a Device Template number is not a Device number. The device number is number of the device that is being created on your system probably a 2 or 3 digit number.
I tried using both device numbers. Still no connection (In my case these are: Device #46: iPod Touch Orbiter, Device #47: Generic Proxy Orbiter).

Quote
Re installation ID: As has been said numerous times by Andrew, that number is only relevant in case you have a Dianemo system, as it will allow remote access to your system via a Dianemo server.
So in my case where the installation number is irrelevant, leaving this field with my lmce 7 digit installation number would not hurt, right? (I get an error message: Incomplete form data if leaving it blank).

Regarding local / remote connection, from what I understand:
• Connecting on the internal interface (192.168.80.1) requires local connection.
• Connecting using the ISP IP (e.g. 108.172.78.127) requires remote connection, and may only be possible if you have a Dianemo system.
• Connecting on the external interface within the lan (192.168.1.62) requires ??? connection.
In my case,  I am trying to connect using the external Ip address of the Core within the lan (192.168.1.62). I tried both local and remote connections. What connection should I use?

Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Marie.O on July 02, 2012, 05:43:47 pm
local, and you have to disable the firewall on your core.
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 02, 2012, 06:50:29 pm
Posed,

Quote
local, and you have to disable the firewall on your core.
I already can connect using the WebOrbiter, so firewall is not a problem. (My firewall configuration has: Advance / Network / Firewall rules / IPv4 Firewall disabled)

Here are my settings:
Description: iOs Orbiter
Installation number: 1025897
Device number: 47 (tried also 46)
User name: avner
Password: *****
Nerve Centre IP: 192.168.1.62

Using "Connect locally"

With this I think I have covered all the possible options.
What else could be wrong?

Thanks,
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Marie.O on July 02, 2012, 06:54:35 pm
47 looks okay. does 46 work as the web orbiter? Oh, and make sure the username and password are correct as well.
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: fibres on July 03, 2012, 04:19:48 am
I would say it would more than likely be device 46 not 47 as its usually the main device it needs.

Try hooking the iPod upto an access point on the lmce internal LAN and connect to 192.168.80.1 and leave the username and password blank.

That was how I had it setup.

Regards
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Marie.O on July 03, 2012, 08:49:37 am
When selecting the web orbiter, you select the Generic Proxy Orbiter device, when looking for the iOS device ID you select the Generic Web Device.
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 04, 2012, 10:23:48 am
I created an internal lan using a Linksys switch (WRT54G). I connected the Linksys device to the secondary network and followed the instructions in http://wiki.linuxmce.org/index.php/Linksys_WRT54G - specifically, I set the Linksys IP address to 192.168.1.130 and disabled the DHCP server.

I added the iPod to the internal network. I had to set up the IP address statically, to be on the 192.168.80.xx network (I set the iPod to 192.168.80.132 with gateway of 192.168.80.130).
I changed the settings in the Dianemo app as follows:
Device number: 47
User name: (blank)
Password: (blank)
Nerve Centre IP: 192.168.80.1

If the iPod IP address is configured statically, with these settings I can:
Connect with the Dianemo app as well as the RoamingOrb app on the internal lan.
Connect to the Linksys gateway (192.168.80.130)
Connect to lmc-admin page (192.168.80.1)
However, I can not connect with my iPod to the Internet. >:( >:(

If the iPod IP address is configured dynamically, it gets an address outside the 192.168.80.xx range (e.g. 192.168.1.70). I then can see the Internet but can not access the Core (e.g. the Dianemo app fails to connect).

I don’t understand why the iPod IP address is set to an address which is outside the 192.168.80.xx range (e.g. 192.168.1.70) if it is set up dynamically.

Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: fibres on July 05, 2012, 12:42:45 am
That sounds strange. Are you sure you have disabled the DHCP on the Wrt54G? If the ipod is getting a different ip address you must either still have dhcp enabled or have a link between your internal and external network.

Your network should be something like the following.


Internet Modem/Router <--->  LMCE Core <---> WRT54G <---> iPod

Regards
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 05, 2012, 05:02:47 am
Fibres,

I have exactly the network settings that you mentioned. The secondary nic (192.168.80.1) is wired to one of the linksys LAN ports.
The attached images show the Linksys setting details:
Snapshot1 - Basic setup - the local IP address is set to 192.168.80.130. DHCP Server is disabled.
  I’m not sure what the combo item: Automatic Configuration – DHCP in the Internet setup section means:
  I set the address of the Linksys to 192.168.80.130 in the Router IP section,
  and the DHCP server is disabled in the section: Network Address Server Settings (DHCP)
Snapshot2 - Wireless setup - the DHCP server is disabled. The name of the network is unique (MoshkovitzLinuxMCE_Linksys) so when I connect to it using my iPod, there is no option that I’m on a different network mistakenly.
Snapshot3 - Local network – Another indication that DHCP server is disabled.

Yet, when I’m connecting with the iPod to this network, the iPod IP address is set to 192.254.95.149, which is outside the range of the 192.168.80.xx.
I’m puzzled where the iPod gets that address from?

Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: fibres on July 05, 2012, 11:18:30 am
Hi Avner

The config on the looks fine.

The ip the iPod is getting looks like it might be one it generates itself if it cannot abtain an ip address.

What happens if you connect a laptop by cable to one of the other lan ports on the linksys?

Just to check you are connecting the link from the lmce internal card to a lan port on the linksys and not the internet/wan port?

Regards
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 09, 2012, 08:28:44 am
Quote
What happens if you connect a laptop by cable to one of the other lan ports on the linksys?
Just to check you are connecting the link from the lmce internal card to a lan port on the linksys and not the internet/wan port?

I connected a desktop by cable to one of the other lan ports on the Linksys.
The IP address is 192.168.122.62, again outside the range of 192.168.80.xxx

Code: [Select]
Wireless LAN adapter Wireless Network Connection:

   IPv4 Address. . . . . . . . . . . : 192.168.1.76
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   IPv4 Address. . . . . . . . . . . : 192.168.122.62
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.122.1

In my Linksys WRT45G device configuration, I also have the following settings:

1. Internet Connection Type.
According to Linksys manual, this is the Router’s IP address, when seen from the WAN, or the Internet. I left it at its default value: Automatic Configuration – DHCP (see in snapshot1 in previous posting)
Should I change it to static and give it an IP address that is in the range (e.g. 192.168.80.131)?
Or does it not matter at all, since the wire is hooked to the lan port on the linksys and not the internet/wan port?

2. Operating Mode (in Setup / Advanced Routing)
According to Linksys manual it could be Gateway, if the device is hosting your network’s connection to the Internet or Router if the Router exists on a network with other routers.
On my device, it is set to Router

On the core I have the network interfaces set up using eth2, eth3 as follows:

Code: [Select]
auto eth2
iface eth2 inet static
address 192.168.1.62
gateway 192.168.1.254
netmask 255.255.255.0

auto eth3
iface eth3 inet static
address 192.168.80.1
netmask 255.255.255.0

From the core I can access:
•   The Internet, through the external interface
•   The lmce-admin (on 192.168.80.1)
•   The linksys admin (on 192.168.80.130)

From the desktop (as from the iPod) I cannot access the internal network (192.168.80.xx) unless i set the IP address of these devices statically.

Not sure what else I could do.
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 17, 2012, 07:36:10 am
The following link (http://wiki.linuxmce.org/index.php/Internal_and_External_networks_swapped/not_working) helped solve the problem of wrong IP addresses. I had the external / internal interfaces mapped to eth2 / eth3 respectively. According to the link LMCE assumes that the external / internal interfaces are on eth0 / eth1, and sends traffic in wrong directions which disrupt the
external network DHCP.

The wrong configuration was a result of cloning a VM image, where I probably added and removed inetrfaces ending up in wrong
eth2 / eth3 naming in /etc/udev/rules.d/70-persistent-net.rules

In /etc/udev/rules.d/70-persistent-net.rules I renamed eth2 / eth3 to eth0 / eth1
After rebooting, devices connected through the linksys to the secondary nic are assigned IP addresses in the range of 192.168.80.xxx

After this I was able to test the connection from RoamingOrb and Dianemo Orbiter.
I tested the connection of both apps from an iPod Touch and from an iPhone4S

Connecting using the Dianemo Orbiter
From the iPod Touch:
• Dianemo Orbiter can NOT connect through the external interface to lmce (the RoaminOrb succefully connects)
• Dianemo Orbiter can connect through the internal interface to lmce

From the iPhone4S:
• Still needs to be tested

Connecting using the RoamingOrb
From the iPod Touch:
• RoamingOrb can connect through the internal and the external interface to lmce.
However, the rendering is not correct. It is missing part of the frame - the right 1/3rd part of the screen is blank. (see snapshot: RoamingOrbRenderingFailureOniPodTouch)

From the iPhone4S:
• RoamingOrb can not be configured. The button Save settings and connect renders as a line and does not respond to clicking on it (see snapshot: RoamingOrbConfigFailureOniPhone4S)

I found a thread that discusses the New Version of the Dianemo iOS Orbiter (in http://forum.linuxmce.org/index.php/topic,11655.0.html). I’ll also post my Dianemo observations on it.

Regards,
Avner
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: totallymaxed on July 19, 2012, 10:27:43 am
The following link (http://wiki.linuxmce.org/index.php/Internal_and_External_networks_swapped/not_working) helped solve the problem of wrong IP addresses. I had the external / internal interfaces mapped to eth2 / eth3 respectively. According to the link LMCE assumes that the external / internal interfaces are on eth0 / eth1, and sends traffic in wrong directions which disrupt the
external network DHCP.

The wrong configuration was a result of cloning a VM image, where I probably added and removed inetrfaces ending up in wrong
eth2 / eth3 naming in /etc/udev/rules.d/70-persistent-net.rules

In /etc/udev/rules.d/70-persistent-net.rules I renamed eth2 / eth3 to eth0 / eth1
After rebooting, devices connected through the linksys to the secondary nic are assigned IP addresses in the range of 192.168.80.xxx

After this I was able to test the connection from RoamingOrb and Dianemo Orbiter.
I tested the connection of both apps from an iPod Touch and from an iPhone4S

Connecting using the Dianemo Orbiter
From the iPod Touch:
• Dianemo Orbiter can NOT connect through the external interface to lmce (the RoaminOrb succefully connects)
• Dianemo Orbiter can connect through the internal interface to lmce

From the iPhone4S:
• Still needs to be tested

Connecting using the RoamingOrb
From the iPod Touch:
• RoamingOrb can connect through the internal and the external interface to lmce.
However, the rendering is not correct. It is missing part of the frame - the right 1/3rd part of the screen is blank. (see snapshot: RoamingOrbRenderingFailureOniPodTouch)

From the iPhone4S:
• RoamingOrb can not be configured. The button Save settings and connect renders as a line and does not respond to clicking on it (see snapshot: RoamingOrbConfigFailureOniPhone4S)

I found a thread that discusses the New Version of the Dianemo iOS Orbiter (in http://forum.linuxmce.org/index.php/topic,11655.0.html). I’ll also post my Dianemo observations on it.

Regards,
Avner


The iPod Touch 4G & iPhone 4/4S need to have a proxy Orbiter set to 960x640 resolution (and you must regen them too) - this applies to RoaminOrb or the Dianemo App. The Dianemo App has been tested by us on iPod Touch 1/2/3/4 Gen and iPhone 3GS, iPhone 4/4S, iPad 1G/2G and the 'new' iPad with a retina display - all are supported and working and we have both Dianemo & LinuxMCE users using a broad mix of all of these devices. I can't provide a specific number but the number of active iOS devices using the Dianemo App is into the 'thousands' now.

Glad you got your configuration issues sorted in the end.

All the best

Andrew
Title: Re: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?
Post by: Avner on July 21, 2012, 08:14:32 am
Hi Andrew,

I verified that the resolutions are set as you mentioned (I posted the setting snapshots from  of each proxy orbiter in http://forum.linuxmce.org/index.php/topic,11655.msg90839.html#msg90839)
I did a full regeneration and reload of the orbiters.

Regards,
Avner