|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,265
Karma: 3130684
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1
|
utelnetd - yet another remote shell application
Instead of using the Inkview application that @reader42 provided for controlling the daemon, I used a couple of shell scripts instead (utelnetd_start.app and utelnetd_stop.app). I did this because they are smaller, platform-independent, and, most importantly, run in the background. Thus, you can do other stuff on the device while logged in via telnet (which makes it nice for debugging). Within the Applications tab, click on utelnetd_start to start the server in the background and connect to the net, and click on utelnetd_stop to disconnect from the net and kill the server. While the server is running, you can telnet to the device via port 10000: Code:
telnet <IP-address> 10000 You can change the port number by editting the applications/utelnetd_start.app script. If you want to put bash somewhere else than /mnt/ext1/system/bin, then you need to rebuild utelnetd for that. Get the sources from: http://sourceforge.net/apps/mediawik...for_PocketBook. I've also uploaded the updated Makefile I used to build utelnetd. You need to change the Makefile if you want to put bash somewhere other than /mnt/ext1/system/bin/. Thanks @reader42 Edit: I should point out that when you exit the telnet session on the PC, the terminal seems to hang until the server is killed on the device. I don't know how to fix that, so please pipe up anyone that does. Last edited by rkomar; 06-30-2012 at 09:10 PM. |
|
|
|
|
|
#2 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Oct 2012
Location: Germany
Device: Pro612
|
Thank you very much you guys (reader42, rkomar) - it works great!
If I had the find command available for my Pro612 now too, it would be totally awesome. ![]() Greetings Max |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,265
Karma: 3130684
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1
|
Actually, most of the utility programs in the Debian Lenny armel distribution are compatible with the recent PocketBook devices. You can pretty much copy them to the device and use them in the terminal. Some of the more complex programs may not have all of the libraries available on the device, but even in those cases you can copy the libraries over and play with LD_LIBRARY_PATH to run them. I know that find works, because that was one of the first programs I copied over myself.
|
|
|
|
|
|
#4 |
|
Member
![]() Posts: 21
Karma: 10
Join Date: Oct 2012
Location: Germany
Device: Pro612
|
You are absolutely right - thanks again
![]() You just made my day.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| remote shell access on 90x,60x | review | PocketBook | 8 | 04-19-2012 12:15 PM |
| Application remote debugging | X19 | Kindle Developer's Corner | 11 | 12-29-2011 03:46 AM |
| Application update: application not installed error | Merischino | Kindle Fire | 4 | 12-01-2011 10:30 PM |
| Remote shell auf 60x/90x | wongdong | PocketBook | 7 | 01-12-2011 12:25 PM |
| Accessories Remote | Kumabjorn | Amazon Kindle | 20 | 07-19-2010 04:30 PM |