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 03-21-2018, 05:01 AM   #1
rainymood
Junior Member
rainymood began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: Kindle 4
Trying to get my Kindle 4 working as a second screen on Mac OSX

Hi all.

First of all I want to thank all the useful contributors for their work so far. However, I still have been unable to get (the relatively old) programs to work.

I'm using a Kindle 4 and am working from Mac OSX Yosemite 10.10.5.

I'm basically following this link: https://www.raspberrypi.org/forums/v...ic.php?t=62139

What I've done so far:

* Jailbroke my kindle

* Installed KUAL

* Installed USBnetwork (although I am unsure how to use it)

* Installed KindleVCN viewer

Everything worked fine so far up to this point, but when I try to continue the steps I get the following error

Code:
$ sudo ifconfig usb0 192.168.15.2
Password: 
ifconfig: interface usb0 does not exist
It seems like the kindle doesn't get recognized? I found this little CLI command to show my USB devices and I don't see the kindle anywhere.

Code:
$ ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'
XHCI Root Hub SS Simulation
Card Reader
XHCI Root Hub USB 2.0 Simulation
BRCM20702 Hub
Bluetooth USB Host Controller
Apple Internal Keyboard / Trackpad
RNDIS/Ethernet Gadget
rainymood is offline   Reply With Quote
Old 03-21-2018, 08:27 AM   #2
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,170
Karma: 17256900
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
So why don't you get your help from:
https://www.raspberrypi.org/forums/v...ic.php?t=62139

We don't have enough active members here to support our own stuff, you shouldn't expect us to support every site that has posted derivatives of our projects.

= = = =

* Installed USBnetwork (although I am unsure how to use it)

Which is obvious from the command results that you have posted, that is the (next) part of what you are doing you need to learn about.
It will not work until you get past that speed bump.

Last edited by knc1; 03-21-2018 at 08:35 AM.
knc1 is offline   Reply With Quote
Advert
Old 03-21-2018, 10:09 AM   #3
rainymood
Junior Member
rainymood began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: Kindle 4
Well first of all, I want to apologize. I did not expect this kind of response. Sorry for anything I might've said to offend you.

That being out of the way, you guys seemed like a helpful bunch of hackers willing to help another one out. So I figured that maybe if I could get it working on my Mac OSX that it might help future generations of people who are also trying to get the same thing done.
rainymood is offline   Reply With Quote
Old 03-21-2018, 11:52 AM   #4
j.p.s
Wizard
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 1,441
Karma: 24331392
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by rainymood View Post
Well first of all, I want to apologize. I did not expect this kind of response. Sorry for anything I might've said to offend you.

That being out of the way, you guys seemed like a helpful bunch of hackers willing to help another one out. So I figured that maybe if I could get it working on my Mac OSX that it might help future generations of people who are also trying to get the same thing done.
I think this sub-forum used to be like that. Maybe it will be again someday.

But you should know that the raspberry pi runs linux and OSX is based on BSD. Both are unix like, but many of their commands are different, especially the networking commands.

You need to get usb networking help from OSX experts.

Once you have usb networking setup on your mac, your kindle might work.

If you don't have a raspberry pi, you can get one for $25. You could use that to find out whether you need help with the kindle.
j.p.s is online now   Reply With Quote
Old 03-21-2018, 12:37 PM   #5
lucasmpr
Enthusiast
lucasmpr began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Jul 2017
Device: Kindle
RNDIS/Ethernet Gadget

Is the one you're looking for ]

You can also activate SSH over wifi on Kual > USBNetwork
lucasmpr is offline   Reply With Quote
Advert
Old 03-23-2018, 02:19 AM   #6
rainymood
Junior Member
rainymood began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: Kindle 4
Quote:
Originally Posted by lucasmpr View Post
RNDIS/Ethernet Gadget

Is the one you're looking for ]

You can also activate SSH over wifi on Kual > USBNetwork
OK. Thank you.

I tried to follow this guy's advice:

http://aming-blog.blogspot.nl/2010/0...tethering.html

But that didn't work. Then I followed this guy's advice:

https://www.mobileread.com/forums/sh...d.php?t=201572

which seems to be working.

