OAK4 Advanced
Connect to the camera through SSH or ADB
SSH
ADB
SSH
Connecting with ethernet

Enabling SSH
- Setting up the camera with Luxonis hub or locally enables SSH access with the given password,
- executing
oakctl device unlockon host computer while device is connected on the same network (download and install oakctl).
Usage
nmap or some IP scanner app. Alternately you can also run oakctl list to find OAK devices in your local network.Command Line
1# SSH into the the device
2$ ssh root@IP_ADDRESSscp:Command Line
1$ scp folder/file.txt root@IP_ADDRESS:/data/
2# Or a folder
3$ scp -r folder/ root@IP_ADDRESS:/data/Set static IP
Setting a static IP on OS version 1.20.5 will not work due to a fault in that release. If you're using this version, we strongly recommend upgrading to a newer OS before attempting to configure a static IP.
No DHCP
If no DHCP server is available, please refer to the No DHCP section in Troubleshooting.
- advanced settings when setting up the camera either with Luxonis Hub or locally.
- by connecting to the camera (either ADB/SSH ) and using
agentconfd configuretool:
Command Line
1agentconfd configure --help
2Usage: agentconfd configure [OPTIONS] [NETWORK_CONFIG]
3
4Arguments:
5 [NETWORK_CONFIG] Either "dhcp" or "ipv4,ipv4_mask,ipv4_gateway"Command Line
1# ADB/SSH into the device first, then on device set static IP:
2agentconfd configure 192.168.10.15,255.255.255.0,192.168.10.1
3# Revert back to DHCP:
4agentconfd configure dhcpConfigure DNS
Command Line
1# ADB/SSH into the device first, then on device run:
2agentconfd configure dhcp --dns 10.12.102.2Command Line
1agentconfd configure dhcp --dns 8.8.8.8Command Line
1~ # agentconfd configure dhcp --dns 10.12.102.2
2[2026-02-06T13:49:15Z INFO agentconfd] Success!
3~ # ping google.com
4ping: bad address 'google.com'
5~ # agentconfd configure dhcp --dns 8.8.8.8
6[2026-02-06T13:49:30Z INFO agentconfd] Success!
7~ # ping google.com
8PING google.com (142.250.203.142): 56 data bytes
964 bytes from 142.250.203.142: seq=0 ttl=251 time=11.978 ms
1064 bytes from 142.250.203.142: seq=1 ttl=251 time=14.046 msping by hostname fails but ping by IP succeeds, DNS is misconfigured. Adjust the DNS server or verify that outbound DNS is allowed on your network.Local Setup
- Setting up the camera without connecting to the Luxonis Hub.
- Enabling SSH access for development or debugging.
- Resetting the device password locally.
- Configuring advanced network settings, such as assigning a static IP when DHCP is unavailable.
1. Power device
2. Verify oakctl version
0.16.2 or higher installed by executing oakctl version. If necessary, update with oakctl self-update.3. Put device in Setup Mode
Command Line
1oakctl start-setup4. Setup your device
Using setup.luxonis.com
Setup Locally, then follow the on-screen instructions to configure your camera.Using command line
Command Line
1oakctl setup -p <INSERT_PASSWORD_HERE> --dont-check-internet<INSERT_PASSWORD_HERE> in the command with your preferred password. To see other options execute oakctl setup --help.If multiple devices are connected to the same network,
oakctl may prompt you to select which device to configure.Need WiFi connectivity?
See OAK4 WiFi for supported USB-C WiFi dongles and setup instructions.
Frequently asked questions
- provide power over USB and use a non-PoE cable for communication.
- provide power over PoE and use USB for ADB communication
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.
