1

I want to connect my laptop to two WiFi enabled digital cameras, that have the same IP hardcoded: 192.168.1.1

One solution that I've successfully tried:

  • Connect one device to the laptop's built in WiFi adapter, and access it at 192.168.1.1:15740. Here 15740 is the standard port for PTP/IP (Picture Transfer Protocol via IP), a protocol for remote controlling cameras.

  • Set up a virtual machine with Linux. Attach a USB WiFi adapter to the virtual machine. Use SSH port forwarding to redirect port 15740:

    Screen shot of PuTTY port forwarding configuration

    Now the second camera's PTP/IP port can be accessed on the host at: localhost:15740

Is there a solution that doesn't require setting up a virtual machine?

Someone mentioned ForceBindIP, but I couldn't get it to work, at least not with ptp.js:

C:\Windows\SysWOW64\ForceBindIP.exe {64DD8F7D-8F9A-40DD-BE10-74011D549687} "C:\Program Files (x86)\nodejs\node.exe" C:\Scratch\ptp.js\node_demo\app.js capture 192.168.1.1

What I see is a window poping up and down, too fast to read it.

15
  • 1
    What is the make and model number of the camera?
    – DavidPostill
    Commented Oct 20, 2014 at 10:17
  • @DavidPostill Ricoh Theta
    – feklee
    Commented Oct 20, 2014 at 10:19
  • 2
    I don't believe that the IP addresses can't be modified, especially when 192.168.1.1 is typically the address of the router on the 192.168.1.x subnet.
    – AFH
    Commented Oct 20, 2014 at 10:21
  • 1
    @AFH The Theta acts like an access point, taking on computers as clients on a network that includes only them and the Theta. It can also act as a router for a 192.168.1.x subnet using its built in 3G connection. It expects to be the only router on its LAN subnet. Commented Oct 20, 2014 at 10:23
  • According to theta360.com/uk/support/manual/content/add_info/… the camera comes with a USB connection. Can you use this for one of the cameras?
    – DavidPostill
    Commented Oct 20, 2014 at 10:24

1 Answer 1

1

This is a bit of a reach, but its worth a shot. Find the MAC address to each of your cameras, then set up a static ARP mapping on your PC so that each camera has its own IP address. With the static ARP in place, you're machine won't try to resolve the ARP for the made up IP address, and will encapsulate the traffic with the correct MAC address.

That will definitely get the packets to the Camera. The only concern is if the Camera is listening specifically on the 192.168.1.1 IP, or on any IP. AKA, if its listening on localhost:15740, you'll be fine. If its only listening on 192.168.1.1:15740, this will probably not work.

4
  • Interesting - didn't know about this possibility. Unfortunately, it doesn't seem to work. Using arp -a, I found out the MAC address of the camera, associated with 192.168.1.1 (dynamic). Then using arp -s I assigned 10.0.0.200 as well as 192.168.1.2 to that MAC address (static). However, at neither of these IPs I could access the camera. If there is anything else I can try, please let me know.
    – feklee
    Commented Oct 20, 2014 at 17:57
  • To be clear, you will have to use IP addresses in your home network's range (192.168.1.x). So to put examples, if the MAC address for Camera 1 is c1c1.c1c1.c1c1 and the MAC address for Camera 2 is c2c2.c2c2.c2c2; You will want to map (for instance) 192.168.1.201 to c1c1.c1c1.c1c1, and 192.168.1.202 to c2c2.c2c2.c2c2. Once that is set, you can test by pinging 192.168.1.201 or .202. If you get responses, then the solution will work. (assuming the camera's respond to ping). At no time are you changing your PC's IP/MAC information, that stays the same.
    – Eddie
    Commented Oct 20, 2014 at 18:00
  • See, that's what I did: I mapped the camera's MAC to 192.168.1.2 (in the network), and also - for testing - to 10.0.0.200 (outside of the network). None of the IPs was reachable, neither by PTP/IP nor by HTTP. Ping I didn't try because I think the camera doesn't respond to ping requests.
    – feklee
    Commented Oct 20, 2014 at 18:21
  • Now I tried assigning 192.168.56.200, which is an unused IP in the host-only network used by VirtualBox, 192.168.56.0/24. At that IP the camera also was unreachable.
    – feklee
    Commented Oct 20, 2014 at 18:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .