Problem with ONVIF auto discovery on Axis M3025-VE

Forum for questions and support relating to 1.35.x development only.
Post Reply
Greg_Talyor
Posts: 24
Joined: Mon Aug 17, 2020 7:41 pm

Problem with ONVIF auto discovery on Axis M3025-VE

Post by Greg_Talyor » Tue Sep 01, 2020 11:11 pm

Hi, there.

I have a problem with ONVIF auto discovery with two Axis M3025-VE. ONVIF works just fine from a Dell Latitude E6410 laptop (Intel Core i7-640M CPU @ 2.80GHz, 4GB RAM), but an HP ProDesk 600 G3 Desktop Mini (Intel Core i5-6500T CPU @ 2.50GHz, 8GB RAM) fails to auto discover my Axes. All four devices are connected to the same network — computers via Wifi, and cameras en route to the same Wifi router via CAT 5e cables and a PoE switch. The trouble I have is that: My Dell laptop is my test system which will be wiped eventually, and my HP box is my production system.

From my Dell laptop, below are what ONVIF have fetched, which works on either box.

rtsp://username:password@192.168.1.2/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast
Capture Resolution (pixels): 1920x1080 1080p

Both computers have identical (bar some non-free firmware drivers*) Debian 10.5 Buster and Zoneminder v1.34.20 (deb https://zmrepo.zoneminder.com/debian/release-1.34 buster/) fresh out of the boxes.

I also have a Hikvision DS-2CD2155FWD-I. Strangely, ONVIF works just fine from either box.

Any suggestions are welcome.

Ta.

Greg


*PS If they are relevant at all, additional non-free firmware drivers used are listed below:-
On the Dell laptop: firmware-iwlwifi_20190114-2_all.deb for its built-in Wifi (iwlwifi-6000-4.ucode)
On the HP box: firmware-misc-nonfree_20190114-2_all.deb for its built-in Intel "Skylake" DMC firmware,
version 1.27 (i915/skl_dmc_ver1_27.bin),
and rtl88x2bu-dkms.deb for an external BrosTrend USB Wifi dongle AC1L (Version 2)
<https://deb.trendtechcn.com>)

User avatar
iconnor
Posts: 1345
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by iconnor » Wed Sep 02, 2020 1:16 pm

You say they are on the same network, but ONVIF will only probe the network that has the default gateway. Does the non-working machine have a second network that is actually it's primary?

in 1.35 I added code to tell it to probe a different network. You could give that a try.

Otherwise, let's see what this command does?

zmonvif-probe.pl -v probe

Greg_Talyor
Posts: 24
Joined: Mon Aug 17, 2020 7:41 pm

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by Greg_Talyor » Wed Sep 02, 2020 10:38 pm

iconnor wrote:
Wed Sep 02, 2020 1:16 pm
Does the non-working machine have a second network that is actually it's primary?

...

zmonvif-probe.pl -v probe
Thanks for your swift reply.

Ah-ha! "Second network vs primary". On the Dell laptop (which works), its Wifi works out of the box, so its wired ethernet is never used at any time. On the HP box (which fails), Debian was installed via its wired ethernet connection, 'cos driver for USB Wifi dongle requires compiling. Nevertheless, both connections were up-and-running before installing Zoneminder. To isolate two different network connections on the HP box as a source of problem, now I have disabled its Wifi and connect it only with wired ethernet, and reboots every devices. Unfortunately, results remain the same. I have included more details below.

Router (which is also a DCHP server)
======
IP: 192.168.1.1
Mask: 255.255.255.0

Cameras
=======
First camera: default IP 169.254.14.67, nonetheless DCHP server gives a fixed IP of 192.168.1.2
Second camera: default IP 169.254.6.23, nonetheless DCHP server gives a fixed IP of 192.168.1.3

On the Dell laptop that works (DCHP server gives fixed of IP 192.168.1.51)
=========================
Detected cameras:
- M3025 @ 169.254.6.23 using version 1.2
- M3025 @ 169.254.14.67 using version 1.2

Detected profiles:
- profiles_1 h264 : H264 (1920x1280 @ 25 fps)
- profiles_1 jpeg : JPEG (1920x1280 @ 25 fps)

The rest works like a breeze.

On the HP box that fails (DCHP server gives fixed IP of 192.168.1.52)
=====================
Detected cameras:
- M3025 @ 169.254.6.23 using version 1.2
- M3025 @ 169.254.14.67 using version 1.2

which are the same as above, but after a long pause ...

Detected profiles:
- gives nothing to choose from

--- * --- * ---

Output from the Dell laptop that works:-

Code: Select all

$ zmonvif-probe.pl -v probe

Probing for SOAP 1.1
<Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Error sending / receiving message: Timed out waiting for response</faultstring><faultactor>urn:localhost</faultactor></Fault>
Probing for SOAP 1.2
<ProbeMatches xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery"><ProbeMatch xmlns=""><EndpointReference><Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</Address></EndpointReference><Types xmlns="">dn:NetworkVideoTransmitter</Types><Scopes xmlns="">onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </Scopes><XAddrs xmlns="">http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</XAddrs><MetadataVersion xmlns="">1</MetadataVersion></ProbeMatch></ProbeMatches>
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:832aba16-8f77-47ab-bb5a-d832e8065324</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.6.23/onvif/device_service
http://169.254.6.23/onvif/device_service, 1.2, (type='video_encoder', Profile='Streaming', hardware='M3025', name='AXIS%20M3025', location='')
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:832aba16-8f77-47ab-bb5a-d832e8065324</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.6.23/onvif/device_service
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:4091b0be-9a7d-4740-a1bb-670f2d390669</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.14.67/onvif/device_service
http://169.254.14.67/onvif/device_service, 1.2, (type='video_encoder', Profile='Streaming', hardware='M3025', name='AXIS%20M3025', location='')
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:4091b0be-9a7d-4740-a1bb-670f2d390669</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.14.67/onvif/device_service
--- * --- * ---

Output from the HP box that fails:-

Code: Select all

$ zmonvif-probe.pl -v probe

Probing for SOAP 1.1
<Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Error sending / receiving message: Timed out waiting for response</faultstring><faultactor>urn:localhost</faultactor></Fault>
Probing for SOAP 1.2
<ProbeMatches xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery"><ProbeMatch xmlns=""><EndpointReference><Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</Address></EndpointReference><Types xmlns="">dn:NetworkVideoTransmitter</Types><Scopes xmlns="">onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </Scopes><XAddrs xmlns="">http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</XAddrs><MetadataVersion xmlns="">1</MetadataVersion></ProbeMatch></ProbeMatches>
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:847960d7-cc39-49ad-aa00-fe2e9241f9c6</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.6.23/onvif/device_service
http://169.254.6.23/onvif/device_service, 1.2, (type='video_encoder', Profile='Streaming', hardware='M3025', name='AXIS%20M3025', location='')
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:722cda7f-0c27-464e-90bd-0456514b319e</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.14.67/onvif/device_service
http://169.254.14.67/onvif/device_service, 1.2, (type='video_encoder', Profile='Streaming', hardware='M3025', name='AXIS%20M3025', location='')
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:722cda7f-0c27-464e-90bd-0456514b319e</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.14.67/onvif/device_service
Received message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:847960d7-cc39-49ad-aa00-fe2e9241f9c6</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
l_xaddr = http://169.254.6.23/onvif/device_service
--- * --- * ---

I don't know how to read zmonvif-probe.pl output, but "diff dell.txt hp.txt" gives:

Code: Select all

4c4
< <ProbeMatches xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery"><ProbeMatch xmlns=""><EndpointReference><Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</Address></EndpointReference><Types xmlns="">dn:NetworkVideoTransmitter</Types><Scopes xmlns="">onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </Scopes><XAddrs xmlns="">http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</XAddrs><MetadataVersion xmlns="">1</MetadataVersion></ProbeMatch></ProbeMatches>
---
> <ProbeMatches xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery"><ProbeMatch xmlns=""><EndpointReference><Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</Address></EndpointReference><Types xmlns="">dn:NetworkVideoTransmitter</Types><Scopes xmlns="">onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </Scopes><XAddrs xmlns="">http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</XAddrs><MetadataVersion xmlns="">1</MetadataVersion></ProbeMatch></ProbeMatches>
7c7
< <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:832aba16-8f77-47ab-bb5a-d832e8065324</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
---
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:847960d7-cc39-49ad-aa00-fe2e9241f9c6</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
12,16c12
< <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:832aba16-8f77-47ab-bb5a-d832e8065324</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
< l_xaddr = http://169.254.6.23/onvif/device_service
< Received message:
< <?xml version="1.0" encoding="UTF-8"?>
< <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:4091b0be-9a7d-4740-a1bb-670f2d390669</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
---
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:722cda7f-0c27-464e-90bd-0456514b319e</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
21c17
< <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:4091b0be-9a7d-4740-a1bb-670f2d390669</wsa:MessageID><wsa:RelatesTo>urn:uuid:60d5393a-f9fc-4e91-a4be-5816281ceb90</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="12" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
---
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:722cda7f-0c27-464e-90bd-0456514b319e</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054418"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:8d978e81-f8ec-452b-8c67-9051cfa6080b</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.14.67/onvif/device_service http://192.168.1.2/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
22a19,22
> Received message:
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"><SOAP-ENV:Header><wsa:MessageID>uuid:847960d7-cc39-49ad-aa00-fe2e9241f9c6</wsa:MessageID><wsa:RelatesTo>urn:uuid:ec26b9ea-a053-4797-ba35-ca81f59b8c2d</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><d:AppSequence SOAP-ENV:mustUnderstand="true" MessageNumber="17" InstanceId="1599054271"></d:AppSequence></SOAP-ENV:Header><SOAP-ENV:Body><d:ProbeMatches><d:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:e49589f9-3bd3-40bb-a38e-558d31f558b3</wsa:Address></wsa:EndpointReference><d:Types>dn:NetworkVideoTransmitter</d:Types><d:Scopes>onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/hardware/M3025 onvif://www.onvif.org/name/AXIS%20M3025 onvif://www.onvif.org/location/ </d:Scopes><d:XAddrs>http://169.254.6.23/onvif/device_service http://192.168.1.3/onvif/device_service</d:XAddrs><d:MetadataVersion>1</d:MetadataVersion></d:ProbeMatch></d:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>
> l_xaddr = http://169.254.6.23/onvif/device_service
--- * --- * ---

Thanks again for your time.

Ta.

Greg
Last edited by Greg_Talyor on Wed Sep 23, 2020 7:02 am, edited 1 time in total.

User avatar
iconnor
Posts: 1345
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by iconnor » Wed Sep 02, 2020 11:16 pm

169.254.*.* are link-local addresses. They are maybe what you might get if you were running ms-dns and didn't get a dhcp ip address.
The box that doesn't work likely doesn't have an ip address in this range and so can't talk to devices in that network.

The probe works because it is multi-cast which doesn't really care about networks.

So why isn't dhcp working? That's the magic question.

Greg_Talyor
Posts: 24
Joined: Mon Aug 17, 2020 7:41 pm

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by Greg_Talyor » Thu Sep 03, 2020 10:30 am

iconnor wrote:
Wed Sep 02, 2020 11:16 pm
169.254.*.* are link-local addresses.
That explains why ONVIF auto discovery works fine for Nikvision in either box, 'cos its default IP is 192.168.1.64 (even though DCHP server assigns a different IP to it), which is already a part of the 192.168.1.0/24 network.

What I care about are the Axes which have 169.254.*.* addresses. The Nikvision won't be a part of the production system, its image quality is inferior by a wide margin.

Contrary to what I have expected, network settings in two boxes might be different. To recap:-
- On the Dell laptop (that auto discovery works): Network connection is via Wifi, wired connection is never used.
- On HP box (that auto discovery fails): Network connection is first made by wired ethernet, then Wifi connection is added.

So, it is down to me to find out what's wrong with the network settings on the HP box. In both boxes, I have Debian freshly installed and all settings (including networking) have their default values. I can't think of anything obviously wrong right away. BTW, wired or Wifi, all connections are made directly (thru' wires or air) to the same router, except a dumb PoE switch in the middle of wired connections. I purposefully bought a dumb one, thinking one less thing could go wrong.

If I may, can I have two more questions?

1) Can you spot anything unusual or unexpected from the zmonvif-probe.pl output?

2) Given cameras have already had their IPs assigned by a DCHP server, why would they still care about their "unused" default IPs in the context of ONVIF? OTOH, I do notice that my Axes have DCHP on by default, whereas Nikvision off by default. Then again, I shouldn't think they matters, 'cos I switch them all on and tell the DCHP server to give each of them a specific IP address every time.

