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:
Uniqs:
2302
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
SNMP »
« [Help Me] Odd security problem  
page: 1 · 2
AuthorAll Replies

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
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

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

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...


paul Alb

@optonline.net
 reply to garetmax
Re: Can I modify DCS-5300 standard homepage layout?

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 )


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

reply to garetmax
Re: D-link DCS-5300 internet webserver camera webpage

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

noobnuggets

join:2004-06-16
85456

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

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

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

reply to noobnuggets
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

reply to garetmax
@ 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

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

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.
Forums » Equipment Support » Hardware By Brand » D-LinkSNMP »
« [Help Me] Odd security problem  
page: 1 · 2


Sunday, 08-Nov 11:25:56 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
· [156] Cable Uncapper Faces Criminal Charges
· [140] AT&T Sues Verizon Over 3G Ads
· [112] Why Run Fiber When You Can Run Ads That Pretend You Do?
· [108] Comcast Is Simply Getting Huge
· [92] Apple Cooking Up New $30 A Month TV Service?
· [82] Bits Of ACTA Agreement Leaking Out
· [80] Will 'Three Strikes' Come To The United States?
· [78] Verizon To Double Smartphone ETFs?
· [76] Verizon: Droid Tethering Will Cost $30 Extra
· [73] Comcast, NBC Deal Almost Complete
Most people now reading
· Hit and run [General Questions]
· [Need Info] Looking for backup software... [Software]
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· [WIN7] Outlook express under Windows 7? [Microsoft Help]
· Looking to adopt a new *nix [All Things Unix]
· Know when to run! [Home Repair & Improvement]
· Anti Virus Program? Tried Avast-Looking For Better Program [Security]