|
|
#1 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 20652
Join Date: Mar 2013
Location: Bellingham, WA
Device: Kindle 4 NT
|
Kindle Wifi on Raspberry Pi
I have a Kindle 4 NT that I've successfully Jailbroken and installed USBNet on. I've managed to set it up as a screen (terminal only) for my Raspberry Pi using the KindleTERM SSH Client and some custom routing. My current idea is to use the Kindle's wifi connection as internet for my Raspberry Pi as well (basically the opposite of http://wiki.mobileread.com/wiki/Inte...Kindle_via_USB). This will let me use one of the Pi's usb ports for a screen/wifi and the other usb port for my keyboard. I've been playing around with iptables and routing but can't figure it out. What I think the solution should be is to use something like the command Code:
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.15.0/24 I've also attempted to use ssh tunneling to gain internet access through the kindle, but I've had no success with that either. Does anyone have any ideas or places they can direct me for more information? Thanks! Cameron |
|
|
|
|
|
#2 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
umm yeah...
you would need someone to have recently build custom modules for such a purpose. the default ones don't do the business... http://bitbucket.org/twobob/kual-system/src you should find them in there... knc1 and I have been working towards such a goal. knc1 would know more about the actual implementation. but there are the tools. HTH
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 20652
Join Date: Mar 2013
Location: Bellingham, WA
Device: Kindle 4 NT
|
Wow, that's pretty impressive.
I'm guessing that the ipt_MASQUERADE file here is what I need, but will I be able to make that work with the existing linux kernel on my Kindle currently? I really don't know how if it's possible, but I figure info on compiling linux kindle modules will be available online. |
|
|
|
|
|
#4 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
yeah. those are built for EVERY kindle that kual supports. yours included.
do a uname -a to determine which tranche you need. and read the notes on loading the 10mb bundle (That contains them ALL, for ALL kindles in under 10mb in a cramfs) I added a script in there somewhere for plebs like me to make it easy... its in the a README somewhere. EDIT: oh right I see it.. Quote:
Honestly.. if there is a module missing? I will be very surprised. There is a kitchenSink.ko in there somewhere (okay not really, in-joke) EDIT: if they ARE missing LET US KNOW HERE honestly though. give it a cruise buddy. should be in there. You'll just have to deal with making the folders by hand for now - all runs from FAT
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 03-20-2013 at 07:54 PM. |
|
|
|
|
|
|
#5 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Code:
#!/bin/sh mount -t cramfs /mnt/us/extensions/system/modules.cfs /mnt/us/extensions/system/lib/modules
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#6 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Wait... PRETTY impressive? I think you meant mind-bogglingly impressive
![]() HEHEHEHE
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#7 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 380902
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.2.1)
|
|
|
|
|
|
|
#8 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
lol. thanks man. I was just teasing
![]() for a guy who knew next-to-f-all about linux, arm, X, scripting, makefiles, and well basically everything 9 months ago. I reckon I am doing okay. Hey. My signature says it all. No one will learn this stuff for you. Just gotta make it happen . I did try my best to get some kernel level support today for your clock port. No joy so far... All I really hope is that with gtk being a reality on all devices now and all the other possibilities that exist that didn't as little as 6 months ago that MORE DEVELOPERS will take the time to throw even just ONE project into the mix. Each one allows me to learn that little bit more.. and hopefully through that give a little bit more back each time. Here's hoping. Thanks for the pep talk. It's gets pretty lonely.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#9 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 20652
Join Date: Mar 2013
Location: Bellingham, WA
Device: Kindle 4 NT
|
Thank's a lot twobob, I'll give that a go in a few days. I'm heading home for the first part of my spring break, so I won't have time to mess around, but I'll try to get things working and will keep this thread informed about my progress.
|
|
|
|
|
|
#10 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,136
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
cool man.
knc1 might be back around by then. He actually built all the networking bits for much the same reason you wanted them (although I think he wanted... err.. something that allowed it to stop requesting info once it had determined it couldn't rather than stupidly sitting there and insisting it should keep trying for a minute) The bbb thread IIRC.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#11 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,114
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
First - install KUAL Second - install the KUAL firewall (with the only iptables infrastructure that we support) Third - as twobob said - locate and copy the cramfs kernel module addition, mount it Fourth - decide which interface will be your outgoing port to the world (there is a dedicated iptable chain for each). Fifth - add the appropriately modified version of your proposed rule to the appropriate outgoing chain. Sixth - write a KUAL button for those operations. Seventh - pay your dues by submitting that KUAL button for others to use. PS: The information on everything KUAL is being collected here: http://wiki.knetconnect.com/twiki/bi...uttons/WebHome Although far from complete, it represents a pretty good start right now. PS2: The site does have more than just a button list: http://wiki.knetconnect.com/twiki/bi.../TWiki/SiteMap PS3: There is an associated site that handles the usual 'support forum' and other feedback on things KUAL related here: http://kual.knetconnect.com/
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan Last edited by knc1; 03-22-2013 at 08:44 AM. |
|
|
|
|
![]() |
| Tags |
| kindle 4 nt, raspberry pi, wifi tether |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre and raspberry pi | ottischwenk | Related Tools | 5 | 04-19-2013 08:02 PM |
| Calibre on Raspberry Pi | ottischwenk | Related Tools | 8 | 03-01-2013 09:43 PM |
| KindleBerry Pi, raspberry pi with a kindle screen! | damaru | Kindle Developer's Corner | 39 | 01-20-2013 10:59 PM |
| SOME K3 HACK - Using a Raspberry Pi as your travel computer | peter12345 | Kindle Developer's Corner | 1 | 09-12-2012 04:10 AM |
| Mystery and Crime Wells, Carolyn: Raspberry Jam, v1, 12 March 2010. | Patricia | IMP Books | 0 | 03-11-2010 11:40 PM |