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:
etc/inittab
etc/inetd.conf: my inetd.conf differs from the ones I usually see on the net. :blink:
I tried this:
or this:
My run.sh contains:
I get the expected output in CPUINFO, including the trailing DONE.
I am a bit surprised that NETWORK only shows lo:
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? :bulb2:
Thanks.
PS. I have a Kobo Aura HD with 3.1.1 firmware.
SerialNumber: N204B3xxxx...
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
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
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
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
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
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
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)
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? :bulb2:
Thanks.
PS. I have a Kobo Aura HD with 3.1.1 firmware.
SerialNumber: N204B3xxxx...