Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


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

join:2004-01-17
Wyoming, MI

Can I modify DCS-5300 standard homepage layout?

Hi,

I was wondering if anyone knows how to modify the standard default homepage layout for the DCS-5300 internet webserver camera.

I would like to change a few things in the layout such as the time format, delete the dlink graphics and put in my own graphics, and basically make it look like my other homepages. The camera works pretty good and I'm pretty happy with it but just want to tweak it a little.

Is this default homepage in HTML? Is there a way to access this by typing in an IP? I would like to be able to access the HTML and then be able to save it back to the camera.

Thanks,
Scott

Jason MC

@63.207.x.x

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

Your best bet is to take the code for the camer plugin and make yer own web page around that - if you look @ the html links on the home page, you should be able to figure it out for every direction.

-Jason
garetmax

join:2004-01-17
Wyoming, MI

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

Hi Jason,

Thanks for replying.

I was kind of thinking around those lines but hadn't attempted it yet as I been real busy at work and wasn't quite sure how to actually do it.

So basically, I will copy the relevant code that I want and tweak it with my code changes, then put this code into the code for one of my web pages. That seems fairly straight forward, but where I'm not sure is how to actually get the picture from the webserver IP address to my homepage IP address or in other words how to link/direct them together.

Here's the basics on my home network.
I have a linksys router and am running both of these webservers,(one is the camera and the other is my computer), behind the router. I bought a domain name and have the standard "www." as my computer webserver and then used zoneedit.com to direct the internet camera to "www2." with the same domain name but to a different port since multiple webservers on a network can't be on the same port.

Any more suggestions? I probably need to buy a webpage guide and/or do some more searching on the net. Maybe I can find a webpage that has something like this.

Thanks for your help,
Scott

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

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

Re: D-link DCS-5300 internet webserver camera webpage

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:

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
I figured it out!!!!

Delete/Remove the fallowing line from your code:

document.write("");
WallyG

join:2004-05-12
Brooklyn, NY

Re: D-link DCS-5300 internet webserver camera webpage

document.write("");
WallyG

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

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

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

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

join:2004-06-18
England

Re: D-link DCS-5300 internet webserver camera webpage

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

Re: D-link DCS-5300 internet webserver camera webp

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

paul Alb

@optonline.net
Hello...

will this script work with 2100+ d-link internet cam???

and if so, is there anyone with a website broadcasting live from 2100+ or another???

tks

( is my first time here )
noobnuggets

join:2004-06-16
85456

Hello, I have been trying to embed video from a DCS-2000 in a web page, but I have not had any luck with it. I tried following the advice given by Steve Head, and I have tried adapting the source from the camera's web page, and I have tried using the example code on d-link's webpage. The only thing I have been able to get is a white box with a black bar on top that says: "connecting... " Then after a short while I get a message box that says: "Because the connection problem of network environment, transmission control changes to HTTP."
I click ok, but nothing happens. I also have the camera setup to ftp stills to my webserver.

Here is the code I am trying to use to get the camera to work:
   <script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform !=
*"MacPPC"))
{
document.write("<OBJECT ID=\"http://192.168.1.139:8000/VAMCtrl\" WIDTH=330 HEIG
*HT=270");
document.write(" CLASSID=CLSID:85AC0EFC-2CA1-4C1C-82AE-5C31184A13EF");
document.write(" CODEBASE=\"h263ctrl.cab#version=1,0,0,24\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://user:user@192.168.1.139:8000
*/cgi-bin/video.vam\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"CMS\">");
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"192.168.1.139\">");
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"user:user@192.168.1.139:5001
*\">");
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"user:user@192.168.1.139:8000 2
*7083\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("</OBJECT>");
}
//-->
</script>

(*) WARNING 5 long line(s) split

Note: I am testing this page on my local network with an html file, and h263ctrl.cab on my desktop.

Any help will be greatly appreciated.

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

Re: Can I modify DCS-5300 standard homepage layout

testDCS2000.zip 495 bytes
(testDCS2000.htm)
Just did a quicky for a DCS2000 basic webpage that works here just fine.
You'll need to change PARAM NAME=RemoteID VALUE=27723 is unique to login/password
You might have issue with login/pass in url on your browser as a recent MS critical update did away with that feature - but you'll get the idea.
tbi0

