I am trying to attach an IP Cam to my AREDN Nano node. I have read many instructions and watched many videos, but have never been able to get the node to recognize the camera IP address. How do you do that? Is it supposed to be automatic when attaching the camera? I know the camera IP address but find nowhere to input it AREDN setup page.
Any help appreciated.
'73 de Dick K6BZZ
Any help appreciated.
'73 de Dick K6BZZ
Also, a lot of cameras don't handle the IP stack very well. Try going to the Advanced Config page and enabling this setting:
Provide default route to LAN devices even when WAN access is disabled
aredn.@wan[0].lan_dhcp_defaultroute
then try again
Dick K6BZZ
However that should not prevent the camera from getting an IP address from the node. Look at Setup > Port Forwarding page. It should list the IP of the camera under DHCP leases.
This is one of my nodes. The currently connected devices are circled with the node assigned addresses.
That's right, this forum won;t let me do what I just did to post a picture. And I don't have time to upload the image to a website and link it...
Rob
If the image does not show in your browser, here is a direct link to it: http://extraphotos.info/images/AREDN-DHCP.png That statement does not make any sense. Can you post a screen capture?
Your advertised service for the camera is pointing to the node itself rather than the hostname for the DHCP reservation for the camera. Same issue (I think) with the advertised service for the MeshChat. You are pointing to the node itself on port 8080 that is used for the web interface for the node. Full disclosure, I have never run MeshChat on a node - only on a connected RasPi - so not the expert on that one if you are running MeshChat on the node itself.
So your first issue is why is the camera not getting a DHCP IP address from the node. I would confirm that the camera is set up as a DHCP client. Until the camera has an IP Address on the node's LAN subnet, nothing is going to work. BTW, one option you could do is to set the camera itself to a static IP Address on that 10.77.30.4 address and leave the DHCP reservation in place. That will prevent the node from assigning that IP to some other device, and it gives you a way to select that hostname in the Advertised services section. I am doing that with Grandstream phone for the reason mentioned by K5DLQ in post #3
Any suggestions appreciated.
K6BZZ
Exactly, How are you "trying to connect to the camera."?
Your 'Advertised Service' is not 'pointing to' 'Camera',
that link is pointing to your node.
Oh, buy the way, 'Hostname's should be unique in a network.
If your network grows...'Camera' may not be unique.
Would you consider changing the camera's hostname to 'k6bzz-camera' ?
https://docs.arednmesh.org/en/latest/arednGettingStarted/advanced_config.html#port-forwarding-dhcp-services-and-dns-aliases
...
'DHCP Address Reservations"
...
"The hostnames of every device connected to the mesh at large must be unique.
It is best practice to prefix your Amateur Radio callsign to the hostname of each
of your devices in order to have the best chance of it being unique on the mesh network."
73, Chuck
are you going to http://10.241.51.5 to access it?
Or, using the advertised service named "Camera" that goes to http://k6bzz-2:8080/camera? (This is NOT where your camera is located)
Notes:
your "camera" hostname may not be unique on the mesh. It is best practice to name it with your callsign. ie. k5bzz-camera
Your advertised service "Camera" is probably not correct since it is linking to your NODE, not your Camera.
AND....
You should definitely upgrade to 3.22.12.0 ASAP!
See attachment for configuration that works.
Dick K6BZZ
You might want to measure the 'feed' to see if the issue is the IP path or the camera.
Tools like 'ping' and 'mtr' might help to discover where the issue is.
Or, if Windows:
https://sourceforge.net/projects/winmtr/
73, Chuck