Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Cannot use TLS Key (Neorealist)
2. SMTP videos... (JB)
3. Re: SMTP videos... (rmbusy)
4. Re: SMTP videos... ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 02 Apr 2020 12:29:37 +0000
From: Neorealist <[email protected]>
To: Joris <[email protected]>
Cc: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Cannot use TLS Key
Message-ID:
<d6kDaiqUFL7MaHMxtUxThqre589dTVAbnwmbzj2c51mkdCj6TJQY4glfIwhqa5LcbwTu43uHtvX6qq5gRxvyDzLCTdk4vNnKCbplGLuS0Sw=@protonmail.com>
Content-Type: text/plain; charset="utf-8"
Spot on Joris!
When you mentioned file permissions I thought "Come, on really?". I looked and
sure enough the cert permission (working) was different from the keys. I
matched my key permissions to the cert's using `chmod 644 motion.key`. All is
working accordingly.
Kennedy just gave you a thumbs up.
No need to make this Cold War hot.
- Realist
??????? Original Message ???????
On Thursday, April 2, 2020 3:27 AM, Joris <[email protected]> wrote:
> Hi Neo,
>
> The first idea is to check file permissions of the keyfile.
>
> Since you asked, the thermonuclear option to get more output is strace.
> strace -f -e trace=file -o /tmp/motionstrace.log [command you use to launch
> motion]
> This will show you (in painfully great detail) where the cert is searched for
> and where it is eventually read from.
>
> Kind regards, J
>
> Op do 2 apr. 2020 om 05:03 schreef Neorealist via Motion-user
> <[email protected]>:
>
>> Specs
>> Raspberry pi 0
>> pi_buster_motion_4.2.2-1_armhf.deb
>>
>> motion.conf
>> # This parameter establishes the username and password to use for the stream
>> webcontrol_authentication XXXX:XXXX
>>
>> # This option specifies whether to enable SSL/TLS for the webcontrol port.
>> # a webcontrol_cert and webcontrol_key file must also be specified.
>> webcontrol_tls on
>>
>> # Full path to the key file for SSL/TLS support
>> webcontrol_key /etc/motion/motion.key
>>
>> # Full path to the certification file for SSL/TLS support
>> webcontrol_cert /etc/motion/motion.pem
>>
>> ############################################################
>> # Live stream configuration parameters
>> ############################################################
>>
>> # The port number for the live stream.
>> stream_port 8081
>>
>> # Restrict stream connections to the localhost.
>> stream_localhost off
>>
>> stream_auth_method 2
>>
>> stream_authentication XXXX:XXXX
>> stream_tls on
>>
>> stream_quality 100
>>
>> stream_maxrate 20
>>
>> # Limit the framerate to 1 frame per second when there is no motion
>> # increase it to the stream_maxrate when there is motion.
>> stream_motion on
>>
>> Confusion
>> The logs look clear, except:
>>
>> [0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
>> [0:motion] [NTC] [STR] webu_mhd_checktls: SSL/TLS requested but no key file
>> provided. SSL/TLS disabled
>>
>> Ive created a self signed key and cert, as another user on
>> [github](https://github.com/Motion-Project/motion/issues/971#issuecomment-506977302)
>> recommended. What's confusing me is if I move my key and cert into a folder
>> on my home directory the error message will also include: "SSL/TLS requested
>> but no certificate"
>>
>> Can anyone tell me if there is a deeper log I can look into to see whats
>> happening? Running [-d 9 -k STR ] options just isn't enough to help solve
>> this problem
>>
>> Thanks.
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Thu, 2 Apr 2020 14:46:00 -0500
From: JB <[email protected]>
To: [email protected]
Subject: [Motion-user] SMTP videos...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII
Hi gang,
Does anyone have a basic guide explaining how I can send captured videos of
movement that get put in a directory to my e-mail address, so that if someone
breaks in and they get their picture taken, they can't simply steal my
computer with the hard drives and the videos and I be left with no way to see
who it was?
Things are starting to get a little tense around here and I'm worried even
more over the past few days that my motorcycle (the only transportation I own)
will get messed with or possibly even my trailer broken into.
If I can just figure out how to send each new video to my e-mail on google
(for instance), I'll know it's safe there and I can look at it on a friends
computer if necessary.
Thanks for any assistance with this.
JB
------------------------------
Message: 3
Date: Thu, 2 Apr 2020 12:58:00 -0700
From: rmbusy <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] SMTP videos...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
You'll need to provide a lot more info about the machine you're running
Motion on, but for starters I would suggest looking into Sendmail on
Linux.? I use it for sending daily emails from my Raspberry Pi to my
Gmail account.? It was easy to set up and get working with a few Google
searches along the way.
--
Rob.
On 4/2/20 12:46 PM, JB wrote:
> Hi gang,
>
> Does anyone have a basic guide explaining how I can send captured videos of
> movement that get put in a directory to my e-mail address, so that if
> someone
> breaks in and they get their picture taken, they can't simply steal my
> computer with the hard drives and the videos and I be left with no way to
> see
> who it was?
>
> Things are starting to get a little tense around here and I'm worried even
> more over the past few days that my motorcycle (the only transportation I
> own)
> will get messed with or possibly even my trailer broken into.
>
> If I can just figure out how to send each new video to my e-mail on google
> (for instance), I'll know it's safe there and I can look at it on a friends
> computer if necessary.
>
> Thanks for any assistance with this.
>
> JB
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
------------------------------
Message: 4
Date: Thu, 2 Apr 2020 12:58:56 -0700
From: [email protected]
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] SMTP videos...
Message-ID:
<cagd+p+av-60-wxdnqhxyiws7m9u4-tzf1cqythvtmeiuju0...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
This may be helpful:
https://www.lavrsen.dk/foswiki/bin/view/Motion/MotionNotify
On Thu, Apr 2, 2020 at 12:49 PM JB <[email protected]> wrote:
>
> Hi gang,
>
> Does anyone have a basic guide explaining how I can send captured videos
> of
> movement that get put in a directory to my e-mail address, so that if
> someone
> breaks in and they get their picture taken, they can't simply steal my
> computer with the hard drives and the videos and I be left with no way
> to see
> who it was?
>
> Things are starting to get a little tense around here and I'm worried
> even
> more over the past few days that my motorcycle (the only transportation
> I own)
> will get messed with or possibly even my trailer broken into.
>
> If I can just figure out how to send each new video to my e-mail on
> google
> (for instance), I'll know it's safe there and I can look at it on a
> friends
> computer if necessary.
>
> Thanks for any assistance with this.
>
> JB
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 166, Issue 2
*******************************************