help with motion and Logitech QuickCam Messenger Plus

Re: help with motion and Logitech QuickCam Messenger Plus

Postby fvdw » Tue Oct 29, 2013 8:00 pm

i will sent you a pm
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: help with motion and Logitech QuickCam Messenger Plus

Postby wrumph » Mon Dec 09, 2013 2:13 am

fvdw,

Can you pm me the temp fix for the webcam?

-Will
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: help with motion and Logitech QuickCam Messenger Plus

Postby fvdw » Tue Dec 10, 2013 10:48 pm

yes of course, no problem I will sent you a pm
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: help with motion and Logitech QuickCam Messenger Plus

Postby wrumph » Wed Dec 11, 2013 7:48 am

worked great thanks! Is there an easy way to password protect the video stream?
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: help with motion and Logitech QuickCam Messenger Plus

Postby fvdw » Wed Dec 11, 2013 8:13 pm

I don't know from my memory but the program used is "motion" homepage with documentation see here http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: help with motion and Logitech QuickCam Messenger Plus

Postby Jocko » Wed Dec 11, 2013 8:55 pm

Hi wrumph

it seems that you can't require authentication on the video stream (but only with the control channel)

But you can bypass this at least for the remote access :whistle

You must set the proxy feature on the web server.

So, first do not forward the port 8090 with your ISP router (like this only from your LAN you have a direct access without authentication).

Create a file proxy.conf in the folder /etc with this content:
Code: Select all
LoadModule proxy_module /usr/modules/mod_proxy.so
LoadModule proxy_http_module /usr/modules/mod_proxy_http.so
<Location /mywebcam >
    ProxyPass http://localhost:8090
</Location>


Now the conf files used by the apache server is also in the folder \etc. So you must edit all files httpd.x (0,1,2...)but also httpd.conf to remove '#' at the last line of the these files
Code: Select all
#Include /etc/proxy.conf


Restart fully the server
Code: Select all
killall httpd
/usr/bin/httpd -f httpd.conf -d /etc


Now, if you have forwarded the port 80 (or 443 for https protocol), the url to get the video stream will be http://yourPublicIP/mywebcam. You can replace yourPublicIP by your DDNS. (your public IP is the WAN IP provided by your ISP).

If you are not yet authenticated, the browser will ask you to login. The login is the usual login for the web interface : admin-nas. If you have also authorized some user accounts to use the console, their login can be used.

So it's not an easy way :mrgreen:
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: help with motion and Logitech QuickCam Messenger Plus

Postby wrumph » Thu Dec 12, 2013 6:21 am

Thanks for the info Jocko. I noticed that motion implemented a patch for stream authentication. Is there anything non standard that would brake if I where to apply this patch?

http://www.lavrsen.dk/foswiki/bin/view/ ... mAuthPatch
wrumph
Donator VIP
Donator VIP
 
Posts: 19
Joined: Sat Jan 26, 2013 11:55 pm

Re: help with motion and Logitech QuickCam Messenger Plus

Postby Jocko » Thu Dec 12, 2013 9:47 am

Thank for this information.

To install the patch you need of course to compile again motion...

Currently, motion version is patched for the firmware and so you can not do directly.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: help with motion and Logitech QuickCam Messenger Plus

Postby fvdw » Fri Dec 13, 2013 9:12 pm

I will try to recompile motion with this patch included
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: help with motion and Logitech QuickCam Messenger Plus

Postby fvdw » Sun Dec 22, 2013 3:00 pm

I recompiled motion with the patches and using a the latest development version. It has now the ability to request authentication to view the web stream
Small point, they chaged the names of several parameters in the configuration file. As a result the default one that we use doesn't start motion properly. So besides the new motion binary you alos need to replace the configuration file.

It will be included in the next release or send me a pm if you cannot wait..
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 4 guests