View Single Post
Old 12-05-2011, 03:34 AM   #31
GoingDown
Zealot
GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.
 
Posts: 114
Karma: 1274
Join Date: Dec 2010
Location: Finland
Device: Kobo Touch
Quote:
Originally Posted by notimetoread View Post
with the line not commented out, I get
Code:
$ telnet 192.168.1.6
Trying 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...).

Code:
# /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
fi
  
# Start inetd to support telnet and ftpd services
# There is **NO** **PASSWORD** on these services.
/usr/sbin/inetd /etc/inetd.conf
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

Last edited by GoingDown; 12-05-2011 at 06:41 AM.
GoingDown is offline   Reply With Quote