02-01-2014, 04:08 PM | #1 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
EchoLink Proxy on Kindle?
Hello, all. I am trying to set up an EchoLink Proxy on my Kindle, which is a jar file. I thought this would be easy, since I knew that the Kindle was built on about half Java. However, it seems that the Kindle doesn't have the 'java' command. So will it be easy to make a Kindlet out of the attached jar file?
Note: The .jar file needs access to the .conf file. |
02-01-2014, 04:35 PM | #2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
Advert | |
|
02-01-2014, 07:48 PM | #3 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
I'm sorry if I'm being a noob, but I don't know how that answers my question.
|
02-01-2014, 07:53 PM | #4 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
02-01-2014, 08:15 PM | #5 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
|
Advert | |
|
02-01-2014, 09:19 PM | #6 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
02-01-2014, 09:24 PM | #7 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Code:
################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# cvm -h -sh: cvm: not found [root@kindle root]# |
02-01-2014, 09:29 PM | #8 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Never mind. I found it in /usr/java/bin.
|
02-01-2014, 09:34 PM | #9 |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Still not working right.
Code:
[root@kindle /]# /usr/java/bin/cvm --help Could not create JVM. [root@kindle /]# /usr/java/bin/cvm -help [root@kindle /]# /usr/java/bin/cvm -h Could not create JVM. [root@kindle /]# |
02-02-2014, 05:56 AM | #10 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yup, they dont make it easy huh.
It's been a while but... https://www.mobileread.com/forums/sho...84&postcount=8 I think is the cvm on the touch. |
02-02-2014, 07:44 AM | #11 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
https://www.mobileread.com/forums/sho...d.php?t=214488
do you need echolink? would a ssh tunnel work well instead? I've tunneled tons of encrypted traffic that way to my home pc, tons of examples on the net. Good luck! |
02-02-2014, 10:52 AM | #12 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Here's some background: The Kindles do indeed come with a JVM. In fact, (almost) the entire framework frontend is written in Java. So, when a Kindle runs, there is already a running JVM. Kindlets are then simply classes which are loaded at runtime, and which can "take over" the screen - using a predefined API, and normally with restricted functionality (but the latter part can be overcome with the Kindlet Jailbreak). I have not tried your jar file (in fact, I don't even know what echolink is), but you have two possibilities: 1. Figure out how to start a second JVM which runs your jar file. On a "real" computer, that would usually be "java -jar myapp.jar", but the Kindle cvm may need different parameters. You should be able to figure them out by looking at the output of "ps wwwaux|grep cvm". 2. Write a proper Kindlet which bundles your jar, and calls the respective functionality. That may be a lot trickier, especially for jars which rely on the console (System.in, System.out, etc) and/or which require unrestricted functionality (network I/O via Sockets etc). |
|
02-03-2014, 07:38 PM | #13 | |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Quote:
|
|
02-03-2014, 07:43 PM | #14 | |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Quote:
|
|
02-03-2014, 07:48 PM | #15 | |
|_| |3 Ǝ Ʀ G 3 3 |<
Posts: 21
Karma: 51632
Join Date: Jul 2012
Device: Kindle Touch
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch over Wi-Fi to a proxy connection | dogcalas | Kindle Developer's Corner | 9 | 03-03-2014 10:42 AM |
Kindle Keyboard Wi-Fi Proxy | Khepera93 | Amazon Kindle | 8 | 02-08-2013 06:56 PM |
Using calibre in a proxy. fetching metadata proxy authentication required | shiftymorgan | Calibre | 8 | 05-13-2011 03:45 AM |
K4 Mac or PC Using Kindle for PC with Proxy | evilK | Amazon Kindle | 21 | 07-28-2010 07:23 AM |
Proxy authentication problems (I have no proxy) | fogus | Calibre | 16 | 03-08-2009 01:27 PM |