09-24-2009, 03:32 AM | #106 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
Thank you all !
Hi
Great stuff guys. Got my Kindle 2 to share my macbook connection ; allowing my to browse the Amazon store and access some neat features reserved to the lucky US resident otherwise. For those not willing to read the whole thread, here is how I did it, hoping it will be useful to others. Get the binary file to re-enable usb networking there: https://www.mobileread.com/forums/sho...1&postcount=14 Copied the file update_usbnetwork-k2.bin to the root of the Kindle mounted disk. Then: Home -> Menu -> Settings Menu -> Update your Kindle After the reboot, I edited the file usbnet/usbnetwork uncommenting the line: Code:
route add default gw ${HOST_IP} Eject the kindle, and unplug the USB cable. Put the Kindle in debug mode: Home. Type any letter on the keyboard to start the Search mode. Press DEL to blank the line. type: ;debugOn (you get the ; character in the SYM menu). Type any letter on the keyboard to start the Search mode. Press DEL to blank the line. type: `usbNetwork (you get the ` character in the SYM menu, 2nd last character on the 3rd line). Plug the USB cable. I'm on a Mac, using 10.6 (snow Leopard) The interface wasn't added automatically, so I went into the System Preferences -> Network I press the + button just above the lock Selected the Interface "RNDIS/Ethernet Gadget" , I named it "Kindle" I set the interface as follow: Configure IPv4: Manually IP Address: 192.168.2.1 Subnet mask: 255.255.255.0 Click Apply. Then I went in Network Preferences -> Sharing Configured the Internet Sharing To share my Airport connection to "RNDIS/Ethernet Gadget" (I had two listed there, for me the first one worked) Then I opened a Terminal (use in the Finder Command-Shift-U to get to the utility folder) telnet 192.168.2.2 I was welcomed by the friendly prompt: [root@kindle root]# Remount the root partition in read-write mode: # mntroot rw I configured the default DNS to use the OpenDNS servers: # vi /etc/resolv.d/resolv.conf.default Code:
nameserver 208.67.222.222 nameserver 208.67.220.220 # vi /opt/amazon/ebook/config/framework.mario.conf change the line: Code:
USE_WAN : true Code:
USE_WAN : false Code:
#!/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:
# chmod +x /etc/init.d/usbnet Code:
# ln -s /etc/init.d/usbnet /etc/rcS.d/S72usbnet Code:
# touch /mnt/us/usbnet/AUTO That's it... Now whenever I plug my Kindle to my mac, I enjoy all the internet goodness. Edit: To revert the changes and make the Kindle seen as a USB storage device once again do the following: telnet 192.168.2.2 Code:
rm /mnt/us/usbnet/AUTO To activate it again, simply create a file AUTO in the usbnet folder. The file system is case insensitive. So AUTO or auto for the name of the file doesn't matter. Then either reboot ; or enter debug mode (see above); and start `usbNetwork again Last edited by jyavenard; 09-25-2009 at 01:16 AM. Reason: Add how to unable/disabled following the installation |
09-24-2009, 11:50 AM | #107 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
jyavenard:
Thanks for organizing the concise writeup, it's very helpful. Once this has been done, what's involved in having the Kindle be visible as a USB device again? When I plug it in, it's no longer recognized. |
Advert | |
|
09-25-2009, 01:14 AM | #108 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
I've edited my previous post with instructions on how to disable the mode, and activate it again ...
|
09-25-2009, 01:00 PM | #109 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: Kindle
|
That's a great step-by-step for Mac users.
Would anyone that was successful in making it work under Windows Vista be willing to create a similar step-by-step? I'm still unable to get this to work. |
09-27-2009, 05:36 AM | #110 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
Vista/7 guide
Getting it to work under Vista is very similar to getting it to work on the mac... though a tad more complicated.
My machine (Windows 7 beta) didn't come with RNDIS driver. The easiest way to get those is installing the Windows Mobile drivers found here: http://www.microsoft.com/windowsmobi...-download.mspx (if using XP, download ActiveSync 4.5) For the Kindle. Get the binary file to re-enable usb networking there: https://www.mobileread.com/forums/sho...1&postcount=14 Copied the file update_usbnetwork-k2.bin to the root of the Kindle mounted disk. Then: Home -> Menu -> Settings Menu -> Update your Kindle After the reboot, I edited the file usbnet/usbnetwork uncommenting the line: Code:
route add default gw ${HOST_IP} Eject the kindle, and unplug the USB cable. Put the Kindle in debug mode: Home. Type any letter on the keyboard to start the Search mode. Press DEL to blank the line. type: ;debugOn (you get the ; character in the SYM menu). Type any letter on the keyboard to start the Search mode. Press DEL to blank the line. type: `usbNetwork (you get the ` character in the SYM menu, 2nd last character on the 3rd line). Plug the USB cable. Let Windows install the drivers for the newly found peripheral. On my machine, the new ethernet connection was created as "Local Area Connection 3" and shows up as "DIRECTV HDPC20". YMMV Go into Start -> Control Panel -> Network & Sharing Center. Click on "Change Adapter Settings" Do a right click on your main network adapter, click on the "Sharing" tab Check the "Allow other network users to connect through this computer's Internet Connection" Click "OK" You will get prompted that the adapter interface will be changed to "192.168.0.1". That's okay, confirm. Now go and edit the other network adapter "DIRECTV HDPC20" (or whatever it's called on your machine) Click on the "Internet Protocol Version 4" and "Properties" change the IP address from 192.168.0.1 to 192.168.2.1 , subnet mask 255.255.255.0. Validate with OK. --- Open a command line (windows + R, cmd) (Note Telnet isn't activated by default in Vista / Windows 7, go into the Control Panel and select "Programs and Features", click "Turn Windows Features on or Off" and check "Telnet Client"). Another alternative is HyperTerminal from Hilgraeve... telnet 192.168.2.2 [root@kindle root]# Remount the root partition in read-write mode: # mntroot rw I configured the default DNS to use the OpenDNS servers: # vi /etc/resolv.d/resolv.conf.default Code:
nameserver 208.67.222.222 nameserver 208.67.220.220 # vi /opt/amazon/ebook/config/framework.mario.conf change the line: Code:
USE_WAN : true Code:
USE_WAN : false Code:
#!/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:
# chmod +x /etc/init.d/usbnet Code:
# ln -s /etc/init.d/usbnet /etc/rcS.d/S72usbnet Code:
# touch /mnt/us/usbnet/AUTO That's it... To revert the changes and make the Kindle seen as a USB storage device once again do the following: telnet 192.168.2.2 Code:
rm /mnt/us/usbnet/AUTO To activate it again, simply create a file AUTO in the usbnet folder. The file system is case insensitive. So AUTO or auto for the name of the file doesn't matter. Then either reboot ; or enter debug mode (see above); and start `usbNetwork again That's it |
Advert | |
|
10-03-2009, 09:59 AM | #111 | |
Enthusiast
Posts: 25
Karma: 16
Join Date: Jul 2009
Device: Kindle DX
|
Quote:
please forgive my lacking knowledge of using the terminal. But this command doesn't work for me. Do I need to leave vi mode or stay in vi mode when executing this command?. Or create the file with the code and execute it? By simply copy/paste the complete code lines no file is created. Thanks -noah |
|
10-03-2009, 01:46 PM | #112 |
Enthusiast
Posts: 25
Karma: 16
Join Date: Jul 2009
Device: Kindle DX
|
Do I need to be registered for this hack to work
Hi,
My kindle is unregistered (I'm in Europe.) I tried to register, but get a message "can't connect at this time". So won't I be able to browse the store etc now? -Noah |
10-05-2009, 11:56 PM | #113 | |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
Quote:
One is to create the file on your PC (make sure you use LF line-ending, and not Windows CR/LF one). Copy it at the root of the Kindle via USB Then activate the networking mode, telnet to the device and do : cp /mnt/us/usbnet /etc/init.d/usbnet Make it executable with: chmod +x /etc/init.d/usbnet Another possibility, is telnet to the device type: cat > /etc/init.d/usbnet then paste the whole content Press Ctrl-D twice to close the file chmod +x /etc/init.d/usbnet etc... Ideally, the easiest would be for the author of the update_usbnetwork.bin file to have that file directly into the archive... I'll see if I can update the file myself later today and automatically create all those files.. Would be much easier that way |
|
10-06-2009, 08:27 AM | #114 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
New version, a bit easier to set up...
Hi
Was easier than I thought to create the image. So here is a new version, much easier to setup. No need to edit any files on the device now. To install: ----- Copy update_usbnetwork-k2.bin (for Kindle K2) or update_usbnetwork-dx.bin (for Kindle DX) to the root of the Kindle drive. Menu -> Settings Menu -> Update your Kindle Warning: Do not reboot, if you do, you'll need to put the Kindle in recovery mode as explained here : http://blogkindle.com/2009/03/kindle-2-recovery-mode/ ------ To enable USB tethering, two possibilities. 1- Create a file AUTO on the Kindle drive in the usbnet directory. Reboot the device (Menu -> Settings then Menu -> Reboot) 2- using ;DebugOn ; `usbNetwork. Unplug/Replug USB device Once either of those option is done, telnet to the device (default IP is 192.168.2.2) then type: # /mnt/us/usbnet/bin/usbnet-enable This command will set the DNS ot use OpenDNS, disable WAN access for browsing the Amazon Store You'll need to reboot to be able to use the Kindle Store... ----- To disable USB tethering, and revert to USB disk mode. telnet to the device # rm /mnt/us/usbnet/AUTO # reboot ----- To re-enable 3G access while keeping USB tethering: telnet to the device # /mnt/us/usbnet/bin/usbnet-disable # reboot ----- To re-enable 3G access and restore USB disk mode: telnet to the device # /mnt/us/usbnet/bin/usbnet-disable # rm /mnt/us/usbnet/AUTO # reboot that's it.... |
10-06-2009, 12:01 PM | #115 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Nice, thanks for the update.
G |
10-07-2009, 06:03 AM | #116 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
Great, a new Kindle working outside the US is available.
Just in time so I can return mine now ! Well, at least that was fun... |
10-15-2009, 07:46 AM | #117 |
A Jane of All Trades
Posts: 18
Karma: 8438
Join Date: Dec 2008
Location: Okinawa, Japan
Device: Kindle Touch
|
|
10-15-2009, 09:28 AM | #118 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2009
Device: Kindle 2
|
Has anyone had any luck with RNDIS for XP? I've loaded ActiveSunc 4.5 but it still will not load the drivers so that I can telnet into my Kindle2.
The annoying part is that now my K2 can't do usbnetwork or disk ( I'm assuming I could reset to factory defaults to fix this but I'm more hoping there is a fix to be able to telnet into the K2 so I can just remove the file to allow disk access again. Don |
10-15-2009, 02:15 PM | #119 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2009
Device: Kindle 2
|
I got it to work on XP.
I ended up using the description from here: http://embedded.seattle.intel-resear...ting_up_USBnet To do the "Install RNDIS Driver" section and the .inf file they linked to worked like a champ. Don |
10-16-2009, 12:51 AM | #120 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: Kindle
|
Still not available in Canada, and who knows if/when it ever will be, so this is still important information.
|
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 |