Image Image Image Image Image Image Image Image Image Image

Mincading | June 23, 2017

Scroll to top

Top

DIY

Android IP Camera: Part one – 22/10/14

mincading
  • On 15/05/2017
  • http://mincading.com

Recently receiving a lot of packages, I was interested in the idea of using my extra android devices for an IP camera configuration to see when deliveries are being made. However, the complicated network I have at home was really challenging to setup.

My current configuration consists of a gigabit modem/switch/wireless access point. The switch is then branched off to different levels in the house and rooms. Extended into my room, is connected to a TP-link gigabit switch. Connected to the switch is my computer (home-PC), my brothers computer and a 2.4/5.0GHz wireless router (TP-Link N600 WDR3500). This means I am connected to the default gateway offered by the modem (ex. 192.168.0.1) while the TP-link router provides a way to connect wireless devices to my NAS (which is also connected to the 192.168.0.1 gateway.

In this sense, I am able…

  • to access my NAS from home-PC at gigabit speeds
  • backup pictures on my phone connected to the wireless access point in my room wirelessly while being in the strongest wireless range

As a result of having two main gateways, I am unable to

  • use wake on lan wirelessly: using the wireless connected phone (connected via 192.168.1.1) to turn on home-PC.
  • stream video wirelessly (using ipcamera on Android) to my PC. Streaming it requires both devices to be connected to the same network. However, I can stream video to my other wireless devices connected to 192.168.1.1
  • Configure settings on the WDR3500

I am unable to view the video feed offered on 192.168.1.1 because my main PC is connected to 192.168.0.1. How can I build a network that allows just that? I am unable to do IP routing on consumer grade hardware, and connecting cables from 192.168.0.1 to 192.168.1.1 just wouldn’t work. I could connect home-pc to WDR 3500, but it wouldnt be able to access the NAS at gigabit speeds (very crucial for decent transfer rates). After looking up NIC cards, I remembered ordering a USB to ethernet adapter a while ago to test on my Nexus 7. Unfortunately that was inoperable so I just set the adapter aside.

141022-IMG_20141022_020500975_HDR

I connected the USB adapter to the PC, and connected an ethernet cable(cross-over doesnt work; i tried) from the adapter to the wireless router (192.168.1.1). I went into adapter settings in Windows and set the default gateway and a static IP for the interface so that it is configured to be connected to the router.

This fixes the issue of being able to access video feed offered by devices on the wireless access point from home-PC AND allows me to access my NAS at gigabit speeds.

Originally posted 2014-10-22 02:02:35. Republished by Blog Post Promoter


Explore Similar Items: