Wednesday, February 25, 2009

New Web based Camera D-Link DCW-1000W

The DCW-1000W is a web camera with 802.1b and a streaming video server built in. It is a stand-alone device that does not require a computer for normal operations. Once plugged into your network, it becomes a web accessible 'streaming video' server. Just plug the devices ip address into a web browser, type in an optional userid and password, and you can access the video stream!
Although $400-$500 is expensive for a web camera, consider the fact that you do not need a computer or physical network connection for this camera to operate. Once configured, all you need to do is apply power! This makes both permanent and temporary installation a snap.
A friend mentioned that this would be perfect for an office lobby. Just mount the camera and suddenly everyone on your corporate network can see who is waiting in the lobby from their web browser!
With a weather-proof housing, this camera could be placed anywhere on your property that has electricity. This would save you a bundle in cabling costs for any kind of property monitoring project. For you automation buffs, the camera has two 5v output triggers and one input trigger out the back that can be enabled and disabled from the web browser. Think about hooking up a lighting system or alarm and you can start to see this camera's potential.
Getting Technical
Ports:
two omni directional antennas
One 10/100mbps RJ-45 Ethernet connector
Two 5v outputs triggers
One 5v input trigger
**Note, antennas can be replaced with standard SMA connector antennas to increase the range of the camera!
Administration
Configuration
The camera defaults to an IP address of 192.168.0.12. The easiest way to configure the camera is to plug it directly into a computer with Ethernet, change the computers IP address to something like 192.168.0.13 and the use a web browser to navigate to the camera. Once there, you can configure the camera's 802.11b adapter, change the ip address and a host of other things. I was impressed to see that the camera supported so many configuration options like 802.11b ad-hoc mode (for use without an access point). Take a look at this configuration screen.
(click this image)
Image and Streaming
Streaming image resolution is selectable between three modes maxing out at 640X480. If you plan to stream this out to the internet, keep the image smaller to improve frame rate. The compression rate can also be adjusted inversely affecting image quality and bandwidth. This of course translates into maximum frame rate.
(click this image)
The image can also be adjusted by manually setting the brightness, contrast and hue control. I found that the camera did a pretty god job keeping the image quality ok except under bright sunlight conditions where image burn occurred - areas of complete whiteness with no definition. If using this camera outdoors in bright conditions, you might have to tweak the controls a bit.
Security
Multiple user id's can be created giving people access to just the streaming image or the administration. Would also like to see the ability to disable access to the external triggers. With the current security capabilities, if someone has access to the images, they have access to the triggers.
Triggers
Two 5v output triggers are provided on the back of the device. These triggers could be used to turn on and off other devices like lights, alarms, or even doors or door locks. A 5v input trigger is also provided. The 5v input trigger can be set up to send a series of images using standard email. It can also be used to trigger either of the output signals for a configurable number of seconds. The most obvious application would be an external motion sensor that could turn on a light, then send a series of images to your email address. Remember, no computer is needed for these capabilities - all the software is built into the camera!
(click this image)
Time Sync
The last feature of the camera just adds to the completeness of the camera. The camera can be set up to synchronize it's internal clock to an external source using either the NTP or Time standard protocols. This may seem trivial, but when using it as a security camera, proper time becomes very important for evidence!
Wrap Up
The DCW-1000W is an extremely flexible 'single package' web camera perfect for security applications. Its wireless capabilities bring the cost of installation down to an absolute minimum. This is a great device for both an office and home automation environment.
I would love to see a web camera with a better quality image, but honestly there is a functional limit to the amount of bandwidth a camera can suck up. With that in mind, the only deficiency I found in this feature rich camera was finer tuning over the security. Hopefully this will be fixed in a firmware upgrade.
Another nice thing to have would be an FTP client capable of uploading images on a timed basis. This would make it attractive to many existing web cam operators that often have an entire computer dedicated to this job. Again, this is something that could be added to the camera with a firmware upgrad

Improve Speed of Cable Modem With connection Setting