Code:
--- 192.168.15.244 ping statistics ---
8 packets transmitted, 8 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.582/0.867/1.688/0.326 ms
~> ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244): 56 data bytes
64 bytes from 192.168.15.244: icmp_seq=0 ttl=64 time=0.731 ms
64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=0.863 ms
64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.825 ms
^C
--- 192.168.15.244 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.731/0.806/0.863/0.055 ms
~> ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244): 56 data bytes
64 bytes from 192.168.15.244: icmp_seq=0 ttl=64 time=1.665 ms
64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=0.943 ms
64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.745 ms
64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.800 ms
64 bytes from 192.168.15.244: icmp_seq=4 ttl=64 time=0.711 ms
64 bytes from 192.168.15.244: icmp_seq=5 ttl=64 time=0.760 ms
^C
--- 192.168.15.244 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.711/0.937/1.665/0.334 ms
~> ssh root@192.168.15.244
The authenticity of host '192.168.15.244 (192.168.15.244)' can't be established.
RSA key fingerprint is *****************************
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.15.244' (RSA) to the list of known hosts.


Welcome to Kindle!

root@192.168.15.244's password:
#################################################
#  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]#
It seem's like I've SSH'd into the Kindle, cheers! All I have to do now is to get the KindleVNC to work ... back on it!

edit:

When I did not have the kindle plugged in:

Code:
~> ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
--- 192.168.15.244 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
When I plugged in the kindle again:

Code:
~> ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244): 56 data bytes
64 bytes from 192.168.15.244: icmp_seq=0 ttl=64 time=1.656 ms
64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=0.727 ms
64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.836 ms
64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.731 ms
--- 192.168.15.244 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.727/0.987/1.656/0.388 ms
So I tried to SSH into it:

Code:
~> sudo ssh root@192.168.15.244
zsh: correct 'ssh' to '.ssh' [nyae]? n


Welcome to Kindle!

root@192.168.15.244's password:
#################################################
#  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]#
I went to System preferences -> Sharing -> Screen Sharing and enabled screen sharing (this is the built-in VNC right?)
Code:
Other users can access your computer's screen at vnc://192.168.1.125/ or by looking for “John's MacBook Pro” in the Finder sidebar.
However, when I now try to connect to 192.168.1.125 nothing happens, really.

Code:
[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh 192.168.1.125 &
[root@kindle root]# 23/03/2018 06:49:26 VNC server supports protocol version 3.889 (viewer 3.8)
23/03/2018 06:49:26 We have 4 security types to read
23/03/2018 06:49:26 0) Received security type 30
23/03/2018 06:49:26 Selecting security type 30 (0/4 in the list)
23/03/2018 06:49:26 1) Received security type 31
23/03/2018 06:49:26 2) Received security type 32
23/03/2018 06:49:26 3) Received security type 35
23/03/2018 06:49:26 Selected Security Scheme 30
23/03/2018 06:49:26 GCrypt support was not compiled in
edit:

Hmmmm, interesting. When my kindle is unlocked and plugged in and I try to mount the kvncviewer my screen *does refresh* but then nothing happens. It does refresh, so that MUST mean something is happening behind the scenes.

edit:

So I just downloaded a VNCviewer for my Mac and that seems to work fine. In other words, I can enter the VNC session with my own screen at 192.168.1.125. I guess that this implies that the VNCviewer on my kindle is broken or doesn't work.

So, should I leave the kindle unlocked or locked? How do I boot up the vncviewer?

Last edited by rainymood; 03-23-2018 at 03:11 AM.
rainymood is offline   Reply With Quote
Old 03-23-2018, 02:29 PM   #7
lucasmpr
Enthusiast
lucasmpr began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Jul 2017
Device: Kindle
Try to ping 192.168.1.125 from the kindle and report back

Normally, it is on another subnet
lucasmpr 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
Calibre 2.82 ebook editor not working - MAC OSX gefluegelt Editor 9 04-07-2017 02:17 AM
mac osx open assign ebook viewer to epub files mac osx asllearner Devices 4 09-13-2013 04:17 AM
Sigil on Mac OSX 10.5.8 europas_ice Sigil 6 05-08-2013 08:21 PM
How to use iLiad with Mac OsX? jasem200 iRex 6 08-17-2008 10:48 AM
Mac OSX vs Windows XP Alexander Turcic Lounge 5 06-05-2003 01:30 PM


All times are GMT -4. The time now is 10:52 AM.


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