republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » D-Link » Can I modify DCS-5300 standard homepage layout?
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
SNMP »
« [Help Me] Odd security problem  
AuthorAll Replies


sekim
Premium,MVM
join:1999-08-17
Saint Petersburg, FL
·Verizon Online DSL

reply to garetmax
Re: Can I modify DCS-5300 standard homepage layout?

you might want to take a look at the tech support FAQ for dcs-2000 or dcs-2100
»support.dlink.com/faq/view.asp?p···CS-2100+

It has the basics for putting your video on a web page. Viewing source inside your cam and adjust a few differences probably will get you started.

garetmax

join:2004-01-17
Wyoming, MI

 D-link DCS-5300 internet webserver camera webpage

Thanks Sekim
I finally got it working.

The html code was a little different than that for the dcs-2000/2100 and the dcs-900/1000 in the d-link faq but that got me started. See notes below.

Someone else e-mailed me also about doing this because they were having problems with theirs so here's the code.
-----------------------------------------------------------
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&
(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"VaCtrl\" WIDTH=362 HEIGHT=270");
document.write(" CLASSID=CLSID:98264495-6376-443C-9340-2996038BD143");
document.write(" CODEBASE=\"http://login:password@PUBLIC WAN
ROUTER IP ADDRESS:8000/plugin/h263ctrl.cab#version=1,5,0,3\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://login:password@PUBLIC WAN
ROUTER IP ADDRESS:8000/cgi-bin/video.vam\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"352430272\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">");
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"27992\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("<PARAM NAME=\"Stretch\" VALUE=\"0\">");
document.write("</OBJECT>");
}
//-->
</script>
</td>
-----------------------------------------------------
Notes:
1) This code is from viewing the source from the dcs-5300 camera. Definitely go into your source first as I wonder if that class ID is actually a MAC address unique to the camera in which case yours will be different.
2) My http port for the webserver camera is 8000. Yours will not be unless you set it for that in the webserver configuration. I think the default was 80.
3) You must type in your actual webserver "login" and "password" in the code above that you setup in the camera configuration.
4) You must type in your actual public IP address. I am behind a router with NAT (Lynksys) so I put in my router WAN IP address in the code above. Otherwise put in the webserver camera's IP address that you setup in the camera configuration.
5) When I first go into the page the video says "connecting..." then a dialog box pops up and says "fail to connect server". I hit the ok button on the dialog box and the streaming video starts within about 10 seconds. It's good enough for now but I'll look at this later.
6) Also, the camera seems to lock up after a few days or so. D-link tech support says they are looking into this. I just need to cycle power on it to get it going again. Does anyone else have this?

Good luck all.
Scott

iulian2

join:2004-02-08
Romania
  Oh no, even the cameras lock up these days?! I thought this problem it's router only... but it seems d-link decided to enrich other products with this "feature" too...


Warzau
Premium
join:2000-10-26
Naperville, IL
clubs:

reply to garetmax
Currently my 5300W is locking up and even rebooting doesn't help, I even upgraded to the newest firmware, which lovingly doesnt let anyone other than a admin log on. I am attempting to RMA( which is the hardest of any company I've dealt with, linksys has been the most painless)

WallyG

join:2004-05-12
Brooklyn, NY

1 edit
 reply to garetmax
I figured it out!!!!

Delete/Remove the fallowing line from your code:

document.write("");

WallyG

join:2004-05-12
Brooklyn, NY
document.write("");

WallyG

join:2004-05-12
Brooklyn, NY
reply to garetmax
Remove/Delete this line:

//--> document.write("");

WallyG

join:2004-05-12
Brooklyn, NY
reply to garetmax
Delete/Remove this line of code

***...document.write("PARAM NAME=\"RemoteID\"...

tbi0

join:2004-06-18
England

5300script.zip 641 bytes
(5300script.txt)
You've got to be very careful when testing your code for embedding the cam output in your website. If your PC has already viewed the cam, it will behave differently than a virgin client PC on the Internet. This is because you will have already downloaded the Dlink MPEG-4 CODEC.

Here's the BEST way to do it.
1. Make sure you have firmware v1.01 on the cam
2. extract the CODEC called h263ctrl.cab from the cam's Webserver, and save it in your own webserver.
3. Flash the cam back to F/W version 1.0
4.Create an admin password to stop people dicking around with your cam. Create a user account. I used 'Internet' as the user and '123' as the password.
5. I set the Webserver port to 8000, and left the remaining ports as 5001, 5002, and 5003.
6. Open up these 4 TCP ports on your DSL Router to point to the IP of your Cam.
7. Use the following script. Edit every incidence of 'mail.thebiginter.net' to be your Internet IP. Edit '»www.thebiginter.net/webcam/' to reference the location of the CODEC on your own webserver.

What you get is the zoom tool from the new firmware, but without the user bug (no control except admin account). The new f/w is dangerous, as it allows anybody to potentially damage your cam. It's easy to glean the admin account from the code on your page.

A good upgrade is to bin the cheapo BoardCam inside and replace it with a high end board. There's a Sony Exeview in my 5300 now, and the picture is much better.
Here it is, if you want to see it in action.
»www.thebiginter.net

Steve Head
TBI


zagab

@usp.br
Re: D-link DCS-5300 internet webserver camera webp

Hi,

about this statement from Steve Head:

2. extract the CODEC called h263ctrl.cab from the cam's Webserver, and save it in your own webserver

Which command/tool is used to extract the codec ?

Regards,
Marcos


sekim
Premium,MVM
join:1999-08-17
Saint Petersburg, FL
·Verizon Online DSL

Which command/tool is used to extract the codec ?

hopefully you know the url or path to the codec, »yourcamip.../h263ctrl.cab

put it in browser address bar and when windows asks what to do with it ,,, save it to file
or make a html anchor tag [A href=http://... and just download it from cam.[/a
Forums » Equipment Support » Hardware By Brand » D-LinkSNMP »
« [Help Me] Odd security problem  


Monday, 30-Nov 11:02:32 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [19] Broadband Killed The Game Console
· [15] Midcontinent Socked With Easement Lawsuit
· [14] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [3] Monday Morning Links
Most people now reading
· Are GPS's better today? [General Questions]
· Considering Leaving Vonage, who should I Consider? [VOIP Tech Chat]
· Whats the big deal about being "Old School"....? [World of Warcraft]
· filling an in-ground pool [Home Repair & Improvement]
· [Newsgroups] Newzleech down? [Filesharing Software]
· Options if ACTA is ratified [TekSavvy]
· Help with an old Photograph [Avatar/Graphics Help]
· What is the spell hit cap for a lvl 80 full arcane spec mage [World of Warcraft]
· Is Easynews down? [Filesharing Software]