wiki/docs/kobo.md
Simon Bruder 7cc20db4db
All checks were successful
continuous-integration/drone/push Build is passing
Initial commit
2020-11-05 12:04:06 +01:00

1.3 KiB

Kobo

Enable telnet without modifying the rootfs

Edit .kobo/Kobo/Kobo eReader.conf on the filesystem available via USB:

[DeveloperSettings]
EnableDebugServices=true

Enable dropbear sshd

Copy dropbearmulti to /opt/dropbear/dropbearmulti.

In /opt/dropbear/:

./dropbearmulti dropbearkey -t dss -f dss_key
./dropbearmulti dropbearkey -t rsa -f rsa_key
./dropbearmulti dropbearkey -t ecdsa -f ecdsa_key

Add authorized keys to /.ssh/authorized_keys

Link scp: ln -s /opt/dropbear/dropbearmulti /usr/bin/scp

Add to /etc/inittab:

::IGNORE THIS LINE, it is just here to not confuse mkdocs
::respawn:/opt/dropbear/dropbearmulti dropbear -s -F -E -r /opt/dropbear/dss_key -r /opt/dropbear/rsa_key -r /opt/dropbear/ecdsa_key

!!! note After a system update, it might be necessary to repeat this step.

Re-scan the library

Useful after adding a book via ssh.

:::shell
ssh root@kobo-address 'echo -e "usb plug add\nusb plug remove" >> /tmp/nickel-hardware-status'