I could give 1.35 a go, but at this instance I rather replicate this problem on the Dell laptop, which is expendable, by using its own onboard wired ethernet first then switching to Wifi. The pre-production system in the HP box is kinda working, so I rather leave it alone for the time being. I am still struggling with some other Zoneminder settings, so it would be good to have at least a half-working system at my disposal. What my main concern is that: a few years down the line, I won't remember what had happened. Instead of bypassing ONVIF and configuring cameras manually, I might end up taking cameras off the walls and pulling cables inside the cavity walls when I don't have a clue.

Ta.

Greg

Greg_Talyor
Posts: 24
Joined: Mon Aug 17, 2020 7:41 pm

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by Greg_Talyor » Sat Sep 05, 2020 7:56 pm

I fail to reproduce the above problem on my Dell laptop.

I wipe it clean and install Debian 10.5 Buster via wired ethernet. And then turn off ethernet and switch to Wifi before installing Zoneminder v1.34.20. As before, ONVIF manages to discover both cameras alright. Without changing the sources, the follows are default values, dispirit of the fact that DCHP server have already given them 192.168.1.2 and 192.168.1.3 respectively.

rtsp://username:password@169.254.14.67/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast
rtsp://username:password@169.254.6.23/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast

Why my Dell laptop can connect to devices with 169.254.*.* IPs, whereas my HP box can find these cameras but not connect to them? My search goes on, although I ain't good at networking.

