Obtain IP Address
After the device is connected to the network, developers can obtain the device's IP address through multiple methods.
Obtain IP Address via ADB
For the installation and usage of ADB, refer to Basic ADB Usage.
bash
# Access the device
adb shell
# Obtain IP address
ifconfig eth0The following output will be displayed:

The inet addr parameter indicates the device's IP address.
Obtain IP Address via Ubuntu Interface
After developers gain access to the Ubuntu system interface, enter the following command in the Terminal to query the IP address:
bash
# Obtain IP address
ifconfig eth0