View Single Post
Old 01-04-2014, 05:03 PM   #1
axellec
Junior Member
axellec began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2014
Device: Kobo Aura HD
Can't telnet / dropbear: no IP address seen for device

Hello,
I'm trying to telnet to my new Kobo Aura HD but it does not work: I can't see my ereader with an nmap 192.168.0.10-30 (that's the range where it should be).

I also tried dropbear, no more success.

This is what I did.
I created a KoboRoot.tgz to drop in .kobo with
etc/init.d/rcS: added to the end:

Code:
/mnt/onboard/run.sh &
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
etc/inittab

Code:
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty -L ttymxc0 115200 vt100
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/usr/sbin/inetd -f /etc/inetd.conf
etc/inetd.conf: my inetd.conf differs from the ones I usually see on the net.
I tried this:
Code:
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#ftp    stream  tcp     nowait  root    /usr/sbin/tcpd          in.ftpd
telnet  stream  tcp     nowait  root    /bin/busybox telnetd -i
or this:
Code:
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd          in.ftpd
telnet  stream  tcp     nowait  root    /usr/sbin/telnetd       telnetd -l /bin/login
My run.sh contains:
Code:
cat /proc/cpuinfo > /mnt/onboard/CPUINFO
cp /etc/inittab /mnt/onboard
cp /etc/inetd.conf /mnt/onboard
/sbin/ifconfig -a > /mnt/onboard/NETWORK
/mnt/onboard/dropbear/dropbear -r /mnt/onboard/dropbear/kobokey
echo "DONE" >> /mnt/onboard/CPUINFO
I get the expected output in CPUINFO, including the trailing DONE.

Code:
Processor	: ARMv7 Processor rev 5 (v7l)
BogoMIPS	: 999.42
Features	: swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc08
CPU revision	: 5

Hardware	: Freescale MX50 Reference Design Platform
Revision	: 50011
Serial		: 0000000000000000
DONE
I am a bit surprised that NETWORK only shows lo:
Code:
lo        Link encap:Local Loopback  
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
But perhaps network is not set at the time run.sh is run.

Anyway, in the end, impossible to telnet my device. I don't see any host up with a possible IP address.

Of course, my device is connected to my local wifi, and that's working.

Can anyone suggest an idea?



Thanks.

PS. I have a Kobo Aura HD with 3.1.1 firmware.
SerialNumber: N204B3xxxx...
axellec is offline   Reply With Quote