erik
I have updated it.

The error is persistent:

I apologize if this is taking so long. I have never used an OAK-D before.

    Hi CodeGenius
    You need to set the subnet mask as well, otherwise the PC doesn't know which devices are in the same subnet.

    Thanks,
    Jaka

      jakaskerl

      I have:

      But now the status has changed from not connected to self-assigned IP:

      The error message has also changed:

        Hi CodeGenius
        Can you check the device manager for found devices? Then change the device IP to your usual subnet range (192.168.100.x mask 255.255.255.0 i think).

        Thanks,
        Jaka

          3 months later

          I was happy to see a thread about someone going through precisely the same problem I'm currently be confronted with, but was disappointed to see that the conclusion was "I changed Operating System and it worked" 😅

          To avoid creating a new thread and keep this issue consolidated in the same place for future viewers, I'm hoping maybe @jakaskerl & @erik could perhaps help further debug issue here?

          I'm in exactly the same situation as OP was. I'm using a 2019 Intel MacBook Pro, with macOS 13.2.1 (22D68). The screenshots posted by @CodeGenius are identical to what I'm seeing. In essence, I can ping 169.254.1.222, but it doesn't show up as any of the devices in Hardware Info or when running system_profiler SPUSBDataType.

          More context:

          • I have used the camera successfully on the same laptop whilst running under Ubuntu 22.04.03 (it is a dual-boot system)
          • I have tried to specify the device whilst initialing the camera via its IP, i.e. depthai.Device("169.254.1.222"), to no avail
          • I'm using a USB-C dongle to connect the PoE signal line to the laptop
          • erik replied to this.

            Yehp, went through all the troubleshooting steps except for the factory resetting (I know the camera works from my experience with it on Ubuntu).

            One thing I've noticed is that the camera will appear occasionally, but the moment it tries to get accessed, it disappears. More precisely, a simple way to reproduce the situation I'm observing is as as follows:

            1. I start the device_manager.py from the utilities folder in depthai-python
            2. The camera shows up as one of the devices from the dropdown menu
            3. I hit the search button
            4. Not only does the camera not show up on the list, but it disconnects entirely from the system, i.e. the Network settings in MacOS shows it as "Not Connected".
            5. A little while later, the Network adapter dongle reappears connected to the laptop

            Have you noticed problematic USB-C dongles being an issue across OSs or only particularly for MacOS? In this case, I'm using the same dongle when I'm booted into Ubuntu or Mac, and it works on the former but not on the latter.

            • One potential difference between the OSs is that on Ubuntu you can explicitly set IPv4 to Link Local Only (which I've observed is preferable for the stability of the connection, otherwise Ubuntu occasionally will also fail to find the camera when set to) whereas on MacOS, that explicit option is only available for IPv6 but IPv4 you need to manually configure or use DHCP (and so to achieve the same you set the IP address in the 169.254 range + mask)

              Hi Abstraction
              Was experiencing the same issue on OAK-D-POE, MBP M1, ETH to USBC dongle.
              The camera would be identified under USB LAN, but would disconnect anytime I booted the device. Bootloader connection (device_manager.py) would work as expected.

              What changed is I went on WIFI, now it works. So very likely a dongle problem.

              Thanks,
              Jaka

                Hi jakaskerl , thanks for the reply!

                I'm a little confused though as I didn't think the OAK-D-POE had the ability to push images over Wifi? Can't see it in the docs unless you're referring to the OAK-D-IoT?

                Are you using some PoE over Wifi adapter or something to achieve this? With a separate network card/dongle on your laptop (so as to remain connected to the internet simultaneously)?

                  Hi Abstraction
                  The Wifi connection is established router <--> PC. The OAK is still connected using UTP cable (ethernet).
                  It's not a solution, I'm just wondering if it will work for you as well.

                  Thanks,
                  Jaka

                    Hi jakaskerl ,

                    Ahh, right - smart! Just gave it a go through the router and it does indeed seem to be working, so that's great. All evidence therefore points to the dongle being the culprit. I'll report back once I test out the new ones I will receive!

                    8 days later

                    Following up here, I have now tested this with three different dongles and can rule out, with relative confidence, that the issue isn't dongle related.

                    Thankfully, I have managed to nonetheless solve this issue to some extent so hopefully this will help others facing similar problems in the future. Two main things you need to make sure when setting up the connection with the dongle:

                    1. In network settings, not only do you need to make sure you "Manually" specify the IP address to something within the 169.254.XXX.XXX range with a 255.255.0.0 subnet, but you need to also make sure that the Router value is set to the same. So for example, for me, this looks like:

                    2. You need to make sure that the Dongle you are using to connect to the PoE camera is the first connection in the "Service Order" within MacOS settings. This is the only way I have found for it to work reliably. In my experience, if you don't ensure this order is kept, you might be able to connect to the bootloader on occasion, but even if you succeed, you'll generally get Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND.


                      To view and reorder the Service Order, click on the ellipsis button at the bottom of the settings and reorder the entries until your dongle comes out on top:

                      NOTE: When you reorder the Service Order in this way, you will lose access to the internet until you place an actual internet connection back above the dongle.

                    This is how I have gotten to work, if anybody digs into this any further and figures out how to get this to work without having to simultaneously lose access to the internet, I'd be grateful if you could share back.

                      10 days later

                      Amazing!

                      I will give it another go on MacOS

                      Abstraction
                      Hey. I have ordered the services and configured the IP address with the router's. I am still getting Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND. Is there a step I might have missed so as to get the OAK-D up and running?

                      @CodeGenius

                      When you say "configured the IP address with the router's", do you mean you set it to your router's IP address? If so, that's not correct. The two values should be the same, but they should still be link-local address, e.g. 169.254.XXX.XXX

                      Can you post an image of your network settings for the particular dongle you're using? Along with the service order?