06-25-2009, 03:36 PM | #31 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
How I try to perform the update
I downloaded the .tar.gz file, unpacked it using 7-zip, attached the Kindle DX via USB, copied the update_usbnetwork.bin to the root folder of the Kindle.
Resetting is a bit difficult if the Kindle hasn't been registered, I can't use the option that is apparently available in Menu > Settings The ALT + SHIFT + R option doesn't work either on my DX, it just brings up the search box. Sooo, I just hold the slider for 15 seconds so the DX reboots. It then says it is going to perform an update and not to switch of the device. After a couple of seconds I get a message that the update failed and I get an error code and the advise to press the R 4 button. After completing the reboot the .bin file has been deleted. ---- I also tried it with an edited usbnetwork like suggested in the other reply and used kindle_update_tool.py to rebuild the .bin No luck either with that, exact same results. Last edited by PiAir; 06-25-2009 at 03:38 PM. |
06-25-2009, 03:54 PM | #32 | |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
No log, but I've got pictures
Quote:
This is what I see after the reset: http://www.flickr.com/photos/piair/3660962546/ and then I get this message: http://www.flickr.com/photos/piair/3660155751/ |
|
Advert | |
|
06-25-2009, 05:28 PM | #33 | |
Provocateur
Posts: 1,859
Karma: 505847
Join Date: Feb 2009
Location: Columbus, OH
Device: Kindle Touch, Kindle 2, Kindle DX, iPhone 3GS
|
Quote:
Second, it's possible that the sleep update doesn't work the same as the Update Your Firmware, but I doubt it. EVEN THOUGH YOUR KINDLE IS NOT REGISTERED, you can still update from the Settings screen. After you copy the .bin file, go to Menu, settings, and then hit Menu AGAIN and you should have the option available. |
|
06-25-2009, 07:17 PM | #34 |
Apeist
Posts: 2,126
Karma: 381090
Join Date: Oct 2008
Location: The sunny part of California
Device: Generic virtual reality story-experiential device
|
|
06-25-2009, 10:06 PM | #35 | |
Zealot
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
|
Quote:
If you don't see usbnetwork_install.log in the root of user partition, then no update was even attempted. As sirbruce said, try performing update from "Settings" menu - this is how I do it. Here are MD5 hashes for the correct files: Code:
25491031ec1dc3ee87c598a2a2ae7140 update_usbnetwork-k2.bin f21f74b1b4b38da4eba2365dbf143c41 update_usbnetwork.bin |
|
Advert | |
|
06-26-2009, 01:06 AM | #36 | |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
That was a great tip!
Quote:
Not only is it much faster than using the power switch it also is an indication of corrupts .bin files. When I re-downloaded it and copied the unmodified one on, it recognised it and enabled the "Update Your Kindle" option. And then it worked without errors/problems. http://www.flickr.com/photos/piair/3662091622/ When I tried it with the bin that I had been using, it didn't show that option. I can now connect to the Kindle using telnet (since I don't know what good I can do there, I'll probably better stay away from that though) Just forgot what a PIA setting up network sharing in XP is, so no test yet as far as going online with it. Still, thanks for the help with this first part! |
|
06-27-2009, 03:18 AM | #37 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
I apologize for asking all these n00b questions here, but I'm very new to Linux and the Mac and even though that would probably make it wiser not to mess with my Kindle in this way, I just can't/couldn't resist.
Here is what I've got: * I installed the .bin to restore usbNetwork on my DX * I enable usbNetwork using `usbNetwork and `usbQa * I connected the Kindle to my DX, set the IP for the new interface to 192.168.2.1 (I left the default settings in usbNetwork), all the other boxes are empty * I enabled internet sharing for the new interface through the Airport connection of the Macbook * I opened up a terminal window and used 'ssh root@192.168.2.2' with password 'fiona' to connect to my DX from the Macbook. * from this SSH session I can ping the Macbook from the Kindle DX using 'ping 192.168.2.1' but if I try to reach any of the other IP's on my local network (which is in the 192.168.1 range) or any IP outside my local network I get a 'Network is unreachable' error. Of course that also means that the browser on the DX is unable to reach any Any suggestions on where to look for why that happens, or is there something obvious that I should do to make that routing work? Thanks! |
06-27-2009, 04:34 AM | #38 |
Zealot
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
|
You need to add default gateway (my script even have it already, but commented out).
|
06-27-2009, 08:32 AM | #39 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
Ah, yes, that helped.
And after putting "nameserver DNS_IP" combinations in /etc/resolv.conf it also resolved domain names. Other thing I did was set USE_WAN in "/opt/amazon/ebook/config/framework.mario.conf" to false. Because my Kindle DX wasn't registered yet, it didn't have /var/local/java/prefs/reginfo yet From this site I inderstood that the structure is like this: Code:
<text> <user_device_name>Kindle Name</user_device_name> <name>username@mail.com</name> <alias>Kindle mail without the @kindle.com part</alias> </text> name = my Amazon username alias = the kindle mail address without the @kindle.com part After creating that file the Kindle DX shows the Kindle name and the Settings and Device Information page shows the info. Still, it looks as if the info in reginfo as shown here isn't complete. When trying to buy a book it still says that it isn't registered yet. Even though the info matches the info for the Kindle as shown on http://www.amazon.com/manageyourkindle Could someone with a properly registered Kindle have a look at the /var/local/java/prefs/reginfo to see if there is any info missing here? One thing that I find strange is that I haven't added my password anywhere nor am I asked for my password when the Kindle tries to buy/register/deregister. |
06-27-2009, 11:29 AM | #40 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
Just in case it helps: I've capture a log using Wireshark while I used the Menu > "Sync & Check for Items".
Apparently there is some problem with the certificate that the Kindle receives from Amazon? No. Time Source Destination Protocol Info 12 8.985401 192.168.2.2 207.171.166.113 TLSv1 Alert (Level: Fatal, Description: Certificate Unknown) Could it be that the Kindle receives this certificate from Amazon when it registers? And if so, is there another way to get this on the Kindle? |
06-27-2009, 02:24 PM | #41 | |
Zealot
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
|
Quote:
Code:
<?xml version="1.0" encoding="UTF-8"?> <response> <user_device_name>My Kindle</user_device_name> <global_device_name>NOT_USED</global_device_name> <given_name>My_First_Name</given_name> <name>My_Full_Name</name> <alias>Nick</alias> </response> |
|
06-27-2009, 02:38 PM | #42 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2009
Location: Netherlands
Device: Kindle DX and BeBook
|
Thanks for checking and posting. It indeed doesn't make any difference.
It still throws the certificate error that I posted in the log. |
06-29-2009, 08:18 AM | #43 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2009
Device: Kindle 2 DX and Kindle 2
|
I got the script to work, and I am able to SSH to my Kindle DX. I can telnet, FTP, SSH and a lot of other things. But somewhere inside the Kindle my request for port 80 is getting stopped.
I tried to register my kindle but it just tells me that it can't connect. My wireshark does get anything... I live in europe and I would like to se how the newspapers look. |
07-04-2009, 04:32 AM | #44 |
Zealot
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
|
usbnetworking auto start
If you are seriously playing with internal Kindle software (e.g. mucking with java stuff), I recommend making usbnetworking "auto-startable". Otherwise, if you corrupt something in framework, you'd need serial console for recovery.
Add this simple script to /etc/init.d: Code:
[root@kindle init.d]# cat /etc/init.d/usbnet #!/bin/sh _FUNCTIONS=/etc/rc.d/functions [ -f ${_FUNCTIONS} ] && . ${_FUNCTIONS} US_ENABLE=/mnt/us/usbnet/AUTO case "$1" in start) if [ -f ${US_ENABLE} ]; then /mnt/us/usbnet/usbnetwork else msg "not usbnet" I fi ;; stop) ;; *) msg "Usage: $0 {start|stop}" W >&2 exit 1 ;; esac exit 0 Code:
[root@kindle rcS.d]# ls -al /etc/rcS.d/*usbnet lrwxrwxrwx 1 root root 16 Jan 2 1970 /etc/rcS.d/S72usbnet -> ../init.d/usbnet Last edited by ebs; 07-04-2009 at 02:22 PM. |
07-04-2009, 09:31 PM | #45 |
Member
Posts: 18
Karma: 10
Join Date: Jul 2009
Device: Kindle DX
|
Great, ebs!
do you have any progress in the web browsing over USB? Alex. |
Tags |
kindle usb network |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USB Networking on Mac OS? | DairyKnight | Kindle Developer's Corner | 19 | 07-02-2012 04:19 PM |
Hacks Kindle 3 USB Networking | n10 | Amazon Kindle | 2 | 10-11-2010 09:29 PM |
Firmware Update USB networking for 2.5? | dd_engi | Amazon Kindle | 9 | 05-09-2010 06:45 AM |
Is there any way to remove USB networking hack? | aghazi | Kindle Developer's Corner | 4 | 11-27-2009 07:35 PM |