PDA

View Full Version : So you want to setup a WebCam...


stizz
06-25-2004, 07:12 PM
Several people have asked me how I managed to get the webcam on my website working, including my folks. So I decided to just try and layit all out here in as simple talk as I can. So without further delay...

We live in Los Angeles and the rest of our family is scattered all over the US. We decided a webcam was a good way to share some of the more mundane day to day activities with family. Weekday feedings could be broadcast and weekend phone calls to Grandma suddenly made us feel like the Jetsons with a futuristic video phone. Also, since I would be staying home with the kid, this would give my wife a window to peer through when she is at work. So far it has worked out very well for us in all these capacities.

We decided on a Firewire Camera, Orange Micro's iBot. I mostly bought it because it is cross platform and it had good reviews, Also, USB cameras that I looked at were surprisngly not much cheaper and offered poorer quality. I got the iBot for $89 and slapped a $20 firewire pci card into the PC. The frame rate is very nice, and I can even use this camera on my Powerbook with iMovie or iChat.

We use it predominately on my wifes machine, so I installed the Video Suite that came with the camera; a program from a comapny that doesnt seem to exist anymore:Teveo Video Live. It works well,.. however there is no support. I am currently looking into other programs to use, but like they say, if it aint broke. On the mac side, a program called EvoCam does the trick.

So once I have the Camera properly installed, and the Teveo software up and running, I am broadcasting. From any computer in my local network, all I had to do was type the local ip address of my wifes computer into a web browser and I could view the video feed. But this was only inhouse.

I went into the admin setup pages of my router, and told it that there was a webcamera broadcasting from 192.168.x.x (my wifes machine) on port 80 (80 being typical for webpages). So that way,..anybody anywhere in the world could now type the ip address of my router into their web browser and see the video feed from my wifes computer.

I have DSL from earthlink, and like most of you, my ip address is dynamic. That means it changes periodically. This means that the ip address of my router is different on a day to day basis. This makes it difficult to tell people about your web camera, becasue by the time they try the address you give them, it could have changed already.

I found a free service called http://www.no-ip.com/. they basically let you assign a static and easy to remember name to your constantly changing ip address. They had dozens of domains to choose from, and I found one I liked. servebeer.com. I then named my camera Maxcam and now from anywhere in the world you could type maxcam.servebeer.com into a web browser and you could see my video feed. The only catch was that everytime my ip changed, I would have to login to my no-ip account and update. My router does that for me however.

In my router admin setup pages, it lets me enter the info about my no-ip account,.and whenever earthlink changes my ip, the router auto updates with no-ip.com and I never have to worry about it.

Lastly, I wanted to include it in my website. So I made a page with frames, and threw the maxcam.servebeer.com url into the bottom frame.

So there are really 2 ways to view my webcam (3 if you know the current ip address of my router)

http://maxcam.serverbeer.com <---direct without frames
http://www.stizzco.com/max/maxcam/maxcam.html <--with frames


So anyway, I hope this makes sense to yall out there. If you have any questions, feel free to ask.

tt3
06-26-2004, 01:54 AM
Man, thats just wild, I really dig it.
Ok, so, I don't have that teveo software, but probably something like it with the camera bundle...
What type of router do you have and how did you tell it to update it each time? I've got a D-link and will try to figure it out, but I don't know what degree of success I'll have. Its embarassing as I've got some knowledge in computers (A+ cert) but mostly inept! Be prepared for tons of questions! :D
Thanks for the info!

tt3
06-26-2004, 01:57 AM
Wait, would having our own domain name solve some of the IP problem?... please forgive my density here, but we've got Treml.org and some amount of space... so does that teveo software manage the image upload and display, and subsequent removal? or is it a live stream with now storage involved?
(I always tell folks I've got just enough skill to be dangerous)

Anonymous
06-26-2004, 02:08 AM
All the Teveo software does is capture the image then broadcast it via some java applet. And having your own domain does you little good with no-ip.com unless you want to pay for the premium service of using your own domain instead of one of their free ones, plus nothing is stored, its just a constant live feed from the camera. That is why I threw the maxcam.servebeer.com url into a framed html document. I wanted it to be available via my domain. stizzco.com

As for the router, I have a d-link and in the admin pages, under the tools tab is a button labled DDNS (dynamic domain name server). Make sure you have the latest firmware update if you cant find it.

tt3
06-26-2004, 12:34 PM
Aha! The fog is starting to clear, a process is forming in my head...
more to come, thanks stizz :rock:

mjknapp
06-26-2004, 01:11 PM
any webcam will work, just install the software that came with it, and use yahoo messenger, or any other messenger service to broadcast.

tt3
06-26-2004, 01:59 PM
My goal is to have it embedded within a webpage as my wife's work blocks all the messengers...

underfoot
06-28-2004, 04:50 PM
Stizz, how do you keep the hackers off your computer with port 80 open to the public?

stizz
06-29-2004, 12:19 AM
can't say I really do keep hackers off my box. I mean my mac is protected (built in rocksold firewall), and the XP box has zone alarm on it (im not much of a PC guru, mostly mac) plus we use mozilla on the pc to avoid the numerous explorer secuirty flaws. Mostly I count on the firewall built into the router, i mean,. i only have port 80 open, and I check my logs pretty often. I feel pretty safe. Should I be worried? :shock:

Don-Dad
06-29-2004, 12:57 AM
Dang, I thought I was the only techie nerd interested in these kinds of gadgets. Stizz, we need to get this up in the DIY dads section.

underfoot
06-29-2004, 04:06 AM
can't say I really do keep hackers off my box. I mean my mac is protected (built in rocksold firewall), and the XP box has zone alarm on it (im not much of a PC guru, mostly mac) plus we use mozilla on the pc to avoid the numerous explorer secuirty flaws. Mostly I count on the firewall built into the router, i mean,. i only have port 80 open, and I check my logs pretty often. I feel pretty safe. Should I be worried? :shock:
Well, I dont know if you should be worried but if that port is open to the world, it means your computer is reachable. However, if the logs on your router dont show any curious activity, it sounds like you're fine.

Mostly I was wondering what you were doing to keep your computers safe. Someday, I want to host my own website with a static IP and I would rather learn about security measures now instead of later!

Check out Gibson Research (www.grc.com) for some good stuff about security. The guy who runs the company is amazing. Some of his software can tell you how vulnerable your computer is to hackers.