At NetWorld+Interop 2001 I found an interesting piece of software called MidPoint from MidCore Software. Midpoint has a feature called ‘connection teaming’. Connection teaming aggregates multiple connections to the Internet for increased bandwidth. Along with connection teaming, the software splits large files being downloaded into multiple smaller parts and downloads each part at the same time along each connection. Wow!
I came up with this idea for cable modem users. Cable modem companies sometimes allow you to purchase additional IP address’ for a monthly fee. @Home does this for $5 per IP address. @Home caps your bandwidth per account, not IP address - but at the very least, it might increase the efficiency of your conenction and allow your throughput to closer reach your capped maximum speed.... So I set off to test my hypothesis.
Planning the network
Because I would be testing the aggregation of 2 Internet IP address, I needed a computer that could handle 3 network cards – three for the WAN and one for the LAN. A stripped down Pentium 233 fit the bill nicely.
Problems with the testing
One of the biggest problems in testing this setup is finding a way to push the speed of the cable modem. To do this, I had to find some servers willing to let suck up a whole lot of bandwidth without running into something that would throttle my connection. This is VERY HARD to find. My best performance came from some TUCOWS.COM mirrors. Since TUCOWS is mirrored all over the country, I was able to locate some servers willing to let me suck up some bandwidth.
Measuring Bandwidth
The next thing I needed was a measurement tool. IE’s meter on the download is good for measuring speed because it averages things over a long period of time and does not allow you to ‘see’ what is going on. MyVitalAgent was a good solution because I could see how solid the connection was. If there were major connection pauses I could see them visually – plus the software is free!
Bandwidth measurement on the Internet is not an exact science. It is impossible to recreate the exact conditions across a public network. Because of this, I chose to measure bandwidth at its peak if sustained for 10 seconds or more. To do this, I chose files of no less than 5Mb to download.
How Fast?
For Reference, I tried pushed each if two IP address’ individually first. IP address A gave me about 840kbps sustainable bandwidth and IP address B could give me about 600kbps sustained bandwidth. I was surprised at the difference since they were from the same cable modem - They did however have different default gateways and were on different subnets. These speeds will of course vary betweed service providers. Notice that my speed is capped at 1.4~1.5 but my throughput is unstable and reaches only about 850kbps.
With connection teaming enabled, I was able to sustain speeds of 1300kbps, or 1.3Mbps when downloading multiple large files (note, the cap is still 1.5Mbps). This is not bad for a single cable modem! In addition, web page surfing seemed to ‘spring’ to life. A single web page might require 7 or more requests for text and graphics. When these requests are being done over two different IP address response time improves dramatically. This does not push your 'throughput' but it does make web pages come up faster due to the increased network efficiency.
IMPORTANT: The Key is the Subnets
They key to my success seemed to be in the fact that the two tested IP address’ were on different subnets with different default gateways. I tried running the same test on two IP address’ that were on the same subnet / same default gateway and had almost no improvement. This is a VERY important note. These tests were done with STATIC IP address.
ATTN: @Home Users
When you sign up for multiple computers, you are getting multiple IP address' - STATIC ONES! Instead of setting your computer name, set IP, Subnet, default gateway and DNS servers manually. You can get all that information from this @Home networking site. When you set your IP info manually, you do NOT need a specific computer name!

Assign Static IP Setup from DHCP based LAN Configuration

DHCP Servers automate the process of setting up the 'IP Schema' of your home network. When your computer is turned on, it seeks a DHCP server on the network and gets a 'dynamic' IP address. Each time the computer is turned on, it could get a different IP address depending on a bunch of other factors. Usually your Internet connection sharing solution is responsible for having a DHCP server built in. All broadband routers come with DHCP Servers and almost every software solution like Microsoft Internet Connection Sharing (ICS) does too.

To see your current IP address, go to a command prompt and type IPCONFIG
DHCP Servers and Advanced Applications
The primary reason for switching from a DYNAMIC (DHCP) addressing schema to a static one is the ability to run servers and other advanced applications behind a NAT firewall. When you run any kind of server, a hole must be punched in your firewall and pointed at the computer with the server running - this is called port forwarding. If the IP address of the server changes, the hole will be pointing to the wrong place!
Static IP address' require a small amount of configuration and management up front for a small network but allow the reliable configuration of game and application servers.
INSTRUCTIONS
Side Note:
an IP address is composed of 4 octets, each ranging between 0 and 255. A zero is never used in the first or last octet.
IP Ranges
There are three 'ranges' that are deemed private and are usable for home networks. They are as follows.
192.168.x.x
172.16.x.x
10.x.x.x
The most popular IP address schema set as the default schema is 192.168.x.x, often 192.168.10.x or often 192.168.1.x. Routers and other internet sharing solutions are usually positioned as the first IP address in the schema - in our example it will be 192.168.10.1.
First go to your router's administration page and configure the built in DHCP server. Each router will be a little different and hay have different capabilities. You should leave the DHCP server enabled, but limit the number of IP address it can distribute.
If we allow our DHCP server to start numbering computers at 192.168.10.2 and allow 50 IP address, the last DHCP reserved address will be 192.168.10.52. Sometimes this is done as a 'range' instead of a 'number of computers' setting. To make it easy on ourselves, we might want to start numbering static addressed computers at 192.168.10.100 - well out of the DHCP Range
Example of a DHCP setting.
Note that this shows 192.168.100.x network instead of a 192.168.10.x
Example of a DHCP range setting
Our IP schema looks like this
192.168.10.0 subnet 255.255.255.0 is our 'network'.
192.168.10.1 is our router
192.168.10.2 to .52 are DHCP reserved address
192.168.10.100 to .255 are the STATIC address
Setting up a computer:
When we change a computer from DHCP to Static IP, we must type in FOUR pieces of information. IP address, Subnet, Default Gateway, and DNS Server. The IP address will be one from our static IP range, the subnet will be 255.255.255.0 and the Gateway and DNS will be the address of our router - 192.168.10.1
Get the TCP/IP properties of your computer and set them up with the four required pieces of information.
Computer 1
IP: 192.168.10.100
Subnet: 255.255.255.0
Gateway: 192.168.10.1
DNS: 192.168.10.1
Computer 2
IP: 192.168.10.101
Subnet: 255.255.255.0
Gateway: 192.168.10.1
DNS: 192.168.10.1
Etc.