As shown in the figure below, the type-C port is connected to the youyeetoo R1 development board, and the other end is connected to the Windows host
Connect the Ethernet cable to the board's Ethernet port.
If you want to use shell commands in the Android system, you need to enter the Android command line window through ADB. For a tutorial on using ADB, please refer to the<a="/r1/adbdebug">adb debuggingchapter. After opening the Android system command line through adb.
adb root
adb shell
ifconfig
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up
The Android 13 system has made significant changes by removing the static IP function from the setting UI. In order to set a static IP address, we created a program to configure the static IP address of the network port. After entering the Android system command line using the adb command mentioned above, the user enters the following command.
yyt-eth0IpConfig
reboot
ifconfig
Example: