• HardwareOAK4
  • OAK-4D Setup Issues (QR code & oakctl both fail)

Hi ,

I’m trying to setup an OAK-4D following the “Setup” section of the deployment guide. However, it is not able to setup the camera and the blue light keeps on blinking. Neither the QR Code nor the Oakctl work.

What I’ve tried

  1. Used the setup page and pointed the camera at the generated QR code. However the LED keeps blinking blue

  2. Ran the command below on the command prompt from Windows PC (oakctl v0.12.5):

    oakctl setup --password test --static-ip 192.168.220.2,255.255.255.252,0.0.0.0 --app-config "{}" --agent-config "sc=TPETTX" --dont-check-internet --time-zone America/Toronto --time "@1752243987" --enable-error-reporting --peripheral-mode

    It returns: “Device with serial number 4253339041 has no associated IP. Error: adb start-server command failed: The system cannot find the path specified. (os error 3)”

  3. I even used adb to look for available devices when connected via usb. Adb does show the device.

  4. I also checked using oakctl and it does show the device is available as shown below..
    +---+---------------+-----------+------------+-----+---------------+-------+

    | # | Serial Number | Device | Connection | OS | Agent Version | Setup |

    +==========================================================================+

    | 1 | 4253339041 | OAK4-D R7 | usb:0-13 | N/A | N/A | N/A |

    +---+---------------+-----------+------------+-----+---------------+-------+

  5. I then also set the IP address using ADB and I get success and I am able to ping the device as well. But still get the same IP error as above.

Has anyone seen this behavior or knows what to check next in order to resolve this setup issue?

Thanks & Regads
Yishu

    Hi yishu_corpex
    The gateway you set is incorrect. Please set it to an actual IP.
    Though it does seem like the oakctl does not find the internal adb. Try doing a oakctl self-update.

    Thanks,
    Jaka

    7 days later

    Hi @jakaskerl

    I updated the IP as below. However, if i try to go back to dhcp, adb gives me an error as in the image below.

    Now when i try to connect after setting up the static IP as the above image i get the error as shown below. I also updated the oakctl as mentioned by you.

    Also do I need to be connected via Ethernet or USB? Right now i am connected via both and as per my understanding USB will take precedence.

    So I factor reset the device first using the pinhole button at the back of the camera. Then I connect it via ethernet first and oakctl can't find the device. Then i connect it via usb while the ethernet is connected and oakctl can find the camera in usb mode but can't run the setup as shown in the screenshot below.

    I'm trying to understand what exactly is going wrong.

    Thanks,
    Yishu

      7 days later

      yishu_corpex
      Can you adb into the device? I'm interested to know the OS version. Also, the gateway should be the first address in the subnet - in your case that is 192.168.50.1.

      Thanks
      Jaka