How do I use this?
I have no idea how to use this I'm trying to discover the stream url of my new POE camera My LAN address is 192.168.15.*
Good day!
There's a couple of thing to consider first.
- Is the camera ONVIF compatible? (PoE cameras aren't usually dirt cheap, and I would expect it does)
- Is ONVIF enabled? (e.g. Reolink ship their cameras with ONVIF disabled by default)
- Is it discoverable? (After enabling ONVIF, it usually comes enabled)
What's the brand/model of you camera?
Revotech Mini POE IP Camera HD 3MP Indoor Security Camera 3.6mm Lens P2P Remo...
https://www.ebay.com/itm/405289120742
I have a hard time finding official documentation about this brand, although I did find some user feedback claiming that ONVIF does actually work.
I did find the following unofficial documentation for the model from the link you shared "I706-POE-FHW". https://wiki.zoneminder.com/Revotech_I706-P It refer to a proprietary configuration page available at "http://yourcameraip/" (All cameras have some form of proprietary GUI on top of ONVIF)
Can you access the default Revotech interface dashboard and see if there's any ONVIF related setting? I can't even find a screenshot of what that would look like online.
If it's anything like the device in this video, you may be able to manually add the device using "6688" as the ONVIF port. The discovery may have other problems specific to your network setup.
Something like this: (with appropriate password if you configured one)
Okay, this really sounds like a networking issue.
For instance, your camera probably won't work within a network without a DHCP server. (Home routers all include a DHCP service) Without a DHCP server on the network, a static IP has to be configured on every endpoints (including the camera). That's why connecting directly to the camera won't work without the use of a router.
Now, there's the issue of routing, subnets and default gateway. When a DHCP server issues an IP address to a device, it also sends gateway configurations. (Most likely itself) The gateway isn't something that you use when connecting to a remote endpoint. It's only used by the operating system to determine where to send the traffic for a given interface. The usual subnets for home network are 192.168.0.0/24 or 192.168.1.0/24. You have to make sure that both of your devices are on the same subnet or that the router has a route between those two subnets.
Each subnet will have their own default gateways leading outside, but no route between each other. When your laptop sends traffic to the camera, the router will search its own routing table for the camera's subnet. If no route exist in the routing table, the default "0.0.0.0" kicks in, which is usually WAN, not the alternate subnet.
Using seperate subnets is considerably advanced, which I doubt is what you are trying to achieve here...
Lets start from the beginning by setting up a simple flat network.
- Connect both device to your router (Do not use WAN port for your devices).
- Power the router and wait for it to finish starting
- Power your laptop and camera (Make sure that camera is finished starting)
- Run
arp -ato find your IP neighbors (the list should include your camera) - Find your camera's IP and perform a ping test (
ping -c 4 IPADDRESS)
If the ping is successful and it is actually your camera's IP, it should work on the application.
if you are unsuccessful for whatever reason, can you share the output of ifconfig and arp -a ?
Cheers!
The router has an ip address could be any subnet You're assuming that the router and camera are both on the same subnet
If they aren't on the same subnet, it's up to you to configure the router correctly. Make sure that you can successfully ping the camera before anything else.
I'm back after adding an NVR and PoE switch to my setup I have the nvr and switch both connected to the router and the camera connected to the switch What do I do now?
Are you able to ping the camera's IP now?