Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-15-2010, 07:52 AM   #16
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 215
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
the keystore is not accepted by 3.0.3:
Code:
The device is not registered as a Test Kindle to run this title. Please ask the developer to add this device to the list of registered Test Kindles.
janvanmaar is offline   Reply With Quote
Old 12-17-2010, 12:46 AM   #17
troyme
Enthusiast
troyme began at the beginning.
 
Posts: 40
Karma: 34
Join Date: Aug 2010
Device: kindle dx US
It's working on DX us.
the default root passwd is fionad13.
Have fun!!
troyme is offline   Reply With Quote
Old 12-18-2010, 12:11 AM   #18
troyme
Enthusiast
troyme began at the beginning.
 
Posts: 40
Karma: 34
Join Date: Aug 2010
Device: kindle dx US
is it possible to change the console display font ??? because east asian charactar displayed odd with the default font.
troyme is offline   Reply With Quote
Old 12-31-2010, 05:34 PM   #19
cm0nster
Junior Member
cm0nster began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 - 3G
this does not work on a kindle 3 with firmware 3.0.3, because the key signing is not accepted.

Last edited by cm0nster; 01-01-2011 at 04:43 PM.
cm0nster is offline   Reply With Quote
Old 01-01-2011, 01:25 PM   #20
kdgarris
Connoisseur
kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.kdgarris is less competitive than you.
 
kdgarris's Avatar
 
Posts: 59
Karma: 14744
Join Date: Jan 2011
Location: Indianapolis, IN USA
Device: Kindle 3 wifi
Is this far enough along to play NetHack successfully on a public NetHack server? If anyone wants to try, nethack@nethack.fi password nethack is one. If this works, then a native port of NetHack on the device should be doable using this terminal for display. :-)
kdgarris is offline   Reply With Quote
Old 01-09-2011, 11:21 PM   #21
pyite
Junior Member
pyite began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: Kindle 3
Great job getting this going! I am able to ssh to localhost, but not to other hosts. However, from the localhost shell I have no problem shelling to other machines - other than the keyboard issues. For example, navigating the symbol popup moves the cursor, so it's impossible to type a password that has numbers in it.

How is the development coming along?
pyite is offline   Reply With Quote
Old 01-09-2011, 11:36 PM   #22
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Quote:
Originally Posted by pyite View Post
Great job getting this going! I am able to ssh to localhost, but not to other hosts. However, from the localhost shell I have no problem shelling to other machines - other than the keyboard issues. For example, navigating the symbol popup moves the cursor, so it's impossible to type a password that has numbers in it.

How is the development coming along?
You know you can type numbers with the alt key.

Alt Q = 1, Alt W = 2, Alt E = 3, and so on..

Of course, that only handles numbers, not other characters.
kranu is offline   Reply With Quote
Old 01-16-2011, 02:05 AM   #23
troyme
Enthusiast
troyme began at the beginning.
 
Posts: 40
Karma: 34
Join Date: Aug 2010
Device: kindle dx US
It seems that kindleTerm not work at the latest 2.5.7 firmware on kindle Dx us
troyme is offline   Reply With Quote
Old 01-27-2011, 03:37 AM   #24
vdp
Enthusiast
vdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watchvdp is clearly one to watch
 
Posts: 39
Karma: 10842
Join Date: Aug 2010
Device: Kindle DXG
Hi everyone,

sorry for not responding on this thread. The KindleTERM project was just a proof (or as it turned out in my case disproof) of concept. Basically I wanted to see if I can use the kindle's screen as a second display, that would potentially make easier to my eyes to study text-based documents(e.g. source code). Unfortunately it turned out (for me at least) to not be the case.
So I do not intend to maintain and evolve the code.
The source is available on github so if anyone knowledgeable in Java programming is interested you are wellcome to use the code as a starting point.
vdp is offline   Reply With Quote
Old 02-15-2011, 11:50 AM   #25
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,085
Karma: 2114647
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Thanks for generously offering your code. I took the chance and started working on it a bit. Well, to be honest, most of this work was stripping the sources down so I could take a look at how it works. But I thought that someone else might be interested in these stripped-down sources, or even the resulting Kindlet.

What I've changed:
- dropped the remote control interface for keyboard input
- dropped SSH support altogether
- enabled Telnet support
- dropped the interface for setting up hostname, user, password
- instead immediately do Telnet to localhost
- extended keyboard handling: combinations for symbols, mode switching

Short description of the keyboard handling: When holding down "Aa", pressing regular keys will produce symbols (see attached image for the corresponding K3 keymap). By pressing the middle button of the directional pad, you can toggle through modes, 1st is the symbol mode as if Aa was pressed, 2nd will send the following key with CTRL modifier, 3rd with ALT modifier, 4th with CTRL and ALT modifiers. Input modes are indicated in the title bar.

Rationale:
I just wanted a simple terminal and I did not fancy the native-code ones very much. SSHing to localhost did not make much sense when we can do telnet instead. SSHing to other hosts can be done from the command line.

You will (probably, in fact I did not really try...) need the changes to /opt/amazon/ebook/security/external.policy as indicated in the OP.

The .azw2 in the ZIP is signed with the keystore you can find in the ZIP and the source tarball. See my Sudoku kindlet post to learn how to combine keystores: http://www.mobileread.com/forums/sho...d.php?t=114691 (I used the same keystore there, BTW).

And, of course, you will need to have telnetd running on your kindle. That said, you will most probably want to just setup and enable USB networking support.

BTW, a vt320 terminal should be backwards compatible to vt100 and vt200.
For the future, I'm planning to compile GNU screen and have that running in the background to have re-attachable shell sessions.

Feel free to further hack on the code!

Last edited by HarryT; 10-08-2013 at 11:51 AM.
hawhill is offline   Reply With Quote
Old 02-16-2011, 04:11 PM   #26
dubaaron
Member
dubaaron began at the beginning.
 
dubaaron's Avatar
 
Posts: 13
Karma: 10
Join Date: Feb 2011
Location: Albuquerque, NM
Device: Kindle 3G
Thank you so much hawhill. This is awesome.

Upon first copying to the device, and then doing a dbus-send to refresh my home screen, it gave me the "the device is not registered as a Test Kindle to run this title ..." problem. But after a full restart, it let me into the app. (Maybe needed to refresh the keystore? Maybe a framework restart would have done this, but I haven't figured that out yet, though I know it's been documented in these forums).

However, now all I get is a blank screen (with titlebar displaying "KindleTerm") with a cursor and a "c" character at top left. I can move the cursor around, and type, but not much interactive seems to be going on.

I suspect maybe I don't have telnetd running?

I installed the usbNetwork hack and can ssh in, and I've also been using @lrizzo's fabulous "myts.arm" for a terminal as well ... I guess I assumed those would include telnetd. Maybe I'm wrong?

How do I start telnetd? Hmm doing a find on my kindle for telnetd comes up with no results ...

EDIT/UPDATE:
I applied the changes to the security policy file as noted in the original post (NB: need to "mntroot rw" first, and then "mntroot ro" when done), and now it seems to work.

Though for whatever reason it didn't draw the whole screen. I had to type in a few commands first and then magically the screen output appeared -- the "c" that I originally got is from the "Connecting ..." line at top.

So it seems telnetd must be running. Perhaps my find command syntax was off. I still do a "find . -name 'telnetd'" and nothing comes up. Hmm.

One thing that myts.arm does, which would be handy, is to have the keymap displayed heads-up on-screen while the terminal is invoked, to remember the keyboard shortcuts. Or at least optionally.

But hey, I'm not complaining.

This way I can get a terminal without first logging in remotely with ssh and starting the "myts.arm"

Muchas gracias, vielen dank.

Last edited by dubaaron; 02-16-2011 at 04:34 PM.
dubaaron is offline   Reply With Quote
Old 02-16-2011, 04:14 PM   #27
dubaaron
Member
dubaaron began at the beginning.
 
dubaaron's Avatar
 
Posts: 13
Karma: 10
Join Date: Feb 2011
Location: Albuquerque, NM
Device: Kindle 3G
Quote:
Originally Posted by janvanmaar View Post
the keystore is not accepted by 3.0.3:
Code:
The device is not registered as a Test Kindle to run this title. Please ask the developer to add this device to the list of registered Test Kindles.
Did you try a full restart? I got that error before I restarted. I'm using 3.0.2 though.
dubaaron is offline   Reply With Quote
Old 02-16-2011, 04:36 PM   #28
dubaaron
Member
dubaaron began at the beginning.
 
dubaaron's Avatar
 
Posts: 13
Karma: 10
Join Date: Feb 2011
Location: Albuquerque, NM
Device: Kindle 3G
Another difference between this and myts.arm is that if I go back to the Kindle UI, and then come back to the kindlet, it starts a new session. I lose my terminal session. Myts.arm is handy that you can switch it on and off.

