Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2016, 01:08 PM   #1
KristianR
Member
KristianR began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Feb 2016
Device: none
Too many instances of inetd

Hi there,

I gained telent access to my Kobo Glo HD as described here in several places using a preconfigured KoboRoot.tgz with the following contents:
rcS2
Code:
#!/bin/sh
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts
/bin/busybox inetd
inetd.conf
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

21 stream tcp nowait root /bin/busybox ftpd -w -S
23 stream tcp nowait root /bin/busybox telnetd -l /bin/login -i
inittab
Code:
# This is run first except when booting in single-user mode.
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty -L ttymxc0 115200 vt100
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::restart:/sbin/init

::sysinit:/etc/init.d/rcS2
::respawn:/bin/busybox inetd
Everything seems to be working fine at first but after a while the Kobo crashes. What I noticed is that if I call
Code:
ps
there are a lot of inetd-processes showing. Repeatedly calling
Code:
free
I can see how free memory decreases while the number of inetd-processes rises.
As a workaround calling
Code:
pkill -f inetd
removes these processes without any obvious negative effect. But I don't like this "solution".

Does anyone else have this phenomenon of increasing number of inetd-processes?
Does anyone have a solution to avoid this problem? Are the above files correct for the Kobo Glo HD or is there something different for the Glo HD?

Kind regards
KristianR
KristianR is offline   Reply With Quote
Old 03-30-2016, 02:43 PM   #2
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
I am using the KoboRoot.tgz provided by KevinShort since years without noticing any problem. Its contents differs a little from yours. You can find it here.
tshering is offline   Reply With Quote
Advert
Old 03-30-2016, 05:23 PM   #3
KristianR
Member
KristianR began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Feb 2016
Device: none
Hi tshering,

thanks a lot for your hint. With this patch everything works fine.

Kind regards
KristianR
KristianR is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare two instances of calibre snoopyeab Library Management 9 03-10-2015 05:03 AM
add two pdf instances for one book deva1984 Library Management 2 07-14-2013 04:06 AM
Two or multiple instances of Calibre on one computer clockmaker Library Management 2 06-30-2012 01:55 PM
Two instances of Calibre Ortep Calibre 4 03-25-2011 06:10 PM
Peculiar instances of georestrictions AprilHare General Discussions 9 10-12-2010 12:06 AM


All times are GMT -4. The time now is 01:18 AM.


MobileRead.com is a privately owned, operated and funded community.