I am still interested in answering the following question.

2) Given cameras have already had their IPs assigned by a DCHP server, why would they still care about their "unused" default IPs in the context of ONVIF? OTOH, I do notice that my Axes have DCHP on by default, whereas Nikvision off by default. Then again, I shouldn't think they matters, 'cos I switch them all on and tell the DCHP server to give each of them a specific IP address every time.

Ta.

Greg_Talyor
Posts: 24
Joined: Mon Aug 17, 2020 7:41 pm

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by Greg_Talyor » Fri Sep 11, 2020 9:01 pm

I ain't good at networking, but I start to have some clues.

Router (which is also a DCHP server)
======
IP: 192.168.1.1
Network: 192.168.1.0/24

Camera
======
Default IP is 169.254.x.x, nonetheless DCHP server gives a fixed IP of 192.168.1.x

On the Dell laptop that works (with onboard Wifi)
=========================
$ ip r
default via 192.168.1.1 dev wlp3s0 proto dhcp metric 600
169.254.0.0/16 dev wlp3s0 scope link metric 1000
192.168.67.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.y metric 600

$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0

On the HP box that fails (with BrosTrend USB Wifi dongle)
=====================
$ ip r
default via 192.168.1.1 dev wlxaabbccddeeff
192.168.67.0/24 dev wlxaabbccddeeff proto kernel scope link src 192.168.1.z
192.168.67.1 dev wlxaabbccddeeff scope link

$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlxaabbccddeeff
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlxaabbccddeeff
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 wlxaabbccddeeff

On the box that works, it also listens to the 169.254.0.0/16 (link-local, as iconnor pointed out earlier) network, which making the default IP of the camera a part of it.

There're some more differences, but I think I'm getting close.

burger
Posts: 151
Joined: Mon May 11, 2020 4:32 pm

Re: Problem with ONVIF auto discovery on Axis M3025-VE

Post by burger » Fri Sep 11, 2020 10:16 pm

Cameras give themselves 169.254.xx.xx when they can't get / don't see an IP from the DHCP server, as already mentioned.

That is the problem. Search online for, "why can't i get a dhcp lease".
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

If you are new to cctv, read this:
https://wiki.zoneminder.com/Dummies_Guide

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests