Skip to content

Network Configuration

Tip

Before configuring a wired network, connect the Ethernet cable first;
Make sure the device antenna is properly installed before using Wi-Fi.

After the device boots for the first time, it is recommended to configure the network connection first:

  • On a Windows PC, press Win+R, type cmd in the pop-up window to open a terminal, and run the following commands to enter the system:
bash
# Obtain root privileges on the device
adb root

# Enter the device terminal shell environment
adb shell

Wired Network (DHCP by Default)

  • Plug the Ethernet cable into the WAN port; the system obtains an IP address automatically via DHCP by default:
bash
ifconfig eth0

Wired Network (Static IP)

  • To configure a static IP, first obtain the connection name:
bash
nmcli -g GENERAL.CONNECTION device show eth0
  • Configure the static IP (replace the IP/gateway/DNS with actual values):
bash
nmcli connection modify '<connection_name>' ipv4.method manual ipv4.addresses 192.168.1.231/24 ipv4.gateway 192.168.1.1 ipv4.dns '114.114.114.114'
  • Apply the network configuration:
bash
nmcli device reapply eth0

Tip

The IP address and subnet mask set here are for reference only; configure them according to your actual environment.

Restore Dynamic IP

  • Switch from a static IP back to DHCP dynamic assignment:
bash
nmcli connection modify '<connection_name>' ipv4.method auto ipv4.addresses '' ipv4.gateway '' ipv4.dns ''
bash
nmcli device reapply eth0

Wi-Fi Network

The Full Image can be configured through the desktop environment; the Base Image can be configured via the command line:

  • View the IP address
bash
ip addr show
  • Configure Wi-Fi via the command line
bash
nmcli dev wifi connect "SSID" password "PASSWORD"
  • Disconnect the Wi-Fi connection
bash
nmcli connection down id <WIFI-SSID>