Network Configuration
💡Note
The A8550PF1 device's network ports operate in 1 WAN + 3 LAN mode. To access an external network, connect the Ethernet cable to port 17 on the device. Refer to the Onboard Interface Description section for the location of interface number 17.
Configure Dynamic IP Address for WAN Port
When the developer's environment has a local area network (LAN) with a DHCP server that can assign DHCP IP addresses to downstream devices, follow the steps below to obtain a dynamic IP address.
The A8550PF1 device is configured to use DHCP by default, so it will obtain an IP address after booting and connecting to the network via Ethernet. On the Windows PC, press Win + R, type cmd in the pop-up window, and open a terminal window. Then enter the following commands:
- Enter
adb shellto access the host system.
adb shell- Execute the command
ifconfig eth0to view the returned IP address.
ifconfig eth0
Configure Static IP Address for WAN Port
Since the A8550PF1 device is configured for DHCP by default, if you need to set a static IP address, after connecting the Ethernet cable, press Win + R on the Windows PC, type cmd in the pop-up window, open a terminal window, and enter the following commands:
- Access the host system.
adb shell- Set a static IP.
Use the vi tool to open the /etc/dhcpcd.conf file, modify it at the end, and save the changes.
hardware_info eth0
static ip_address=192.168.8.100/24 // Change to your desired IP address
static routers=192.168.8.1 // Change to your desired gateway address
static domain_name_servers=8.8.8.8 1.1.1.1After configuration, reboot the device for the changes to take effect.
If you need to revert the static IP configuration back to dynamic IP, you can comment out the above lines by adding # at the beginning of each line and then reboot the device.
Configure Wireless WiFi
💡Note
An antenna must be connected to the device when connecting to WiFi.
On the Windows PC, press Win + R, type cmd in the pop-up window, open a terminal window, and perform the following configuration:
- Access the host system:
adb shell- After entering the system, execute the command:
vi /data/misc/wifi/wpa_supplicant.conf- Press i to enter edit mode and modify the username (SSID) and password (PSK).
#WPA-PSK
ssid="QSoftAP"------SSID (Username)
#proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP CCMP
group=TKIP CCMP
psk="1234567890"-----PasswordAfter modification, press
Escto exit, then type:wqand pressEnterto save.Execute the command to restart the WiFi service:
systemctl restart wlan_daemon- View the returned IP address:
adb shell
ifconfig wlan0