join:2004-06-18
England

Where you've got:
document.write(" CODEBASE=\"h263ctrl.cab#version=1,0,0,24\">");

I have:
CODEBASE=\"http://www.thebiginter.net/webcam/h263ctrl.cab#version=1,7,0,5\">");

I put h263ctrl.cab into the 'webcam' directory of my Webserver. The code above sends Browsers there to install/load it.

I did this because the version 1.02 firmware for the DCS5300 has a bug - only the administrator can control the camera.
I've looked into this for the WiFi version of the cam, and I'm afraid the described hack isn't possible. This is because there is no earlier firmware available to swipe the CODEC from.

Steve Head
TBI
noobnuggets

join:2004-06-16
85456

@ Sekim,

thank you for the zip file. I only finally got a moment to test it toady, but it works great after changing the ips and password.

Thank you! It says that h263ctrl.cab is a different version than the one in my camera, but it works anyhow!
greenf7sp

join:2004-07-20
Sycamore, IL

Is there any way to disable the audio on the DCS-2100+ camera? I have looked an cannot find any documentation about disabling the audio. Is there a way to disable it on the page load with javascript? We have even tried placing a piece of tape over the mic and still no luck. Any help would be appreciated.

Thanks.
galmiche

join:2004-08-12
21000


1 edit
Dear All,

I've read you post and tried you syntaxes.
Unfortunatly Microsoft added a patch in IE for windows 2k and all winXp to disable the right to use user: password in url syntaxes.
So your syntaxes in the OBJECT coding like:

document.write(" CODEBASE=\"http://login: password@PUBLIC WAN ROUTER IP ADDRESS:8000/plugin/h263ctrl.cab#version=1,5,0,3\">");

can no more be used and autologin to the cam rejected.
So, user who browse may identify in a pop-up window! Shit!

Questions to all of you: Did you find a method to solve this auto-login disabled problem and thus never requiring client to enter something..just have to browse and have fun !

Questions about the OBJECT ID=\"VaCtrl\" to be used for DCS5300W Dlink camera selfpage code:

1- Do we need to use login: password or authetification in both lines CODEBASE and PARAM NAME=\"Url\"
2- do you have test to place the h263ctrl.cab in another server? Does it works and what will be the full syntax, including self authefication. Because, if h263ctrl.cab is not the one inside the camera, client will have to authenticate twice: one on the server for h263ctrl.cab file and one for video access! Too bad!
3- Concerning following lines:
Why do you added login: pass or user:user in lines PARAM NAME=\"RemoteIP\" and PARAM NAME=\"RemotePort\" ? Thay shouls only be Ip and port without identifications?

Why you added line PARAM NAME=\"RemoteID\" as this ID change on each new connection (see code return by cam with Dlink presentation html pages)? Where this 7083 comes from? If you check code source from DCS5300W it changes on each new login!!! And Dlink do not include this line.

Latest subject: managing self code camera:
Do you already tried to manage to output I/O by a cgi call in the URL line to put it ON or OFF ; Same question to light on or off the red led in front of the camera?
This could help managing leds or I/O when someone access the camera or goes away..

Many thanks to all of you.
Hervé
info@galmiche.com
Forums » Equipment Support » Hardware By Brand » D-LinkSNMP »
« [Help Me] Odd security problem  


Sunday, 06-Dec 08:47:04 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
· [163] Comcast Releasing Promised Usage Meter
· [147] Avast Antivirus Has Gone Mad
· [128] Comcast Makes NBC Universal Acquisition Official
· [125] The Bandwidth Hog Does Not Exist
· [105] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [85] FCC Ponders Moving From PSTN To IP Voice
· [82] Latest Consumer Reports Survey Not Kind To AT&T
· [81] New Bill Aims To Limit ETFs
· [75] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· Wife might have to work in.... Iowa for a few months!!! [General Questions]
· False positive in Avast! or is it real? [Security]
· Problems with rlslog.net? [TekSavvy]
· [DNS] Google's public DNS... performance increases? [Comcast HSI]
· Windows 7 boot manager editing questions [Microsoft Help]
· Lets do an experiment! [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· How fast is your upstream internet connection? [General Questions]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]