Skip to content

Instantly share code, notes, and snippets.

@Eeems
Last active May 10, 2023 01:14
Show Gist options
  • Save Eeems/77f6161ad7f33d121bb1071814225f2c to your computer and use it in GitHub Desktop.
Save Eeems/77f6161ad7f33d121bb1071814225f2c to your computer and use it in GitHub Desktop.
Get SSH access as part of reMarkable 1 recovery
  1. Use remarkable-uuuflash to boot into a recovery console
  2. Setup chroot:
    mount /dev/mmcblk1p2 /mnt/ # This may need to be mmcblk1p3 if you are using the other root partition
    mount /dev/mmcblk1p7 /mnt/home
    mount /dev/mmcblk1p1 /mnt/var/lib/uboot
    mount -t proc /proc /mnt/proc
    mount --rbind /sys /mnt/sys
    mount --rbind /dev /mnt/dev
    mount --rbind /run /mnt/run
    chroot /mnt
    mount -o bind /home/root/.entware /opt # only if you have toltec/entware setup
    source /home/root/.bashrc
    # Mount anything else here that you need
    # I personally have a bind mount for logs
    # So I run mount /var/log
  3. Setup usb0 for networking:
    /usr/sbin/udhcpd /etc/udhcpd.usb0.conf
    ip addr add 10.11.99.1 dev usb0
  4. Start the SSH server:
    /usr/sbin/dropbear -r /etc/dropbear/dropbear_ed25519_host_key -B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment