Login
1. Preparation
- Luckfox Pico Pro/Max
- USB Type-A to Type-C data cable
- 100M/1000M Ethernet cable and router
- USB-to-TTL module
- Buildroot
- Ubuntu22.04
Username: root
Password: luckfox
USB Static IP Address: 172.32.0.93
Username: pico
Password: luckfox
USB Static IP Address: 172.32.0.70
2. Login
The development board supports multiple login methods, including ADB, SSH, and serial debug console. You can choose any one of them. It is recommended to use a USB-to-TTL module to log in via the serial debug console, as this provides more comprehensive boot and debug information during development, making it easier to troubleshoot issues.
2.1 ADB Login (Windows)
ADB Installation and Configuration
- Download the ADB installation package, extract it and you can use it(click here to download).
- Right - click on "This PC" and select "Properties"—>"Advanced system settings"—>"Environment variables".

- In "System variables", click "Edit", then create a new entry with the extraction path of ADB.

- Click "OK" to save the environment variables.

ADB Login
- Press the Win + R shortcut keys and enter "CMD" to open the Windows Terminal. Enter ADB commands in the terminal to view ADB - related information.

- If there is only one device, execute the commands in Powershell or CMD.
adb shell - If multiple devices are connected, you can view the list of currently connected ADB devices through the following command:For example:
adb devicesC:\Users\cjw> adb devices List of devices attached 103ea97dececc831 device d48936ed7d1551fc device
- After confirming the device, use the following command to log in to the development board via the device serial number:
adb -s d48936ed7d1551fc shell
2.2 ADB Login (ubuntu22.04)
- Download and install the ADB tool.
sudo apt-get install android-tools-adb -y - If the correct udev rules are not configured, regular users will not be able to access USB devices. When using adb shell, errors such as "udev rules wrong" or insufficient permissions may appear.

- Use the
lsusbcommand to check the device ID.
- Create or edit a udev rules file:
sudo vim /etc/udev/rules.d/51-android.rules - Add the following content to the file to grant read/write permissions to users in the plugdev group for devices with ID 2207:0019:
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", ATTR{idProduct}=="0019", MODE="0666", GROUP="plugdev" - After saving the file, change its permission:
sudo chmod 644 /etc/udev/rules.d/51-android.rules - Reload the udev rules:
sudo udevadm control --reload-rules
sudo service udev restart - Reconnect the device: unplug and reinsert it to ensure the new rules take effect.

2.3 SSH Login (windows)
The Luckfox Pico Pro/Max series enables the SSH service by default in the latest firmware. Users can remotely log in using either of the following methods:
- USB Connection (Static IP): After configuring RNDIS, access the SSH service using the static IP address assigned by the board.
- Ethernet Connection (Dynamic IP): Connect the board to a router via Ethernet. Once the board obtains a dynamic IP address from the router, use it for SSH login.
2.3.1 Configure RNDIS
We configure RNDIS to place the computer and the board on the same local network via a virtual network interface, enabling SSH login. Without this setup, the computer won't be able to communicate with the board over the network, and SSH login will not be possible.
- Go to Windows Security Center—>Firewall & Network Protection—>Turn off the firewall.

- Configure the RNDIS network interface with a static IP,Open Settings—>Advanced Network Settings —>Change Adapter Options.
- The network interface is usually named something like Remote NDIS based Internet Sharing Device. Right-click and select Properties.

- Double-click Internet Protocol Version 4 (TCP/IPv4), then set the IPv4 address to 172.32.0.100 to avoid conflicts with the board's IP.


2.3.2 Dynamic IP Acquisition
- Download and install a local area network IP scanning tool (click here to download).
- Run Zenmap, enter your own network segment, select
Ping scan, and click the Scan button to scan the IP addresses within the current local area network. - Record the current IP addresses.
- Power on the device and make sure the device is connected to the network.
- Click the Scan button again to scan the IP addresses within the current local area network.
- Exclude all previously recorded IP addresses, and the remaining one is the IP address of the development board.

2.3.3 SSH Login
- Download the remote login software and extract it to use. (Click here to download).
- Open MobaXterm remote login software, select Session->SSH, and enter the previously retrieved IP address (e.g., 192.168.10.128) in the Remote host field (use your actual IP address).

- After filling in the information, click OK. Then enter the login name and password. You can find the login credentials in the Preparation section.

- You should now be successfully logged into the development board:

2.4 SSH Login (Ubuntu22.04)
- After connecting the development board to an Ubuntu host or virtual machine, you can check the system log with the following command to confirm whether the RNDIS device has been successfully registered:
sudo dmesg | tail -n 50
- If the first step indicates that the RNDIS device was successfully registered, run the following command to view the newly created network interface:

- Configure RNDIS:
sudo ip addr add 172.32.0.98/24 dev enxdee6de754a7f
sudo ip link set enxdee6de754a7f up - Reconnect the device—unplug it and plug it back in—to ensure the new rules take effect.

2.5 Serial Login
First, connect one end of the serial module to the computer, and the other end to the TX, GND, and RX pins of the Luckfox Pico Pro/Max interface. Refer to the wiring diagram below for proper connections.
- Download a serial login tool and extract it for use.(Click here to download).
- Open your computer's settings, search for Device Manager, and check the COM port number assigned to the serial device. Take note of it.

- In the serial tool, go to Session → Serial, and set the baud rate to 115200.

- Click OK, then press Enter, and input the login name and password to log in.
