Originally Posted by notimetoread
with the line not commented out, I get
$ telnet 192.168.1.6
Connected to 192.168.1.6.
Escape character is '^]'.
Connection closed by foreign host.
where the connection gets closed immediately. Anyone have any idea? Firmware version is 1.9.14.
Kobo 1.9.14 doesn't mount /dev/pts by default anymore, and telnet needs it. I got it working by adding following to my /etc/init/rcS file (this is the whole addition I have done to the stock rcS file, add 5 first lines...).
# /dev/pts must be mounted after the tmpfs on /dev/ is mounted
# and after udev is started. /dev/pts is only required if you want
# to use telnet to talk to your Kobo.
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
# If you want syslogd to write system messages to .kobo/syslog on the
# onboard flash partition (handy during debugging) just uncomment
# this line:
#/sbin/syslogd -O /mnt/onboard/.kobo/syslog -b 50 -D
# If you want your own script to be run from the user flash partition at
# every boot, uncomment these lines and put it in .kobo/rc.sh . Its output
# will be written to .kobo/rc.out
if [ -e /mnt/onboard/.kobo/rc.sh ]; then
sh /mnt/onboard/.kobo/rc.sh >& /mnt/onboard/.kobo/rc.out
# Start inetd to support telnet and ftpd services
# There is **NO** **PASSWORD** on these services.
I found it out from somewhere via Google, where they talked about telnetd for Kobo wifi. So credit for them.
Edit. The hacking Kobo Touch page seems to also include this information about necessity to mount /dev/pts. But anyway, within these, I got it working