Wiser over cisco anyconnect vpn on IPAD

Discussion in 'C-Bus Wiser 1 Controller' started by Charlie Crackle, Mar 2, 2012.

  1. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    Have a Wiser that is setup for LAN only works fine over wifi on IPAD

    install cisco anyconnect VPN and then connect with 3G and VPN back to premisis.

    IPAD gets and IP address on the same subnet as wiser. IPAD can ping WISER

    run the WISER APP is says "network connectivity OK" and then stops. only way to continue is to "close the app" with the equiv of an "End Task"

    Does the message "Network connectivity OK" mean is talking to the wiser ?
     
    Charlie Crackle, Mar 2, 2012
    #1
  2. Charlie Crackle

    >>aSh<<

    Joined:
    Apr 7, 2011
    Messages:
    25
    Likes Received:
    0
    Location:
    Australia
    Hi,

    Everytime I have seen wiser app with message "Network connectivity OK" is when wiser app is not able to talk to Wiser but does have a WIFI connection with some other router.

    Is your wiser connected through Wan port / Bus bar / Option A OR Lan port / Option B? are you able to launch web interface of wiser from a pc while connected through your current setup?
     
    >>aSh<<, Mar 3, 2012
    #2
  3. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    I am using OPTION B.

    I tried using a PC and not the IPAD

    the webservice connects and asks for the username and password

    and then says connecting to wiser

    but then the message unable to connect appears.
     

    Attached Files:

    Charlie Crackle, Apr 4, 2012
    #3
  4. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    I have attached a picture to make things clearer.

    THe wiser project in piced as the gateway set as 192.168.1.1
     

    Attached Files:

    Charlie Crackle, Apr 4, 2012
    #4
  5. Charlie Crackle

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    I seem to recall that someone solved the problem by also connecting the Wiser WAN port to the switch. Making sure that only one DHCP was on the main router and that only a small segment was allocated to DHCP and the rest was all fixed IP.
     
    tobex, Apr 4, 2012
    #5
  6. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    I can ping the wiser no problems and it initally connects.

    is all the communication just to the wiser ?? or does some go to the CNI. I http://cni address and the device has the same default gateway.

    WISER IS LAN DEVICE

    I have static IP on the CNI and the WISER


    If I have a PC connected to 192.168.1.0/24 network all works ok
    If I have a PC connected to 192.168.2.0/24 can ping wiser and cni. when you connect you get asked for the username and password and then says authenticating socket and then the "Unable to connect to wiser"

    Dont think it has anything to do with the vpn if just does not like talking via a router.
    Any ideas ?
     

    Attached Files:

    Last edited by a moderator: Apr 4, 2012
    Charlie Crackle, Apr 4, 2012
    #6
  7. Charlie Crackle

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    I have to wonder if the primary router (the router for the internet provider) is forwarding the port numbers you need.

    I realise that VPN is different to DDNS but I was wondering.

    What happens if you use Teamviewer on a LAN based PC and connect through that ?
     
    tobex, Apr 4, 2012
    #7
  8. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    nothing to do with ports. all open

    teamview accross the router works fine.

    might be time for a wire shark trace..
     
    Charlie Crackle, Apr 5, 2012
    #8
  9. Charlie Crackle

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    What is the subnet mask ? Class C or Class B ?
     
    tobex, Apr 5, 2012
    #9
  10. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    all class C

    What I am not understanding is why it initially connects (ie gets the start page and logs in ok) but then stops.

    Can some one explain how the comms work in wiser. Are all comms to the wiser IP
     
    Last edited by a moderator: Apr 8, 2012
    Charlie Crackle, Apr 8, 2012
    #10
  11. Charlie Crackle

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    I could be wrong but my interpretation was that, if you wish to pass data from 192.168.2.xxx to 192.168.1.xxx you would have advantages in using a Class-B on all sides of the configuration.

    A subnet with
    255.255.255.0 would in theory be unable to resolve the difference between 192.168.2.50 and 192.168.1.50 or similarly prevent a software routing table to be established in the WISER which would make sense to the remote site.

    Once again I stress that I dont know your hardware or its higher capabilities.But my first move would be to open the subnet mask to class B.
     
    tobex, Apr 8, 2012
    #11
  12. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    This is not the case. This is what routers are for. If not on the local subnet then traffic gets sent to the default gateway. Opening the subnet mask to b class is not the answer
     
    Charlie Crackle, Apr 9, 2012
    #12
  13. Charlie Crackle

    Ingo

    Joined:
    Dec 2, 2006
    Messages:
    290
    Likes Received:
    1
    Location:
    South Africa
    Correct, I am sure you've checked this already but just make sure your return path also knows how to get back to the source. Being directly attached networks it usually works as-is BUT being a virtual interface that only comes up when a VPN is setup it MIGHT be nessasary to check the routing from both ends.

    Your best option is to do that sniffer trace and see what is being sent/received from wiser. If it was me I would put a PC on one side and a Laptop on the other, make sure they get the same IP's as your Wiser setup and then do the traces on both to see where things go wrong.

    Good luck.
     
    Ingo, Apr 9, 2012
    #13
  14. Charlie Crackle

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    You can nominate which gateway is being used by which group of devices but I might be missing something in that I cant see how you are translating the VPN IP addresses. Does the external VPN address have a local address in a lookup table ?
     
    Last edited by a moderator: Apr 9, 2012
    tobex, Apr 9, 2012
    #14
  15. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    It has nothing to do with the VPN. I have tested with a pc connected on the other side of the router just to rule out the VPN

    see picture.

    I can ping it OK so the routing and network is good.

    Connect from windows PC get the wiser web screen. (so networking is working)
    Then log in.
    Then fails.

    From IPAD on 192.168.2.0/24 network the App connects and says "NETWORK OK" then hangs.


    Can some one confirm all comunication is between the flash or ipad app and the wiser IP address and not the CNI ?

    Charles
     

    Attached Files:

    Charlie Crackle, Apr 9, 2012
    #15
  16. Charlie Crackle

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    Yes, all communication generated by the Adobe Flash and/or iPad/iPhone app is to/from the Wiser IP address. From external, the ports typically exposed are the http server (typically external is port 8080) and the Wiser port (port 8888).
     
    kjayakumar, Apr 16, 2012
    #16
  17. Charlie Crackle

    Steve Tester

    Joined:
    Aug 3, 2004
    Messages:
    31
    Likes Received:
    0
    Location:
    Melbourne
    Ports

    Just want to confirm that you have opened all ports as set out on page 40 of the Wiser Home Control Installation Instructions.

    Without setting these ports up correctly you will be able to VPN in & get an IP & ping the Wiser, however you will not be able to do much else.
    Correct router port set up is required to get full Wiser control.

    Just as a matter of conformation can you post a screen dump of the port config page?
     
    Steve Tester, Apr 17, 2012
    #17
  18. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    NOTE: I have NO WAN CONNECTION

    Forget the VPN part does not work via a router with a PC. (second diagram)

    What I find confusing is why does the initial WISER screen come up.

    It prompts and then accepts authentication

    then says can not communicate with C-BUS.

    for the first 2 steps to happen I must have the network and ports ok.

    the router is NOT blocking any ports.

    Can some one explain why the first bit works...
     
    Charlie Crackle, Apr 19, 2012
    #18
  19. Charlie Crackle

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,427
    Likes Received:
    64
    Location:
    Adelaide
    The initial wiser screen only requires port 8080 to be accessible.

    If I'm not mistaken, the screen with the red hand comes up when the xml socket on port 8888 cannot be opened.

    Nick
     
    NickD, Apr 20, 2012
    #19
  20. Charlie Crackle

    Charlie Crackle

    Joined:
    Aug 3, 2004
    Messages:
    815
    Likes Received:
    8
    Location:
    Melbourne
    I have made the network simple and removed all the complexity and just have 1 router just to prove the problem. (router is just a router no firewall and no port blocking) Wireless disabled

    WISER is in LAN MODE

    Laptop A http://10.57.1.90 has no problems and works fine

    Laptop B http://10.57.1.90 Connects. Authenticates. then says unable to connect to wiser. (see pictures in next post as reached the limit in this one)
     

    Attached Files:

    Charlie Crackle, Apr 25, 2012
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.