Author Topic: Can Dianemo iOS Orbiter be used for a non Dianemo linuxmce installation?  (Read 8314 times)

fibres

  • Guru
  • ****
  • Posts: 306
    • View Profile
    • LinuxMCE 08.10 RC Mirror.
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

Avner

  • Veteran
  • ***
  • Posts: 76
    • View Profile
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
« Last Edit: July 09, 2012, 09:04:28 am by Avner »
Asus P5GD2-X, Intel i915P/G, Pentium 4 3.2 GHz, 2.5GB, nvidia Geforce 8800, Hauppauge WinTV-HVR-1850

Avner

  • Veteran
  • ***
  • Posts: 76
    • View Profile
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
« Last Edit: July 17, 2012, 07:39:48 am by Avner »
Asus P5GD2-X, Intel i915P/G, Pentium 4 3.2 GHz, 2.5GB, nvidia Geforce 8800, Hauppauge WinTV-HVR-1850

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
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
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Avner

  • Veteran
  • ***
  • Posts: 76
    • View Profile
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
Asus P5GD2-X, Intel i915P/G, Pentium 4 3.2 GHz, 2.5GB, nvidia Geforce 8800, Hauppauge WinTV-HVR-1850