Skip to main content

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
[Login Credentials]
Username: root
Password: luckfox
USB Static IP Address: 172.32.0.93

2. Login

[INFO]

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

  1. Download the ADB installation package, extract it and you can use it(click here to download).
  2. Right - click on "This PC" and select "Properties"—>"Advanced system settings"—>"Environment variables".
    path
  3. In "System variables", click "Edit", then create a new entry with the extraction path of ADB.
    path
  4. Click "OK" to save the environment variables.
    path

ADB Login

  1. 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.
    CMD
  2. If there is only one device, execute the commands in Powershell or CMD.
    adb shell
  3. If multiple devices are connected, you can view the list of currently connected ADB devices through the following command:
    adb devices
    For example:
    C:\Users\cjw> adb devices
     List of devices attached   
    103ea97dececc831     device 
    d48936ed7d1551fc     device 
    
  4. After confirming the device, use the following command to log in to the development board via the device serial number:
    adb -s d48936ed7d1551fc shell
💡Tip
It is recommended to re - execute this command after plugging or unplugging the device to confirm whether the target device is successfully recognized. If it is not recognized, you can try to replace the Type - C data cable and check if there are issues such as poor contact at the interface.

2.2 ADB Login (ubuntu22.04)

  1. Download and install the ADB tool.
    sudo apt-get install android-tools-adb -y
  2. 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.
    ADB
  3. Use thelsusbcommand to check the device ID.
    ADB
  4. Create or edit a udev rules file:
    sudo vim  /etc/udev/rules.d/51-android.rules 
  5. 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"
  6. After saving the file, change its permission:
    sudo chmod 644 /etc/udev/rules.d/51-android.rules
  7. Reload the udev rules:
    sudo udevadm control --reload-rules
    sudo service udev restart
  8. Reconnect the device: unplug and reinsert it to ensure the new rules take effect.
    SSH

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:

  1. USB Connection (Static IP): After configuring RNDIS, access the SSH service using the static IP address assigned by the board.
  2. 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

[NOTE]

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.

  1. Go to Windows Security Center—>Firewall & Network Protection—>Turn off the firewall.
    firewall
  2. Configure the RNDIS network interface with a static IP,Open Settings—>Advanced Network Settings —>Change Adapter Options.
  3. The network interface is usually named something like Remote NDIS based Internet Sharing Device. Right-click and select Properties.
    nmap
  4. 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.
    nmap
    nmap

2.3.2 Dynamic IP Acquisition

To log in using a dynamic IP via the network port, simply connect one end of the network cable to the development board and the other end to a router or switch. The development board can then obtain an IP address through udhcpc. Ensure that the development board and the computer are on the same local area network, and the SSH service is enabled (enabled by default), and you can log in via SSH using the obtained IP address.
  1. Download and install a local area network IP scanning tool (click here to download).
  2. 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.
  3. Record the current IP addresses.
  4. Power on the device and make sure the device is connected to the network.
  5. Click the Scan button again to scan the IP addresses within the current local area network.
  6. Exclude all previously recorded IP addresses, and the remaining one is the IP address of the development board.
    nmap

2.3.3 SSH Login

  1. Download the remote login software and extract it to use. (Click here to download).
  2. 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).
    SSH
  3. After filling in the information, click OK. Then enter the login name and password. You can find the login credentials in the Preparation section.
    SSH
  4. 💡Tip
    It’s normal that nothing appears on the screen while entering the password. Just press Enter after typing it.
  5. You should now be successfully logged into the development board:
    SSH

2.4 SSH Login (Ubuntu22.04)

  1. 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
    ADB
  2. If the first step indicates that the RNDIS device was successfully registered, run the following command to view the newly created network interface:
    ADB
  3. Configure RNDIS:
    sudo ip addr add 172.32.0.98/24 dev enxdee6de754a7f
    sudo ip link set enxdee6de754a7f up
  4. Reconnect the device—unplug it and plug it back in—to ensure the new rules take effect.
    SSH

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.
Serial

  1. Download a serial login tool and extract it for use.(Click here to download).
  2. Open your computer's settings, search for Device Manager, and check the COM port number assigned to the serial device. Take note of it.
    Serial
  3. In the serial tool, go to Session → Serial, and set the baud rate to 115200.
    Serial
  4. Click OK, then press Enter, and input the login name and password to log in.
    Serial