Initial Configuration
This section covers the first boot, initial SSH access, basic security hardening, and network setup for Lichee-Jack.
First Boot & SSH Login
On the first power-on, make sure the mode switch is set to mode 0 (debug).
Lichee-Jack exposes a USB CDC-NCM network interface to the host.
Default credentials:
- root
password:
toor - debian
password:
licheejack
Connect via USB (CDC-NCM)
After plugging in the USB cable, your host should receive an IP automatically.
ssh root@10.42.0.1(Optional) Copy your SSH public key:
ssh-copy-id root@10.42.0.1Recommended: Always use SSH keys instead of password authentication.
Change Default Passwords (Strongly Recommended)
Leaving default credentials is a critical security risk.
Change root password
passwdChange debian user password
su debian
passwdNon-interactive method (for automation)
echo "debian:NEW_PASSWORD" | chpasswdWi-Fi Setup (Optional)
Lichee-Jack uses NetworkManager.
TUI (recommended)
nmtui- Select Activate a connection
- Create or edit a Wi-Fi profile
- Connect and verify
CLI (manual)
nmcli device wifi list
nmcli device wifi connect "SSID_NAME" password "WIFI_PASSWORD"Check status:
nmcli device statusSystem Update (⚠️ Read Carefully)
Update package lists:
apt updateCheck available upgrades:
apt list --upgradable -a⚠️ Kernel & Bootloader Warning Do NOT upgrade the following packages:
initramfs*linux-image-*linux-headers-*(Debian officialriscv64builds)
Lichee-Jack boots only with the project-specific U-Boot and linux-licheejack kernel.
Blindly running apt upgrade -y may brick the device.
Safe Upgrade Method
Manually upgrade userland packages only:
apt upgrade PACKAGE_NAMEOr explicitly hold kernel-related packages:
apt-mark hold linux-image-* linux-headers-* initramfs*