Just observing aloud here.
dubaaron is offline   Reply With Quote
Old 02-16-2011, 04:47 PM   #29
dubaaron
Member
dubaaron began at the beginning.
 
dubaaron's Avatar
 
Posts: 13
Karma: 10
Join Date: Feb 2011
Location: Albuquerque, NM
Device: Kindle 3G
Please post us when you get "screen" compiled -- I found myself wanting that as soon as I got a shell on the kindle!!
dubaaron is offline   Reply With Quote
Old 02-17-2011, 04:52 PM   #30
PoP
why ≸ when =
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 476
Karma: 4068311
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Quote:
Originally Posted by dubaaron View Post
.[snip]...
However, now all I get is a blank screen (with titlebar displaying "KindleTerm") with a cursor and a "c" character at top left. I can move the cursor around, and type, but not much interactive seems to be going on.

I suspect maybe I don't have telnetd running?

I installed the usbNetwork hack and can ssh in, and I've also been using @lrizzo's fabulous "myts.arm" for a terminal as well ... I guess I assumed those would include telnetd. Maybe I'm wrong?

How do I start telnetd? Hmm doing a find on my kindle for telnetd comes up with no results ...

EDIT/UPDATE:
I applied the changes to the security policy file as noted in the original post (NB: need to "mntroot rw" first, and then "mntroot ro" when done), and now it seems to work.

Though for whatever reason it didn't draw the whole screen. I had to type in a few commands first and then magically the screen output appeared -- the "c" that I originally got is from the "Connecting ..." line at top.

So it seems telnetd must be running. Perhaps my find command syntax was off. I still do a "find . -name 'telnetd'" and nothing comes up. Hmm.
...[snip]
Well, I have the same symptoms. hawhil's KindleTerm cannot telnet to localhost on my Kindle because there is no telnetd process running though I have usbNetwork v0.30n up and alive. The Kindlet stays on "Connecting to 127.0.0.1".

I SSHed over the wifi interface and asked BusyBox :

Quote:
[root@kindle /]# busybox
BusyBox v1.7.2 (2010-10-10 13:35:11 PDT) multi-call binary
Copyright (C) 1998-2006 *Erik Andersen, Rob Landley, and others.
Licensed under GPLv2. *See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: [function] [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!

Currently defined functions:
[, [[, addgroup, adduser, adjtimex, ash, awk, basename, bunzip2, bzcat, cat, chgrp,
chmod, chown, chpasswd, chroot, clear, cmp, cp, crond, crontab, cut, date, dd,
delgroup, deluser, df, dirname, dmesg, du, echo, env, expr, false, fbset, fdisk,
fgrep, find, freeramdisk, getty, grep, gunzip, gzip, head, hexdump, hostname,
hwclock, id, ifconfig, ifdown, ifup, install, ip, kill, killall, klogd, less,
ln, logger, login, logname, losetup, ls, makedevs, md5sum, mkdir, mkfifo, mknod,
mktemp, more, mv, nc, netstat, nice, nslookup, passwd, pidof, ping, pipe_progress,
pivot_root, printf, pwd, rdate, readlink, realpath, renice, reset, rm, rmdir,
route, run-parts, sed, seq, sh, sleep, sort, start-stop-daemon, stat, strings,
stty, su, sync, tail, tar, tee, telnet, test, time, touch, tr, traceroute, true,
tty, udhcpc, uname, uniq, unzip, uptime, usleep, vi, wc, wget, which, who, whoami,
xargs, yes, zcat
...only the telnet client, no telnetd daemon.

Like yourself I have applied the security policies and myts.arm works fine. Also VDP's original KindleTerm can ssh to localhost.

All I can think is that the telnet daemon has been removed from this version of usbNetwork. But then you said your KindleTerm started to work at some point ... I wonder what triggered it?
PoP is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Kindle 3G as an ssh client - possible? how? chrisisbd Kindle Developer's Corner 6 01-02-2012 05:33 AM
Hacks Is there an ssh client for the Kindle ? ninsei Amazon Kindle 3 11-18-2011 08:55 PM
Android SSH Terminal (client) kenjennings enTourage Archive 1 03-04-2011 10:30 PM
iLiad SSH client for terminal access IvarC iRex Developer's Corner 2 02-06-2009 01:21 PM
iLiad how to use the iLiad as an ssh client? nagyv iRex Developer's Corner 1 05-30-2008 12:54 AM


All times are GMT -4. The time now is 12:10 PM.


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