• MAC address enquiry / IP address setup

Hi,

Looking into deploying multiple OAK PoE cameras in multiple different locations (different LANs). However, the host machine that will make the first setup (static IP setup) will be in a different LAN, so the devices won't be discoverable. Have you come across such scenario or have some solution to set up the IP remotely from a different LAN?

Tried to open the device to see if the MAC address is written somewhere on the board or the box package but did not seem to be able to find it. Please advise if there is anyway to figure out the OAK device's MAC address before connecting it to any host?

Connecting to the device within the same LAN then issuing device.getMxId() works. I have seen this script (https://gist.github.com/Erol444/85d6ef7ae9c946f5688854b86c548dc7) to get the MAC from the MxId, however, could not find the MxID on the box without connecting, does it come written somewhere in the shipped package?

Best regards

  • erik replied to this.

    Hi owl ,
    Unfortunately, we don't (yet) print MxId/Mac addr to the box, so I see these 3 options (generated by gpt4):

    1. On-site configuration: If it is possible, the simplest solution would be to have a host machine available in each LAN during setup. You can use this host machine to configure the OAK device, set the static IP, and then use device.getMxId() to retrieve the MxId.
    2. Remote VPN: If on-site configuration is not possible, you could consider setting up a VPN (Virtual Private Network) to create a secure connection between the host machine and the LAN where the OAK device is located. This would make the OAK device appear as if it were on the local network, allowing you to configure it remotely.
    3. Pre-Configuration: If neither of the above solutions are feasible, you could consider pre-configuring the devices before they are deployed. You would need to know the details of the network where each device will be deployed, and set the static IP and other network configurations accordingly. You could then use device.getMxId() to retrieve the MxId for each device before shipping it out.

    Back to me; we have seen quite a few people using the 3rd option, which is a bit tedious. Thoughts?
    Thanks, Erik

    (fwiw I have also brought this up internally, just note that even if we start working on this now, devices with such labeled boxes will be shipped in several weeks/months)