Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
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 motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. strange problem with mini http server (Richard Bown) 2. Re: strange problem with mini http server (Roger Heflin) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Dec 2024 18:00:44 +0000 From: Richard Bown <rich...@g8jvm.com> To: "motion-user@lists.sourceforge.net" <motion-user@lists.sourceforge.net> Subject: [Motion-user] strange problem with mini http server Message-ID: <e5ad4796-b7f3-476e-becd-5a750eb15...@g8jvm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Hi this is weird I have 2 odroid N2 computers both running motion both on 192.168.1.0/24 subnet, Ubuntu 24 each has 5 ip cams , one also has a USB cam, both are running ubuntu24 , both headless odroidN2 , x.x. 1.130,? odroidN24 x.x.1.145, port range 8080 - 8089 the cams on odroidN2 are OK, but on odroidN24 camera9 , port 8089? something very strange if I use VLC with the ip address of the camera as listed in camera9.conf on odroidN24, I see the stream from the correct camera Yet If I use the mini http server on x.x.1.145:8089 I see the camera on odroidN2?? x.x.1.130:8088 I uses port 7770 on both computers as the control port, http://x.x.1.130:7770 shows all the correct cams connected to the version of motion running on that computer on my laptop with firefox browser http://x.x.1.145:7770? shows all the correct except one which is connected to x.x.1.130:8088 from camera9.conf # Target base directory for pictures and films # Recommended to use absolute path. (Default: current working directory) ;target_dir /home/odroid/Pictures/motion9/ target_dir /home/SDC/motion9/ # The mini-http server listens to this port for requests (default: 0 = disabled) stream_port 8089 two separate computers with diffenernt ip addresses ther ip cam connected to odroidN24, x.x.1.145 is on x.x.1.88 stream port 8089 the ip cam on odroidN2 x.x.1.130 is on x.x.1.103 steam port 8088 version on both 4.6.0 odroidN24 has very recently been upgraded to ubuntu 24 If I stop motion on odroidN2 x.x.1.130? and run http://x.x.1.145:7770 it still shows the wrong camera, so it must be something on the config of motion on odroidN24, but the url of the camera is correct and verified using VLC and the stream port is set to 8089 The only thing the ip cams have in common is they are both ie-geek cams, but the both show correctly in their app on my android phone. the same config files were fine on ubuntu22 running motion 4.2 I've even tried changing the port numbers on odroidN24 to 9080 ~ 9089 any ideas ???? Thanks Richard ------------------------------ Message: 2 Date: Tue, 10 Dec 2024 15:34:45 -0600 From: Roger Heflin <roger.hef...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] strange problem with mini http server Message-ID: <caamcdeehtxvm0wlkw748z29nor+rvonnsxbej9lp6ym9ig+...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" I would do a grep 8088 on all of your conf file and see if another conf file has the wrong port defined. Best guess is you have 2 conf files and one overrides the other or you are using the wrong conf file. On Tue, Dec 10, 2024 at 12:03?PM Richard Bown <rich...@g8jvm.com> wrote: > > Hi > > this is weird > > I have 2 odroid N2 computers both running motion both on 192.168.1.0/24 > subnet, Ubuntu 24 > > each has 5 ip cams , one also has a USB cam, both are running ubuntu24 , > both headless > > odroidN2 , x.x. 1.130, odroidN24 x.x.1.145, port range 8080 - 8089 > > the cams on odroidN2 are OK, but on odroidN24 camera9 , port 8089 > something very strange > > if I use VLC with the ip address of the camera as listed in camera9.conf > on odroidN24, I see the stream from the correct camera > > Yet If I use the mini http server on x.x.1.145:8089 I see the camera on > odroidN2 x.x.1.130:8088 > > I uses port 7770 on both computers as the control port, > http://x.x.1.130:7770 shows all the correct cams connected to the > version of motion running on that computer > > on my laptop with firefox browser http://x.x.1.145:7770 shows all the > correct except one which is connected to x.x.1.130:8088 > > from camera9.conf > # Target base directory for pictures and films > # Recommended to use absolute path. (Default: current working directory) > ;target_dir /home/odroid/Pictures/motion9/ > target_dir /home/SDC/motion9/ > > # The mini-http server listens to this port for requests (default: 0 = > disabled) > stream_port 8089 > > two separate computers with diffenernt ip addresses > ther ip cam connected to odroidN24, x.x.1.145 is on x.x.1.88 stream port 8089 > > the ip cam on odroidN2 x.x.1.130 is on x.x.1.103 steam port 8088 > > version on both 4.6.0 > > odroidN24 has very recently been upgraded to ubuntu 24 > > If I stop motion on odroidN2 x.x.1.130 and run http://x.x.1.145:7770 it > still shows the wrong camera, so it must be something on the config > > of motion on odroidN24, but the url of the camera is correct and > verified using VLC and the stream port is set to 8089 > > The only thing the ip cams have in common is they are both ie-geek cams, > but the both show correctly in their app on my android phone. > > the same config files were fine on ubuntu22 running motion 4.2 > > I've even tried changing the port numbers on odroidN24 to 9080 ~ 9089 > > any ideas ???? > > Thanks Richard > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 219, Issue 4 *******************************************