How to receive the alerts email (step by step)

Support and queries relating to all previous versions of ZoneMinder
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

cordel always knows
ubell
Posts: 53
Joined: Sun Jul 24, 2005 9:05 pm

Post by ubell »

Yes, it was my bad, I did not notice the error.

Now all I need to do is to figure out why I cannot
get ZM to use a user:password when talking to
my network camera and I'll have everything I need.

I am getting authroization failures when I turn it on
but the url works from the browser.

Mike
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Camera login methods

Post by cordel »

There are two ways too pass login info to the cameras. The way to login is dependant on the method used by the camera.

If when you bring up your camera it pops up a login dialog box then
user:pass@yourcam

youcam being it IP or DNS entry 8)

If you have to login via a url you need to post the info in the path using zm as example:
/cgi-bin/zms?<all the stream settings>&user=myuser&pass=mypass

The exact variables required can be differant depending on the camera. The quick and dirty way is bring up the login page for the camera and veiw the source to see what the variable names are.

Regards,
Cordel
Image
Image
3939663646337

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
ubell
Posts: 53
Joined: Sun Jul 24, 2005 9:05 pm

Post by ubell »

I am using the remote host name:
http://name:passwd@ip.foo

This works from a browser but not from ZM.

Any ideas?

Mike
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

drop http://
zm adds that its self
ubell
Posts: 53
Joined: Sun Jul 24, 2005 9:05 pm

Post by ubell »

Bingo!

Thanks alot.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

No problem, glad to help :wink:
Locked