View Single Post
Old 12-14-2012, 08:04 AM   #1
sysKin
Connoisseur
sysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the endsysKin knows the complete value of PI to the end
 
sysKin's Avatar
 
Posts: 56
Karma: 31830
Join Date: Oct 2012
Location: Australia
Device: Aura HD, after a train ate my Glo
I can't make Telnet work, halp~

Hi,
I'm trying to add Telnet access to my Glo, but for some reason it doesn't work. inetd starts, ftp server works perfectly, but telnet just closes connection immediately after trying to connect.

This is what I've done:
.kobo/koboplugins.ini
Code:
Telnet On=Plugin::executeSystemCmd("/bin/sh /mnt/onboard/.kobo/telnet.sh")
Using the 14/11/2012 version of kobo plugin (great stuff, thanks!) to make this button work.

.kobo/telnet.sh
Code:
#!/bin/sh
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
/usr/sbin/inetd /mnt/onboard/.kobo/inetd.conf
.kobo/inetd.conf
Code:
21 stream tcp nowait root /bin/busybox ftpd -w -S  /
23 stream tcp nowait root /bin/busybox telnetd -i
So, what can possibly make ftp work but not telnet? What's the best way to debug this?

Thanks ~
sysKin is offline   Reply With Quote